[gmx-developers] gromacs 2016 beta1 bug somewhere in the new simd for bonded/LJ/lincs
Mark Abraham
mark.j.abraham at gmail.com
Tue May 17 10:25:56 CEST 2016
Hi,
Thanks indeed for the report and concern. I echo Berk'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.
mdrun -rerun velocities (and derived quantities) are disaster zone (see
http://redmine.gromacs.org/issues/1868) 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
https://gerrit.gromacs.org/#/c/5435/ (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't tell whether any of this
has bearing on your observations with PLUMED, though, because I don't know
what your calculation with it was doing.
Cheers,
Mark
On Tue, May 17, 2016 at 9:59 AM Carlo Camilloni <carlo.camilloni at gmail.com>
wrote:
> Hi
>
> The x must be identical because I used -rerun to parse the trr file, while
> I don’t know if the velocities are recalculated by rerun.
> What I am sure about is that the differences observed with metadynamics
> are highly significant.
> Right now I don’t have more time to investigate this, I will definitely
> do it as soon as I can, but if you have time i would have a further
> look into it..
>
> Cheers,
> Carlo
>
>
> > Message: 1
> > Date: Fri, 13 May 2016 12:10:52 +0200
> > From: Berk Hess <hess at kth.se>
> > To: gmx-developers at gromacs.org
> > Subject: Re: [gmx-developers] gromacs 2016 beta1 bug somewhere in the
> > new simd for bonded/LJ/lincs
> > Message-ID: <5735A82C.7080508 at kth.se>
> > Content-Type: text/plain; charset="windows-1252"; Format="flowed"
> >
> > Hi,
> >
> > In the files you sent I see that x and v are identical for all versions
> > and f has a few components that differ up to 0.002 kJ/mol/nm. This is
> > fully within the variation I would expect from different codes.
> > We need more evidence to judge if there is a bug present here. I can't
> > judge if the differences in your metadynamics results are significant
> > compared to the statistical accuracy.
> >
> > Cheers,
> >
> > Berk
> >
> > On 2016-05-13 11:59, Carlo Camilloni wrote:
> >> Dear GMX developers,
> >>
> >> First of all thanks for your continuos efforts in making gromacs better.
> >>
> >> I have done a very basic calculation with the new gromacs-2016-beta1
> >> and I think there is a bug somewhere
> >> in the force calculation. (all calculations are run using 1 processor,
> >> no mpi, no openmp, no gpus)
> >>
> >> I have run a calculation on alanine dipeptide:
> >>
> >> 1) GMX507: 2 steps using 1 processor (avx2 simd and nothing else, the
> >> tpr is generated with gromacs 507)
> >> 2) rerun with GMX512 on the trr file
> >> 3) rerun with GMX2016 on the trr file
> >> and then I compared forces, velocities and energies, and while they
> >> are essentially the same for the step 0
> >> in the case of GMX507 and 512 they are not the same anymore for
> GMX2016b1.
> >>
> >> The differences are not huge, even if from a rerun I would expect no
> >> differences at all, in particular on the
> >> forces, so I have run a metadynamics calculation from the same tpr
> >> file and using the three codes
> >> patched with plumed to see the effect on the free energy along the phi
> >> torsion angle, and unfortunately the
> >> difference is quite significant.
> >>
> >> to be sure I repeated the same tests on a linux workstation (the first
> >> test was on my macbook), so different
> >> compilers and so on, but always avx2 simd)
> >>
> >> here you can find everything (all the files I have generated):
> >> https://dl.dropboxusercontent.com/u/1349402/bug-report-aladip-2016.tgz
> >>
> >> I hope this helps.
> >>
> >> Best,
> >> Carlo
> >>
> >>
> >>
> >>
> >>
> >>
> >
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: <
> http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-developers/attachments/20160513/1ad1cd57/attachment-0001.html
> >
> >
> > ------------------------------
> >
> > --
> > Gromacs Developers mailing list
> >
> > * Please search the archive at
> http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List before
> posting!
> >
> > * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
> >
> > * For (un)subscribe requests visit
> > https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers
> or send a mail to gmx-developers-request at gromacs.org.
> >
> > End of gromacs.org_gmx-developers Digest, Vol 145, Issue 17
> > ***********************************************************
>
> --
> Gromacs Developers mailing list
>
> * Please search the archive at
> http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List before
> posting!
>
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
>
> * For (un)subscribe requests visit
> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers
> or send a mail to gmx-developers-request at gromacs.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-developers/attachments/20160517/57213714/attachment-0003.html>
More information about the gromacs.org_gmx-developers
mailing list