Zum Ende der Metadaten springen
Zum Anfang der Metadaten

Sie zeigen eine alte Version dieser Seite an. Zeigen Sie die aktuelle Version an.

Unterschiede anzeigen Seitenhistorie anzeigen

« Vorherige Version anzeigen Version 8 Nächste Version anzeigen »

A versatile package to perform molecular dynamics, i.e. simulate the Newtonian equations of motion for systems with hundreds to millions of particles.

Description

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

Read more on the GROMACS home page.

For a manual consult the the GROMACS home page.

Modules

VersionInstallation Pathmodulefilecompilercomment
2018.4/sw/chem/gromacs/2018.4/skl/impigromacs/2018.4intelmpi
2018.4/sw/chem/gromacs/2018.4/skl/impi-plumedgromacs/2018.4-plumedintelmpiwith plumed
2019.6/sw/chem/gromacs/2019.6/skl/impigromacs/2019.6intelmpi
2019.6/sw/chem/gromacs/2019.6/skl/impi-plumedgromacs/2019.6-plumedintelmpiwith plumed

Usage

Load the necessary modulefiles. Note that Intel MPI module file should be loaded first

module load impi/2019.5 gromacs/2019.6

This provides access to the binary gmx_mpi wich can be used to run simulations with sub-commands as gmx_mpi mdrun

In order to run simulations MPI runner should be used: 

mpirun gmx_mpi mdrun MDRUNARGUMENTS

Job Script Examples

  1. A simple case of a GROMACS job using a total of 640 CPU cores for 12 hours. The requested amount of cores in the example does not include all available cores on the allocated nodes. The job will execute 92 ranks on 3 nodes + 91 ranks on 4 nodes. You can use this example if you know the exact amount of required ranks you want to use.

    #!/bin/bash
    #SBATCH -t 12:00:00
    #SBATCH -p standard96
    #SBATCH -n 640
    
    export SLURM_CPU_BIND=none
    
    module load impi/2019.5
    module load gromacs/2019.6
    
    mpirun gmx_mpi mdrun MDRUNARGUMENTS
  2. In case you want to use all cores on the allocated nodes, there are another options of the batch system to request the amount of nodes and number of tasks. The example below will result in running 672 ranks. 

    #!/bin/bash
    #SBATCH -t 12:00:00
    #SBATCH -p standard96
    #SBATCH -N 7
    #SBATCH --tasks-per-node 96
    
    export SLURM_CPU_BIND=none
    
    module load impi/2019.5
    module load gromacs/2019.6
    
    mpirun gmx_mpi mdrun MDRUNARGUMENTS
  • Keine Stichwörter