<div dir="ltr">Hi,<div><br></div><div>Thanks indeed for the report and concern. I echo Berk&#39;s observation that the numerical differences in forces between the trajectories in your tarball are within the expected range for different implementations of the same calculation.</div><div><br></div><div>mdrun -rerun velocities (and derived quantities) are disaster zone (see <a href="http://redmine.gromacs.org/issues/1868">http://redmine.gromacs.org/issues/1868</a>) and frankly I regard anything to do with them as wrong until proved correct. positions and forces should generally be OK, but despite the usefulness of rerun workflows, nobody has had time to care about my tests of this functionality at <a href="https://gerrit.gromacs.org/#/c/5435/">https://gerrit.gromacs.org/#/c/5435/</a> (though the multiple bugs they identified have been fixed). You will definitely get slightly different forces between mdrun and rerun if the original mdrun wrote positions and forces from a step that did not compute energies, because rerun always computes energies and when energies are computed the code paths that compute forces are generally different. I can&#39;t tell whether any of this has bearing on your observations with PLUMED, though, because I don&#39;t know what your calculation with it was doing.</div><div><br></div><div>Cheers,</div><div><br></div><div>Mark</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, May 17, 2016 at 9:59 AM Carlo Camilloni &lt;<a href="mailto:carlo.camilloni@gmail.com">carlo.camilloni@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<br>
<br>
The x must be identical because I used -rerun to parse the trr file, while<br>
I don’t know if the velocities are recalculated by rerun.<br>
What I am sure about is that the differences observed with metadynamics<br>
are highly significant.<br>
Right now I don’t have more time to investigate this, I will definitely<br>
do it as soon as I can, but if you have time i would have a further<br>
look into it..<br>
<br>
Cheers,<br>
Carlo<br>
<br>
<br>
&gt; Message: 1<br>
&gt; Date: Fri, 13 May 2016 12:10:52 +0200<br>
&gt; From: Berk Hess &lt;<a href="mailto:hess@kth.se" target="_blank">hess@kth.se</a>&gt;<br>
&gt; To: <a href="mailto:gmx-developers@gromacs.org" target="_blank">gmx-developers@gromacs.org</a><br>
&gt; Subject: Re: [gmx-developers] gromacs 2016 beta1 bug somewhere in the<br>
&gt;       new simd for bonded/LJ/lincs<br>
&gt; Message-ID: &lt;<a href="mailto:5735A82C.7080508@kth.se" target="_blank">5735A82C.7080508@kth.se</a>&gt;<br>
&gt; Content-Type: text/plain; charset=&quot;windows-1252&quot;; Format=&quot;flowed&quot;<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; In the files you sent I see that x and v are identical for all versions<br>
&gt; and f has a few components that differ up to 0.002 kJ/mol/nm. This is<br>
&gt; fully within the variation I would expect from different codes.<br>
&gt; We need more evidence to judge if there is a bug present here. I can&#39;t<br>
&gt; judge if the differences in your metadynamics results are significant<br>
&gt; compared to the statistical accuracy.<br>
&gt;<br>
&gt; Cheers,<br>
&gt;<br>
&gt; Berk<br>
&gt;<br>
&gt; On 2016-05-13 11:59, Carlo Camilloni wrote:<br>
&gt;&gt; Dear GMX developers,<br>
&gt;&gt;<br>
&gt;&gt; First of all thanks for your continuos efforts in making gromacs better.<br>
&gt;&gt;<br>
&gt;&gt; I have done a very basic calculation with the new gromacs-2016-beta1<br>
&gt;&gt; and I think there is a bug somewhere<br>
&gt;&gt; in the force calculation. (all calculations are run using 1 processor,<br>
&gt;&gt; no mpi, no openmp, no gpus)<br>
&gt;&gt;<br>
&gt;&gt; I have run a calculation on alanine dipeptide:<br>
&gt;&gt;<br>
&gt;&gt; 1) GMX507: 2 steps using 1 processor (avx2 simd and nothing else, the<br>
&gt;&gt; tpr is generated with gromacs 507)<br>
&gt;&gt; 2) rerun with GMX512 on the trr file<br>
&gt;&gt; 3) rerun with GMX2016 on the trr file<br>
&gt;&gt; and then I compared forces, velocities and energies, and while they<br>
&gt;&gt; are essentially the same for the step 0<br>
&gt;&gt; in the case of GMX507 and 512 they are not the same anymore for GMX2016b1.<br>
&gt;&gt;<br>
&gt;&gt; The differences are not huge, even if from a rerun I would expect no<br>
&gt;&gt; differences at all, in particular on the<br>
&gt;&gt; forces, so I have run a metadynamics calculation from the same tpr<br>
&gt;&gt; file and using the three codes<br>
&gt;&gt; patched with plumed to see the effect on the free energy along the phi<br>
&gt;&gt; torsion angle, and unfortunately the<br>
&gt;&gt; difference is quite significant.<br>
&gt;&gt;<br>
&gt;&gt; to be sure I repeated the same tests on a linux workstation (the first<br>
&gt;&gt; test was on my macbook), so different<br>
&gt;&gt; compilers and so on, but always avx2 simd)<br>
&gt;&gt;<br>
&gt;&gt; here you can find everything (all the files I have generated):<br>
&gt;&gt; <a href="https://dl.dropboxusercontent.com/u/1349402/bug-report-aladip-2016.tgz" rel="noreferrer" target="_blank">https://dl.dropboxusercontent.com/u/1349402/bug-report-aladip-2016.tgz</a><br>
&gt;&gt;<br>
&gt;&gt; I hope this helps.<br>
&gt;&gt;<br>
&gt;&gt; Best,<br>
&gt;&gt; Carlo<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL: &lt;<a href="http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-developers/attachments/20160513/1ad1cd57/attachment-0001.html" rel="noreferrer" target="_blank">http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-developers/attachments/20160513/1ad1cd57/attachment-0001.html</a>&gt;<br>
&gt;<br>
&gt; ------------------------------<br>
&gt;<br>
&gt; --<br>
&gt; Gromacs Developers mailing list<br>
&gt;<br>
&gt; * Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List" rel="noreferrer" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List</a> before posting!<br>
&gt;<br>
&gt; * Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" rel="noreferrer" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br>
&gt;<br>
&gt; * For (un)subscribe requests visit<br>
&gt; <a href="https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers" rel="noreferrer" target="_blank">https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers</a> or send a mail to <a href="mailto:gmx-developers-request@gromacs.org" target="_blank">gmx-developers-request@gromacs.org</a>.<br>
&gt;<br>
&gt; End of gromacs.org_gmx-developers Digest, Vol 145, Issue 17<br>
&gt; ***********************************************************<br>
<br>
--<br>
Gromacs Developers mailing list<br>
<br>
* Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List" rel="noreferrer" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List</a> before posting!<br>
<br>
* Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" rel="noreferrer" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br>
<br>
* For (un)subscribe requests visit<br>
<a href="https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers" rel="noreferrer" target="_blank">https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers</a> or send a mail to <a href="mailto:gmx-developers-request@gromacs.org" target="_blank">gmx-developers-request@gromacs.org</a>.</blockquote></div>