GROMACS

GROMACS

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

Version

module name

notes

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

  1. intel/2021.3.0

  2. mvapich2/2.3.4 OR mpich/3.3.2

  3. For Plumed support

    1. plumed/2.7.3

  4. For GPU version

    1. cuda/11.6.0



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

mdrun usage
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