<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=Big5" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    On 21/11/2010 10:58 PM, Hsin-Lin Chiang wrote:
    <blockquote cite="mid:20101121114650.M64434@phys.sinica.edu.tw"
      type="cite">
      <meta content="text/html; charset=Big5" http-equiv="Content-Type">
      <meta content="OPENWEBMAIL" name="GENERATOR">
      <pre>Hi,



Today I use serach and find this topic.

I got confused.



<a class="moz-txt-link-freetext" href="http://www.gromacs.org/Documentation/How-tos/Extending_Simulations">http://www.gromacs.org/Documentation/How-tos/Extending_Simulations</a>

According the page of "extending simulation", in GROMACS ver.4, the commend is: 



tpbconv -s previous.tpr -extend timetoextendby -o next.tpr
</pre>
    </blockquote>
    <br>
    So you've created a new .tpr with a longer simulation time (but
    which incidentally has the state of the previous .tpr)...<br>
    <br>
    <blockquote cite="mid:20101121114650.M64434@phys.sinica.edu.tw"
      type="cite">
      <pre>mdrun -s next.tpr -cpi previous.cpt
</pre>
    </blockquote>
    <br>
    ... and told mdrun to use that longer time, and the current state in
    the checkpoint file. This will work, so long as you are not
    attempting to change the thermodynamic ensemble, or similar.<br>
    <br>
    Mark<br>
    <br>
    <blockquote cite="mid:20101121114650.M64434@phys.sinica.edu.tw"
      type="cite">
      <pre>

I use this two lines to continue my simulation and get success.

But now I'm much worried my data is wrong since I didn't use -e edr and -t trr as in the first line above.

The way that tpbconv should -e -t files is written in the part ver. 3.3.3 and before.

My GROMACS version is 4.0.5.

Am I right to use lines above to do extending simulation? 



Hsin-Lin



&gt; 

&gt; 

&gt; ----- Original Message -----

&gt; From: Yongchul Chung <a class="moz-txt-link-rfc2396E" href="mailto:yxc...@case.edu">&lt;yxc...@case.edu&gt;</a>

&gt; Date: Thursday, November 4, 2010 10:28

&gt; Subject: [gmx-users] extending simulation without cpt file

&gt; To: Discussion list for GROMACS users <a class="moz-txt-link-rfc2396E" href="mailto:gmx-users@gromacs.org">&lt;gmx-users@gromacs.org&gt;</a>

&gt; 

&gt; &gt; Hello gmxers,

&gt; &gt; 

&gt; &gt; I am using GROMACS 4.0.3. I have original trr, edr, log and tpr file but 

&gt; &gt; erased cpt file. However, I need to extend the simulation from the end of 

&gt; &gt; the trajectory file. I know this will not be binary identical as stated 

&gt; &gt; here (<a moz-do-not-send="true" href="http://www.gromacs.org/Documentation/How-tos/Extending_Simulations" rel="nofollow">http://www.gromacs.org/Documentation/How-tos/Extending_Simulations</a>). 

&gt; &gt; I used following commands.

&gt;  &gt; 

&gt; &gt; tpbconv -s topol.tpr -extend 102000 -o topolnew.tpr

&gt; &gt; mdrun -s topolnew.tpr

&gt; &gt; 

&gt; &gt; When I do this and run the simulation, for some reason, the simulation 

&gt; &gt; starts from t=0 instead of t=102000. it seems like gromacs is writing the 

&gt; &gt; file without recognizing it that it should start the trajectory from 102000 

&gt; &gt; ps. Is this a known bug? If so, is there a way around to solve this problem?

&gt; 

&gt; You've extended the run time of the original simulation, and forced it to 

&gt; start from the state in the new .tpr, but that state came from the original 

&gt; .tpr. By contrast, mdrun -s -cpi replaces the .tpr state with that of the 

&gt; checkpoint.

&gt; 

&gt; Your best chance of continuing will come from reconstructing the .mdp 

&gt; suitably (use gmxcheck to compare resulting .tpr files) and using grompp to 

&gt; create a .tpr using the most recent endpoint permitted by your .trr + .edr.



 Actually, Justin's right. tpbconv needs -e -t files. It's been so long since I 

 used it, I'd forgotten :-)

 

 Mark





</pre>
    </blockquote>
    <br>
  </body>
</html>