The ionic liquid is bistriflate N-methyl-N-propyl pyrrolidinium and the force field is from Lopes (CLaP).  I tried deleting all of the cation dihedrals from the itp file and found that the run did not crash, although it still had a positive coul recip term.  Upon examination of the cation dihedrals I noticed that there was a typo in which a set of unbonded carbons were put together in a dihedral term.  Perhaps this is what made the previous runs crash.  <div>
Even with this correction, the coul. recip. term is still positive.  I have tried smaller time steps and changing ewald_tol to 1e-3, but these have not resolved this issue.  How can I calculate the error in the electrostatic force?</div>
<div>Denny<br><br><div class="gmail_quote">On Sat, Feb 25, 2012 at 4:43 AM, Dommert Florian <span dir="ltr">&lt;<a href="mailto:dommert@icp.uni-stuttgart.de">dommert@icp.uni-stuttgart.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Fri, 2012-02-24 at 11:03 -0700, Denny Frost wrote:<br>
&gt; Thank you both for your replies.  I currently have another ionic<br>
&gt; liquid running just fine on the same gromacs build (compiled the tpr<br>
&gt; file yesterday), so I am reluctant to conclude that the problem is<br>
&gt; with the linking.  Please let me know if you disagree.<br>
&gt; The force field I am using was published in 2004 and has been<br>
&gt; validated by another group.  I have double and triple checked my itp<br>
&gt; files to make sure they match the force field, but it&#39;s possible there<br>
&gt; are still some errors there.<br>
<br>
</div>Is it the force field of Lopes (CLaP) et al. or Liu et al. (LHW) and who<br>
validated it, I am just curious, and what is the ionic liquid ?<br>
<br>
Though you are constraining the hbonds, I would be cautious with the<br>
time step of 2fs, because it might be, that the eigenfrequency of the<br>
anionic bonds requires a shorter time step, but this should not be the<br>
problem of a positive Coulomb energy. Have you calculated the error in<br>
the electrostatic force ? I would suggest to tune it to a limit of 1e-3,<br>
perhaps this resolves the problem of the positive Coulomb term.<br>
<br>
Perhaps some 1--4 and dihedral interactions are missing in the itp file,<br>
so assure if all of them are provided correctly.<br>
<br>
/Flo<br>
<div class="HOEnZb"><div class="h5"><br>
&gt; I agree that this is very strange and feel that there must be<br>
&gt; something fundamentally wrong in the mdp file or deeper.  I have<br>
&gt; included my mdp file below.<br>
&gt;<br>
&gt;<br>
&gt; title               =  PMP+TFN<br>
&gt; cpp                 =  /lib/cpp<br>
&gt; constraints         =  hbonds<br>
&gt; integrator          =  md<br>
&gt; dt                  =  0.002   ; ps !<br>
&gt; nsteps              =  10000000   ; total 20 ns<br>
&gt; nstcomm             =  10<br>
&gt; nstxout             =  50000<br>
&gt; nstvout             =  50000<br>
&gt; nstfout             =  0<br>
&gt; nstlog              =  5000<br>
&gt; nstenergy           =  5000<br>
&gt; nstxtcout           =  25000<br>
&gt; nstlist             =  10<br>
&gt; ns_type             =  grid<br>
&gt; pbc                 =  xyz<br>
&gt; coulombtype         =  PME<br>
&gt; vdwtype             =  Cut-off<br>
&gt; rlist               =  1.2<br>
&gt; rcoulomb            =  1.2<br>
&gt; rvdw                =  1.2<br>
&gt; fourierspacing      =  0.12<br>
&gt; pme_order           =  4<br>
&gt; ewald_rtol          =  1e-5<br>
&gt; ; Berendsen temperature coupling is on in two groups<br>
&gt; Tcoupl              =  v-rescale<br>
&gt; tc_grps             =  PMP   TFN<br>
&gt; tau_t               =  0.2  0.2<br>
&gt; ref_t               =  300  300<br>
&gt; nsttcouple          =  1<br>
&gt; ; Energy monitoring<br>
&gt; energygrps          =  PMP   TFN<br>
&gt; ; Isotropic pressure coupling is now on<br>
&gt; Pcoupl              =  berendsen<br>
&gt; pcoupltype          =  isotropic<br>
&gt; tau_p               =  2.0<br>
&gt; ref_p               =  1.0<br>
&gt; compressibility     =  4.5e-5<br>
&gt;<br>
&gt;<br>
&gt; ; Generate velocites is on at 300 K.<br>
&gt; gen_vel             =  yes<br>
&gt; gen_temp            =  300.0<br>
&gt; gen_seed            =  -1<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Fri, Feb 24, 2012 at 12:17 AM, Dommert Florian<br>
&gt; &lt;<a href="mailto:dommert@icp.uni-stuttgart.de">dommert@icp.uni-stuttgart.de</a>&gt; wrote:<br>
&gt;         On Thu, 2012-02-23 at 13:35 -0700, Denny Frost wrote:<br>
&gt;         &gt; Dear all,<br>
&gt;         &gt; I am trying to equilibrate a solvent of pure ionic liquid.<br>
&gt;          The system<br>
&gt;         &gt; keeps exploding (after 2-5 ns) and I am not sure why, though<br>
&gt;         I believe<br>
&gt;         &gt; coulombic interactions are to blame.  This is because the<br>
&gt;         Coul-SR term<br>
&gt;         &gt; is negative, but the Coul. recip term is very positive<br>
&gt;         throughout the<br>
&gt;         &gt; entire run (giving the entire system a positive potential<br>
&gt;         energy).  I<br>
&gt;         &gt; think this means that the short-range electrostatics are<br>
&gt;         okay, but the<br>
&gt;         &gt; long range electrostatics (calculated with PME) are not.<br>
&gt;          Does anybody<br>
&gt;         &gt; have any suggestions as to why this would happen?  I have<br>
&gt;         used the<br>
&gt;         &gt; exact same PME input parameters for another ionic liquid<br>
&gt;         that works<br>
&gt;         &gt; just fine.  They are listed below.<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt; rcoulomb = 1.2<br>
&gt;         &gt; fourierspacing = 0.12<br>
&gt;         &gt; pme_order = 4<br>
&gt;         &gt; ewald_rtol = 1e-5<br>
&gt;         &gt;<br>
&gt;<br>
&gt;<br>
&gt;         Depends on the force field you are using. Perhaps it ist not<br>
&gt;         validated<br>
&gt;         for the ionic liquid you want to study. It is especially<br>
&gt;         strange, that<br>
&gt;         it takes so long for your system to blow up.<br>
&gt;<br>
&gt;         Moreoever I would try to optimize the PME settings with the<br>
&gt;         tools,<br>
&gt;         g_tune_pme and g_pme_error, which give you performance and<br>
&gt;         accuracy of<br>
&gt;         the parameters, respectively.<br>
&gt;<br>
&gt;         So perhaps with some more information I can provide more help.<br>
&gt;<br>
&gt;         /Flo<br>
&gt;<br>
&gt;         &gt;<br>
&gt;         &gt; Thanks!<br>
&gt;         &gt; Denzil Frost<br>
&gt;         &gt; --<br>
&gt;         &gt; gmx-users mailing list    <a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>
&gt;         &gt; <a href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>
&gt;         &gt; Please search the archive at<br>
&gt;         <a href="http://www.gromacs.org/Support/Mailing_Lists/Search" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/Search</a> before<br>
&gt;         posting!<br>
&gt;         &gt; Please don&#39;t post (un)subscribe requests to the list. Use<br>
&gt;         the<br>
&gt;         &gt; www interface or send it to <a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>
&gt;         &gt; Can&#39;t post? Read<br>
&gt;         <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br>
&gt;<br>
&gt;<br>
&gt;         --<br>
&gt;         Florian Dommert<br>
&gt;         Dipl. - Phys.<br>
&gt;<br>
&gt;         Institute for Computational Physics<br>
&gt;         University Stuttgart<br>
&gt;<br>
&gt;         Pfaffenwaldring 27<br>
&gt;         70569 Stuttgart<br>
&gt;<br>
&gt;         EMail: <a href="mailto:dommert@icp.uni-stuttgart.de">dommert@icp.uni-stuttgart.de</a><br>
&gt;         Homepage: <a href="http://www.icp.uni-stuttgart.de/~icp/Florian_Dommert" target="_blank">http://www.icp.uni-stuttgart.de/~icp/Florian_Dommert</a><br>
&gt;<br>
&gt;         Tel.: +49 - (0)711 - 68563613<br>
&gt;         Fax.: +49 - (0)711 - 68563658<br>
&gt;<br>
&gt;         --<br>
&gt;         gmx-users mailing list    <a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>
&gt;         <a href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>
&gt;         Please search the archive at<br>
&gt;         <a href="http://www.gromacs.org/Support/Mailing_Lists/Search" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/Search</a> before<br>
&gt;         posting!<br>
&gt;         Please don&#39;t post (un)subscribe requests to the list. Use the<br>
&gt;         www interface or send it to <a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>
&gt;         Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; gmx-users mailing list    <a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>
&gt; <a href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>
&gt; Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/Search" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/Search</a> before posting!<br>
&gt; Please don&#39;t post (un)subscribe requests to the list. Use the<br>
&gt; www interface or send it to <a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>
&gt; Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br>
<br>
--<br>
Florian Dommert<br>
Dipl. - Phys.<br>
<br>
Institute for Computational Physics<br>
University Stuttgart<br>
<br>
Pfaffenwaldring 27<br>
70569 Stuttgart<br>
<br>
EMail: <a href="mailto:dommert@icp.uni-stuttgart.de">dommert@icp.uni-stuttgart.de</a><br>
Homepage: <a href="http://www.icp.uni-stuttgart.de/~icp/Florian_Dommert" target="_blank">http://www.icp.uni-stuttgart.de/~icp/Florian_Dommert</a><br>
<br>
Tel.: +49 - (0)711 - 68563613<br>
Fax.: +49 - (0)711 - 68563658<br>
</div></div><br>--<br>
gmx-users mailing list    <a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>
<a href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>
Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/Search" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/Search</a> before posting!<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/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br></blockquote></div><br></div>