GROMACS is a versatile package to perform molecular dynamics, i.e. simulate the Newtonian equations of motion for systems with hundreds to millions of particles.
It is primarily designed for biochemical molecules like proteins, lipids and nucleic acids that have a lot of complicated bonded interactions, but since GROMACS is extremely fast at calculating the nonbonded interactions (that usually dominate simulations) many groups are also using it for research on non-biological systems, e.g. polymers.
Usage
Add module: module load gromacs/5.1.2
...
Version | module name | notes |
---|---|---|
2020.4 | gromacs/2020.4 | |
2020.4 | gromacs/2020.4-plumed | with plumed support |
2021.4 | gromacs/2021.4 | |
2021.4 | gromacs/2021.4-plumed | with plumed support |
2021.4 | gromacs/2021.4-cuda-11.6.0 | gpu enabled |
2021.4 | gromacs/2021.4-plumed-cuda-11.6.0 | gpu enabled with plumed support |
Required modules
- intel/2021.3.0
- mvapich2/2.3.4 OR mpich/3.3.2
- For Plumed support
- plumed/2.7.3
- For GPU version
- cuda/11.6.0
Code Block | ||
---|---|---|
| ||
srun $(which gmx_mpi) (gromacs programs) |
Benchmarks (on im1080 partition) indicated that best performance for mdrun is obtained using 4 OpenMP threads per MPI process. The usage for mdrun should be modified as follows
Code Block | ||||
---|---|---|---|---|
|
...
| |||
export OMP_NUM_THREADS=4 |
...
srun --ntasks-per-node=6 $(which gmx_mpi) mdrun (mdrun options) -ntomp 4 |
Benchmarks
Which version of Gromacs should I use?
Links
See http://manual.gromacs.org/programs/byname.html for a list of gromacs programs and how to run the programs
Absolute path to gromacs (gmx_mpi) executable: /share/Apps/gromacs/5.1.2/intel-16.0.3-mvapich2-2.1/bin/gmx_mpi
Benchmarks
...