Avoid DLB with overloaded PME ranks
authorBerk Hess <hess@kth.se>
Fri, 5 Sep 2014 08:29:04 +0000 (10:29 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Tue, 30 Sep 2014 11:11:32 +0000 (13:11 +0200)
commit95b9f1461089c8e677df8b2f948c7b851c436f3a
tree4c977714a2fa52a2d0d19b67c06a1e29d5ec1e83
parent4fdcbf774d64a2a8bd511f331d64b73ff369c475
Avoid DLB with overloaded PME ranks

When separate PME ranks have more load than the PP ranks, DLB can
not improve improve performance. It will actually make it worse,
because the PME x/f redistribution time goes up. Now with -dlb=auto
DLB is not turned on in this situation.
Also DLB is not activated during PME tuning with GPUs and separate
PME nodes, since it then nearly always deteriorates the performance.

Change-Id: I1f5e649a9562fdca9ba538196f41a12feb0a4a24
src/gromacs/legacyheaders/domdec.h
src/gromacs/mdlib/domdec.c
src/programs/mdrun/md.c