From: Berk Hess Date: Wed, 27 Mar 2013 09:19:41 +0000 (+0100) Subject: corrected log file wall time breakdown X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=commitdiff_plain;h=063e5658b060975dbcf63b59a57ff1f69f7725da;p=alexxy%2Fgromacs.git corrected log file wall time breakdown The recent commit 873b9854 doubled the wall times in the breakdown table in the log file when not using separate PME nodes. Note that this didn't affect cycle count or total timing prints. Fixes #1210 Change-Id: Ia2b1d5e6c21543990465b7c7a4a8a1e687c41528 --- diff --git a/src/mdlib/gmx_wallcycle.c b/src/mdlib/gmx_wallcycle.c index 819260e622..b76697bd4a 100644 --- a/src/mdlib/gmx_wallcycle.c +++ b/src/mdlib/gmx_wallcycle.c @@ -608,13 +608,16 @@ void wallcycle_print(FILE *fplog, int nnodes, int npme, double realtime, if (npme > 0) { npp = nnodes - npme; + + nth_tot = npp*nth_pp + npme*nth_pme; } else { npp = nnodes; npme = nnodes; + + nth_tot = npp*nth_pp; } - nth_tot = npp*nth_pp + npme*nth_pme; tot = cycles[ewcRUN];