[gmx-users] Dividing an MD run

Justin Lemkul jalemkul at vt.edu
Fri Mar 4 00:17:13 CET 2016



On 3/3/16 6:13 PM, Guillem Prats Ejarque wrote:
> So, If I have an mdrun running now, but I didn't set in this run an -cpo flag, I cannot continue from the last point of this run?
>

Checkpoint files are written at the interval specified by -cpt.  Unless you've 
set that to 0 (or -1, I can't remember) then mdrun will write them 
automatically.  You should see that happen within a few minutes (whatever the 
value of -cpt is set to, 15 by default).

-Justin

>
> On 3/3/16 5:23 PM, Guillem Prats Ejarque wrote:
>> Hi,
>>
>>
>> I have to do a production MD in an HPC cluster and due to the company's policy I have to resubmit the job in the queue everyday. This is probably a stupid question, but, to resubmit it starting from the point where I left it, do I only have to run the MD again with the output files of the previous one, like this?
>>
>>
>> grompp -f remd.mdp -c md.gro -t md.cpt -p topol.top -n index.ndx -o remd.tpr
>>
>> mdrun ....
>>
>>
>> or should I take into account anything else? Will I obtain the same results if I do the dynamic in a single run, or in several steps?
>>
>>
>
> Once you've created the .tpr file, all you need to do is add -cpi -append to
> your mdrun command to load from the last checkpoint.  Nothing more to it.  You
> can also use -maxh to ensure a clean exit when you hit the wallclock limit.  The
> continuation from the checkpoint is exact.
>
> -Justin
>
> --
> ==================================================
>
> Justin A. Lemkul, Ph.D.
> Ruth L. Kirschstein NRSA Postdoctoral Fellow
>
> Department of Pharmaceutical Sciences
> School of Pharmacy
> Health Sciences Facility II, Room 629
> University of Maryland, Baltimore
> 20 Penn St.
> Baltimore, MD 21201
>
> jalemkul at outerbanks.umaryland.edu | (410) 706-7441
> http://mackerell.umaryland.edu/~jalemkul
>
> ==================================================
>
>
> ------------------------------
>
> --
> Gromacs Users mailing list
>
> * Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before posting!
>
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
>
> * For (un)subscribe requests visit
> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or send a mail to gmx-users-request at gromacs.org.
>
> End of gromacs.org_gmx-users Digest, Vol 143, Issue 20
> ******************************************************
>

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

Justin A. Lemkul, Ph.D.
Ruth L. Kirschstein NRSA Postdoctoral Fellow

Department of Pharmaceutical Sciences
School of Pharmacy
Health Sciences Facility II, Room 629
University of Maryland, Baltimore
20 Penn St.
Baltimore, MD 21201

jalemkul at outerbanks.umaryland.edu | (410) 706-7441
http://mackerell.umaryland.edu/~jalemkul

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


More information about the gromacs.org_gmx-users mailing list