[gmx-users] Script for looping n simulations

Justin Lemkul jalemkul at vt.edu
Sat Feb 15 18:04:19 CET 2020



On 2/15/20 11:44 AM, Neena Susan Eappen wrote:
> Hello gromacs users,
>
> I was wondering how to write a script to repeat a simulation (equilibration and production) n times, with each cycle starting with structure from the end of previous cycle.

It's the same logic as in 
http://www.mdtutorials.com/gmx/membrane_protein/Files/run_inflategro.sh 
- note that the script is more complicated than what you need; you just 
need to iterate over grompp and mdrun using a counter that reflects the 
current and previous simulation index.

-Justin

-- 
==================================================

Justin A. Lemkul, Ph.D.
Assistant Professor
Office: 301 Fralin Hall
Lab: 303 Engel Hall

Virginia Tech Department of Biochemistry
340 West Campus Dr.
Blacksburg, VA 24061

jalemkul at vt.edu | (540) 231-3129
http://www.thelemkullab.com

==================================================



More information about the gromacs.org_gmx-users mailing list