<div>Hi Sampo, </div>
<div>&nbsp;</div>
<div>I don&#39;t know if this is obvious to you but when you start a simulation from a energy-minimized configuration you should use</div>
<div>&nbsp;</div>
<div><em>grompp -t minimization.trr -c minimization_out.gro</em> (here you will use a full-precision configuration)</div>
<div>&nbsp;</div>
<div>and not only</div>
<div>&nbsp;</div>
<div><em>grompp -c minimization_out.gro</em>&nbsp; (in contrast, here you will have a configuration with rounding errors)<br>&nbsp;</div>
<div>It seems that&nbsp;your system is far from trivial and has to be very well energy-minimized before starting an MD run.</div>
<div>&nbsp;</div>
<div>Regards,</div>
<div>&nbsp;</div>
<div>Pedro.&nbsp;<br>&nbsp;</div>
<div><span class="gmail_quote">2007/3/22, Mark Abraham &lt;<a href="mailto:Mark.Abraham@anu.edu.au">Mark.Abraham@anu.edu.au</a>&gt;:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Sampo Karkola wrote:<br>&gt; Dear list,<br><br>Thanks for the good problem description!<br><br>&gt; I am trying to simulate a crystal structure of a protein with a cofactor
<br>&gt; (NADP, I&#39;ve used NDPP topology) and a (self-made) ligand in a box of<br>&gt; water. The preparation of the simulation went normally: pdb2gmx,<br>&gt; editconf, genbox, grompp (for ions), genion, grompp (for em) mdrun (em),
<br>&gt; grompp (for md), mdrun (md). Now, in the md simulation, the potential<br>&gt; and total energies of the system rise immediately from the beginning,<br>&gt; stabilize to a certain level and later the run crashed with LINCS
<br>&gt; warnings. Earlier I have succesfully simulated a model of an another<br>&gt; enzyme with similar procedure and in that run the potential energy<br>&gt; decreased immediately and stabilized with no crashes. I tried to
<br>&gt; simulate the protein alone, the cofactor alone and the ligand alone and<br>&gt; the energies rise in all cases.<br>&gt;<br>&gt; Luckily, I had an older simulation (with gromacs 3.2.1, now I&#39;m using<br>&gt; 3.3.1
) with the same ligand (except one atom type is changed from NR in<br>&gt; the old topology to N in new topology) alone and there the energies<br>&gt; decreased as they should. To study the differences in the ligand-alone
<br>&gt; simulations, I performed an mdrun with the old tpr file (mdrun -s<br>&gt; old.tpr -o new_run -c new_run...) and the energies decreased again, as<br>&gt; they should. Next, I grompped a new tpr-file from the old gro, top and
<br>&gt; mdp files, got a new tpr file and simulated it resulting in decreasing<br>&gt; energies again. But when I try to do the whole process from the<br>&gt; beginning using the same pdb file as in the older run something goes
<br>&gt; differently and the mdrun produces rising energies. The energy<br>&gt; minimisation with the new run takes over 3000 steps while the old run<br>&gt; was minimised in 34 steps. I&#39;ve checked that the gro and top files
<br>&gt; between the old (working) and the new (non-working) runs are identical.<br><br>So far everything looks good to me.<br><br>&gt; The only differences I find are in the tpr files of the energy<br>&gt; minimisation and md simulation and they look like this (compared with
<br>&gt; diff):<br><br>gmxcheck -s1 old.tpr -s2 new.tpr is the recommended way to check for<br>this sort of thing.<br><br>&gt; 22983c22983<br>&gt; &lt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; atom[&nbsp;&nbsp;&nbsp;&nbsp; 4]={type=&nbsp;&nbsp;2, typeB=&nbsp;&nbsp;2, ptype=&nbsp;&nbsp;&nbsp;&nbsp;Atom, m=<br>
&gt; 1.40067e+01, q= 4.80000e-02, mB= 1.40067e+01, qB= 4.80000e-02, resnr=<br>&gt;&nbsp;&nbsp;0} grpnrs=[ 0 0 0 0 0 0 0<br>&gt;&nbsp;&nbsp;0 0 0 ]}<br>&gt; ---<br>&gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; atom[&nbsp;&nbsp;&nbsp;&nbsp; 4]={type=&nbsp;&nbsp;1, typeB=&nbsp;&nbsp;1, ptype=&nbsp;&nbsp;&nbsp;&nbsp;Atom, m=<br>
&gt; 1.40067e+01, q= 4.80000e-02, mB= 1.40067e+01, qB= 4.80000e-02, resnr=<br>&gt;&nbsp;&nbsp;0} grpnrs=[ 0 0 0 0 0 0 0<br>&gt;&nbsp;&nbsp;0 0 0 ]}<br>&gt; 22985c22985<br>&gt; plus a lot of these atom definitions.<br><br>These seem strange to me - the &quot;type&quot; values in the above arrays should
<br>be indices into an atomtype array earlier in the .tpr file, but if the<br>above values are right, and the two atoms 4 should correspond, then the<br>atomtype array should also be different... but diff is not reporting
<br>this, and I do not understand why. Does gmxcheck differ? (Recall that<br>this is not the fourth atom, since numbering starts at zero).<br><br>&gt; plus a lot more coordination, velocity, atom type and interaction<br>&gt; definitions.
<br><br>Evidently, since the starting configuration is embedded in the .tpr and<br>the endpoint of the previous minimization was different.<br><br>&gt; I have no dihedral restraints applied and those sc_power, dihre-fc and
<br>&gt; scalepower definitions are different even in the old, working simulation<br>&gt; and in the one which was grompped again and producing correct results<br>&gt; with decreasing energies.<br>&gt;<br>&gt; So the problem is that the old gro, top and mdp files give correct
<br>&gt; results even with grompped again, but a new procedure starting from the<br>&gt; pdb file give bad results.<br>&gt;<br>&gt; I was hoping that someone could direct me to the correct direction and<br>&gt; find out what&#39;s wrong. All suggestions are highly appreciated and tested!
<br><br>Not much joy from me, I&#39;m afraid!<br><br>Mark<br>_______________________________________________<br>gmx-users mailing list&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br><a href="http://www.gromacs.org/mailman/listinfo/gmx-users">
http://www.gromacs.org/mailman/listinfo/gmx-users</a><br>Please don&#39;t post (un)subscribe requests to the list. Use the<br>www interface or send it to <a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org
</a>.<br>Can&#39;t post? Read <a href="http://www.gromacs.org/mailing_lists/users.php">http://www.gromacs.org/mailing_lists/users.php</a><br></blockquote></div><br>