Page tree

Versions Compared


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

This documentation is meant to provide a non-exhaustive collection of guides, tutorials, and other dissemination material for beginners. Gromacs is available to download under the GNU license ( installation instructions are available at 

Table of Contents


Gromacs is a fast and versatile open-source molecular dynamics simulations package. The software is one of the most widely implemented tools for modeling the dynamics of biomolecules at an atomic scale. Gromacs supports the implementation of an array of force fields (AMBER/CHARMM/OPLS/GROMOS) where each force field has its individual advantage based on the type of system. 

A brief introduction to Molecular Dynamics simulations (Lecture from BioExcel-2 Summer School 2020) 



MD Simulation Analysis 

There are many sources introducing a different combination of Gromacs tools for trajectory analysis targeting an array of atomistic properties.  


  • md.log - a log file of simulation run with few key details 
  • traj.xtc - trajectory file for analysis and visualization 
  • traj.trr - trajectory with velocities (for restrating runs) 
  • confout.gro - structure of the system at final time point 
  • ener.edr - energy file 
  • state.cpt - checkpoint file with thermostat/barostat 

Trajectory visualization 

Since Gromacs models the dynamics in a periodic box the system coordinates might be spread across the box in the "xtc" and "trr" files. This will make the visualization very messy but can be fixed quickly with a combination of Gromacs commands: 


load confout.gro, system

load_traj traj-mol-vis.xtc, system 

Dissemination material 




  • Good introductory books are: * A. Leach (2001) Molecular Modeling: Principles and Applications. * T. Schlick (2002) Molecular Modeling and Simulation 
  • With programming background: * D. Rapaport (1996) The Art of Molecular Dynamics Simulation * D. Frenkel, B. Smith (2001) Understanding Molecular Simulation 
  • More from the physicist’s view: * M. Allen, D. Tildesley (1989) Computer simulation of liquids * H.J.C. Berendsen (2007) Simulating the Physical World: Hierarchical Modeling from Quantum Mechanics to Fluid Dynamics 



Using Gromacs on Suhari cluster

After login, load Gromacs and OpenMPI: