Feature #3283

Support for the string method with swarms of trajectories in GROMACS

Added by Oliver Fleetwood about 1 year ago. Updated 11 months ago.

Target version:


As discussed with the GROMACS developers, we should make sure that we can easily implement enhanced sampling/ensemble methods on top of GROMACS. This feature request specifically outlines what is needed to run the string method with swarms of trajectories. The method will work as a showcase of path sampling and ensemble methods with GROMACS in general.

This feature request is based on the following design document:, also attached below.

In practice we need to do the following:
  • Make sure the colvars package works with GROMACS for this purpose. We need to be able to restrain a system to some collective variable. Optionally we can use pull code for this.
  • Assert that the python api can start and load trajectories as intended and wait for the simulations to finish.
Nice to haves:
  • Reset the random seed in simulations starting from the same tpr file (currently only supported with the '-multi' option).
  • Don't output the first frame for many replicas starting from the same initial coordinates. In practice this would reduce the total size of xtc files by 50 %.


Feature #3285: Run simulations from the same tpr file with different random seedsResolved
Task #3356: Expose setting of random seed to APINew
Feature #3286: Optionally skip initial coordinates from being written to output coordinatesRejected


#2 Updated by Christian Blau 12 months ago

Just contacted the colvars authores again on what they need within gromacs and pointed to this redmine.

Created to address colvars specifically.

#3 Updated by Erik Lindahl 11 months ago

  • Status changed from New to Resolved

I think this is effectively a duplicate feature of the work on colvar support, so I'll resolve this entry for now to avoid having a ton of related requests.

Also available in: Atom PDF