<HTML>
<HEAD>
<META content="text/html; charset=big5" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>


<pre>Hi,
<br />
<br />Today I use serach and find this topic.
<br />I got confused.
<br />
<br />http://www.gromacs.org/Documentation/How-tos/Extending_Simulations
<br />According the page of &quot;extending simulation&quot;, in GROMACS ver.4, the commend is: 
<br />
<br />tpbconv -s previous.tpr -extend timetoextendby -o next.tpr
<br />mdrun -s next.tpr -cpi previous.cpt
<br />
<br />I use this two lines to continue my simulation and get success.
<br />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.
<br />The way that tpbconv should -e -t files is written in the part ver. 3.3.3 and before.
<br />My GROMACS version is 4.0.5.
<br />Am I right to use lines above to do extending simulation? 
<br />
<br />Hsin-Lin
<br />
<br />&gt; 
<br />&gt; 
<br />&gt; ----- Original Message -----
<br />&gt; From: Yongchul Chung &lt;yxc...@case.edu&gt;
<br />&gt; Date: Thursday, November 4, 2010 10:28
<br />&gt; Subject: [gmx-users] extending simulation without cpt file
<br />&gt; To: Discussion list for GROMACS users &lt;gmx-users@gromacs.org&gt;
<br />&gt; 
<br />&gt; &gt; Hello gmxers,
<br />&gt; &gt; 
<br />&gt; &gt; I am using GROMACS 4.0.3. I have original trr, edr, log and tpr file but 
<br />&gt; &gt; erased cpt file. However, I need to extend the simulation from the end of 
<br />&gt; &gt; the trajectory file. I know this will not be binary identical as stated 
<br />&gt; &gt; here (<a href="http://www.gromacs.org/Documentation/How-tos/Extending_Simulations" rel="nofollow">http://www.gromacs.org/Documentation/How-tos/Extending_Simulations</a>). 
<br />&gt; &gt; I used following commands.
<br />&gt;  &gt; 
<br />&gt; &gt; tpbconv -s topol.tpr -extend 102000 -o topolnew.tpr
<br />&gt; &gt; mdrun -s topolnew.tpr
<br />&gt; &gt; 
<br />&gt; &gt; When I do this and run the simulation, for some reason, the simulation 
<br />&gt; &gt; starts from t=0 instead of t=102000. it seems like gromacs is writing the 
<br />&gt; &gt; file without recognizing it that it should start the trajectory from 102000 
<br />&gt; &gt; ps. Is this a known bug? If so, is there a way around to solve this problem?
<br />&gt; 
<br />&gt; You've extended the run time of the original simulation, and forced it to 
<br />&gt; start from the state in the new .tpr, but that state came from the original 
<br />&gt; .tpr. By contrast, mdrun -s -cpi replaces the .tpr state with that of the 
<br />&gt; checkpoint.
<br />&gt; 
<br />&gt; Your best chance of continuing will come from reconstructing the .mdp 
<br />&gt; suitably (use gmxcheck to compare resulting .tpr files) and using grompp to 
<br />&gt; create a .tpr using the most recent endpoint permitted by your .trr + .edr.
<br />
<br /> Actually, Justin's right. tpbconv needs -e -t files. It's been so long since I 
<br /> used it, I'd forgotten :-)
<br /> 
<br /> Mark
<br />
<br />
<br /></pre>

</BODY>
</HTML>