Installation: Difference between revisions
No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
This procedure is tested on Ubuntu 20.04 LTS but other compatible distributions should work as well. First, install the following system packages: | This procedure is tested on Ubuntu 20.04 LTS but other compatible distributions should work as well. First, install the following system packages: | ||
<pre> | <pre> | ||
$ sudo apt-get install git cmake gcc g++ gfortran openmpi-bin | $ sudo apt-get install git cmake gcc g++ gfortran libblas-dev liblapack-dev openmpi-bin | ||
</pre> | </pre> | ||
Line 30: | Line 30: | ||
$ ./build-utils/00.init-links.sh | $ ./build-utils/00.init-links.sh | ||
$ ./01.pull-code.sh | $ ./01.pull-code.sh | ||
$ cmake -DCMAKE_INSTALL_PREFIX=/ | $ cmake -DCMAKE_INSTALL_PREFIX=$HOME/bin/sander-pmf/single . | ||
$ make | $ make | ||
$ make install | $ make install | ||
Line 46: | Line 46: | ||
$ export CXX=mpic++ | $ export CXX=mpic++ | ||
$ export FC=mpif90 | $ export FC=mpif90 | ||
$ cmake -DCMAKE_INSTALL_PREFIX=/ | $ cmake -DCMAKE_INSTALL_PREFIX=$HOME/bin/sander-pmf/para . | ||
$ make | $ make | ||
$ make install | $ make install | ||
</pre> | </pre> |
Latest revision as of 13:22, 25 July 2021
Navigation: Documentation / Installation
The PMFLib code is written in Fortran and C/C++ and is split into several git repositories hosted on GitHub. PMFLib itself contains a limited molecular dynamics engine, which requires external application providing potential energy and its gradient. Therefore, this engine is only suitable for testing. For production MD simulations, it is necessary to employ PMFLib integrated into another MD engine. Currently, sander and pmemd from AMBER are supported.
PMFLib
- pmflib - pmflib main library and utilities
- pmflib-build - infrastructure for building of PMFLib
sander-pmf
- sander-pmf - sander with PMFLib
- sander-pmf-build - infrastructure for building of sander-pmf
pmemd-pmf
The pmemd is not open source code, thus upon a request, we provide patches for connection with PMFLib.
Installation of the reference MD code (sander.PMF)
Pre-requisities
This procedure is tested on Ubuntu 20.04 LTS but other compatible distributions should work as well. First, install the following system packages:
$ sudo apt-get install git cmake gcc g++ gfortran libblas-dev liblapack-dev openmpi-bin
Compile and Install Sequential Version
This procedure will compile and install a sequential version of sander.PMF and PMFLib utilities into the $HOME/bin/sander-pmf/single directory.
$ mkdir -p $HOME/bin/sander-pmf/single $ git clone --recursive https://github.com/kulhanek/sander-pmf-build.git sander-pmf-single $ cd sander-pmf-single $ ./build-utils/00.init-links.sh $ ./01.pull-code.sh $ cmake -DCMAKE_INSTALL_PREFIX=$HOME/bin/sander-pmf/single . $ make $ make install
Compile and Install Parallel Version
This procedure will compile and install a parallel version of sander.PMF and sequential version of PMFLib utilities into the $HOME/bin/sander-pmf/para directory.
$ mkdir -p $HOME/bin/sander-pmf/para $ git clone --recursive https://github.com/kulhanek/sander-pmf-build.git sander-pmf-para $ cd sander-pmf-para $ ./build-utils/00.init-links.sh $ ./01.pull-code.sh $ export CC=mpicc $ export CXX=mpic++ $ export FC=mpif90 $ cmake -DCMAKE_INSTALL_PREFIX=$HOME/bin/sander-pmf/para . $ make $ make install