Enable separate PME GPU rank
authorAleksei Iupinov <a.yupinov@gmail.com>
Thu, 16 Nov 2017 17:07:05 +0000 (18:07 +0100)
committerMark Abraham <mark.j.abraham@gmail.com>
Fri, 24 Nov 2017 20:15:16 +0000 (21:15 +0100)
commit83fe36cb0c2e08065ef3b3152f54d76edb600283
treefa3d50674c51350e988a08414a81c73faa513d00
parent55c5ee18696acf10917275529eff833a65f65326
Enable separate PME GPU rank

This relaxes a few task assignment restrictions to allow
a simulation with a single separate PME GPU rank to work. E.g.

gmx mdrun -pme gpu -ntpmi 4 -npme 1

works if all the single rank PME GPU requirements are satisfied.

Default behavior is not changed, new behavior is opt-in.

The existing single-rank PME command line sanity test is altered
to also be included in multi-rank tests, testing a separate PME rank.

Change-Id: I82f3950b0e04b0bc21843a8124a9bd5c68b15024
src/gromacs/taskassignment/decidegpuusage.cpp
src/gromacs/taskassignment/decidegpuusage.h
src/gromacs/taskassignment/resourcedivision.cpp
src/programs/mdrun/runner.cpp
src/programs/mdrun/tests/CMakeLists.txt
src/programs/mdrun/tests/pmetest.cpp