Fix wallcycle counting with md-vv, sd and sd2
authorMark Abraham <mark.j.abraham@gmail.com>
Wed, 9 Jul 2014 20:36:31 +0000 (22:36 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Sat, 16 Aug 2014 23:44:58 +0000 (01:44 +0200)
commitd4aef0618508ea19abb0c0ab541c553fa5e92312
tree70b2656aa50708f5b74abeb973a6cee25171b1c5
parent5ab7482e2e51aa3df1bc95f1b934d784a014a1ad
Fix wallcycle counting with md-vv, sd and sd2

Previously the coordinate update for the first half of velocity Verlet
and (where applicable) the second half of the SD integrators was left
out of the walltime accounting, and showed up in the "Rest"
section. With this fix, the number of "update" steps reported depends
on exactly which flavour of which integrator is in use, because
there's also some number of calls to do constraining and/or energy
communication. Those numbers vary with either the flavour of
integrator, or the number of iterations MTTK actually needs.

Change-Id: Ib294455b7277caf89018c413d6c1c0ebf93c6ddb
src/gromacs/mdlib/update.c
src/programs/mdrun/md.c