<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:10pt"><span style="font-family: times new roman,new york,times,serif;">On </span><font style="font-family: times new roman,new york,times,serif;" face="Tahoma" size="2">Tuesday, August 4, 2009, at 6:30:57 PM</font><span style="font-family: times new roman,new york,times,serif;">, </span><font style="font-family: times new roman,new york,times,serif;" face="Tahoma" size="2">Nancy &lt;nancy5villa@gmail.com&gt; wrote:</font><br>&gt; I am trying to simulate a simple system of ethylene
glycol (ethane-1,2-diol) solvated in a water box.<br>&gt; I converted the pdb
file to a mol2 file and used topolbuild 1.2.1 to generate topology
files:<br>&gt; <br>&gt; $ topolbuild -n ethanediol -dir .../topolbuild1_2_1/dat/gromacs -ff gmx53a6<br>
<br>I prefer to use an absolute reference to the parameters directory, but<br>I also have my molecules files in directories outside of the topolbuild<br>directory.<br><br>&gt; I the used editconf to enlarge the box.&nbsp; I then solvated the molecule using the following command:<br><br>I presume that you checked the topology produced to be sure that parameters<br>were found for all atoms, bonds, angles, dihedrals, and impropers in the molecule<br>before proceeding.&nbsp; This is always a necessary step with any automatic topology<br>generation program because the force field chosen might not have parameters<br>for everything in your molecule.&nbsp; (In this case, I believe that ethylene glycol<br>should not present any problems, but always checking the topology generated<br>is a good habit to develop.)<br><br>&gt; $ genbox -cp ethanediol_box.gro -cs spc216.gro -o ethanediol_solv.gro -box 3 3 3 -p ethanediol.top<br>&gt; <br>&gt; where "ethanediol_box.gro"
 is the structure of the molecule.&nbsp; I used grompp to generate the mdrun input file:<br>
&gt; <br>&gt; $ grompp -f grompp.mdp -c ethanediol_solv.gro -p ethanediol.top -o ethanediol.tpr<br>&gt; <br>&gt; grompp.mdp is the following:<br>&gt; <br>&gt; ========================================<br>&gt; title&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = Ethanedi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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 5<br>&gt; nstenergy&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 10<br>&gt; nstxtcout&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 1<br>&gt; xtc_grps&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = EDO&nbsp; SOL<br>&gt; energygrps&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = EDO&nbsp; SOL<br>&gt; nstlist&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 10<br>&gt; ns_type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = grid<br>&gt; 
rlist&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 0.8<br><br>rlist seems short to me.&nbsp; Probably ought to use at least 1.0<br><br>&gt; coulombtype&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = cut-off<br><br>Its best to use PME with top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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 1.0<br>&gt; compressibility&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 4.5e-5<br>&gt; ref_p&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 1.0<br>&gt; gen_vel&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = yes<br>&gt; gen_temp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 300<br>&gt; 
gen_seed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 173529<br>&gt; constraints&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = all-bonds<br>&gt; ========================================<br>&gt; <br>&gt; where "EDO" refers to ethylene glycol.&nbsp; grompp creates several notes:<br>&gt; <br>&gt; NOTE 1 [file grompp.mdp, line unknown]:<br>&gt; 
&nbsp; The Berendsen thermostat does not generate the correct kinetic energy<br>&gt; &nbsp; distribution. You might want to consider using the V-rescale thermostat.<br><br>Something to think about.<br><br>&gt; NOTE 2 [file grompp.mdp, line unknown]:<br>&gt; &nbsp; You are using a plain Coulomb cut-off, which might produce artifacts.<br>&gt; 
&nbsp; You might want to consider using PME electrostatics.<br>&gt; <br>&gt; NOTE 3 [file grompp.mdp, line unknown]:<br>&gt; &nbsp; This run will generate roughly 2500 Mb of data<br><br>That is a large amount of data.&nbsp; Perhaps make nstxout larger.<br>Also, this looks like a production simulation.&nbsp; I presume you did<br>an energy minimization step and a position restrained equilibration<br>before this, but you did not show us anything about these.&nbsp; Did they<br>have any errors?<br><br>&gt; I then run the simulation:<br>&gt; <br>&gt; $ mdrun -s ethanediol.tpr -o traj.trr -x traj.xtc -v<br>
&gt; <br>&gt; However mdrun produces several errors and warnings:<br>&gt; <br>&gt; t = 0.036 ps: Water molecule starting at atom 2659 can not be settled.<br>&gt; Check for bad contacts and/or reduce the timestep.<br>&gt; Wrote pdb files with previous and current coordinates<br>
&gt; <br>&gt; t = 0.038 ps: Water molecule starting at atom 2659 can not be settled.<br>&gt; Check for bad contacts and/or reduce the timestep.<br>&gt; Wrote pdb files with previous and current coordinates<br>&gt; <br>&gt; t = 0.040 ps: Water molecule starting at atom 2659 can not be settled.<br>&gt; 
Check for bad contacts and/or reduce the timestep.<br>&gt; Wrote pdb files with previous and current coordinates<br>&gt; <br>&gt; Step 21&nbsp; Warning: pressure scaling more than 1%, mu: 1.0372 1.0372 1.0372<br>&gt; <br>&gt; Step 29, time 0.058 (ps)&nbsp; LINCS WARNING<br>&gt; 
relative constraint deviation after LINCS:<br>&gt; rms 2.714709, max 3.541824 (between atoms 2 and 3)<br>&gt; bonds that rotated more than 30 degrees:<br>&gt;&nbsp; atom 1 atom 2&nbsp; angle&nbsp; previous, current, constraint length<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4&nbsp;&nbsp; 88.8&nbsp;&nbsp;&nbsp; 0.6606&nbsp;&nbsp; 0.6855&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.1520<br>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3&nbsp;&nbsp; 90.6&nbsp;&nbsp;&nbsp; 0.4305&nbsp;&nbsp; 0.4542&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.1000<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp; 89.2&nbsp;&nbsp;&nbsp; 0.6123&nbsp;&nbsp; 0.4690&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.1435<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6&nbsp;&nbsp; 93.4&nbsp;&nbsp;&nbsp; 0.4193&nbsp;&nbsp; 0.1741&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.1000<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5&nbsp;&nbsp; 89.2&nbsp;&nbsp;&nbsp; 0.6156&nbsp;&nbsp; 0.5033&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.1435<br>&gt; 
===================================<br>&gt; <br><br>It is blowing up.&nbsp; Did you see anything in the energy minimization or the<br>position restrained equilibration steps that seemed unusual?<br><br>&gt; <br>&gt; I
am not sure where the errors are occuring (I am also wondering if the
absence of<br>&gt; explicit non-polar hydrogens in the .gro files are
relevant).&nbsp; Please adivse.<br><div>&nbsp;<br>Gromacs force fields are united atom force fields.&nbsp; As such, explicit non-polar hydrogens<br>are supposed to be removed.<br><br><br>I hope these few remarks help.<br><br>Sincerely,<br><br></div>-- <br>Bruce D. Ray, Ph.D.<br>Associate Scientist<br>IUPUI<br>Physics Dept.<br>402 N. Blackford St.<br>Indianapolis, IN  46202-3273<br><br></div><br>

      </body></html>