LAMMPS Installation¶
We suggest to install it from source files.
Download the latest stable version from https://lammps.sandia.gov/tars/lammps-stable.tar.gz
Extract tar file by
tar xvf lammps-stable.tar.gz
. This will create a folder named:lammps-29Oct20
(The date may change depending of the updates in the website). Renamelammps-29Oct20
folder tolammps
.Before keep going it is necessary to solve some dependencies: build-essential (to compile in C), MPIch (to work in parallel) , FFTW ( to compute long-range interactions), libxaw7 (to compute the movies). In one line code you choose
sudo apt-get install build-essential libxaw7-dev
Then, go to the extract folder, and execute following commands. For provided example in FabMD,
MOLECULE
,KSPACE
, andRIGID
packages should be installed too.~$ cd lammps ~/lammps$ cd src/STUBS ~/lammps/src/STUBS$ make clean ~/lammps/src/STUBS$ make ~/lammps/src/STUBS$ cd .. ~/lammps/src$ make clean-all ~/lammps/src$ make yes-molecule ~/lammps/src$ make yes-kspace ~/lammps/src$ make yes-rigid ~/lammps/src$ make serial
Note
If the installation part worked correctly, you should be able to find lmp_serial
executable file inside lammps/src folder
.
Modify
machines_FabMD_user.yml
to make thelammps_exec
variable point to the location of the LAMMPS executable. e.g.... localhost: lammps_exec: "/home/hamid/lammps/src/lmp_serial" ... ...
NAMD Installation¶
We suggest to follow installation instructions from the NAMD website.
After installing NAMD, modify
machines_FabMD_user.yml
to make thenamd_exec
variable point to the location of the NAMD executable... localhost: namd_exec: "/home/hamid/opt/path/to/namd/sources/namd2" ... ...
GROMACS Installation¶
We suggest to use automate installer (source).
Download the auto-installer script from https://bioinformaticsreview.com/repository/gromacs-installer.sh
make installer executable
chmod +x gromacs-installer.sh
Start Installer. This will create
gromacs
folder where you execute this auto-installer script../gromacs-installer.sh
FabMD Installation¶
Before run LAMMPS test data set, you should install FabMD which provides functionality to extend FabSim3’s workflow and remote submission capabilities to LAMMPS specific tasks.
To install FabSim3 tool, please follow the installation from https://fabsim3.readthedocs.io/en/latest/installation.html
To install FabMD plugin, simple type:
fabsim localhost install_plugin:FabMD