Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

...

Versionmodule namenotes
2020.4gromacs/2020.4
2020.4gromacs/2020.4-plumedwith plumed support
2021.4gromacs/2021.4

2021.4gromacs/2021.4-plumed
with plumed support
2021.4gromacs/2021.4-cuda-11.6.0
gpu enabled
2021.4gromacs/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


Code Block
languagebash
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
languagebash
titlemdrun usage

...

collapsetrue
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?

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

...

Image Added