Don't use PME ranks with GPUs and -npme=-1
commit31cc5ae98345cbc1039915ac383a5ef5a567a1b0
authorBerk Hess <hess@kth.se>
Tue, 19 May 2015 09:10:06 +0000 (19 11:10 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Fri, 5 Jun 2015 17:46:39 +0000 (5 19:46 +0200)
tree28b3c7aa8430ee54a19f41c402ec27344c173916
parent78553eeba2d9a6a108c70e522fe92930b51349ca
Don't use PME ranks with GPUs and -npme=-1

The code disabling the automated PME rank choice with GPUs was
accidentally moved after init_domain_decomposition. This caused
PME ranks to be set up, but later a fatal_error occured for
inconsistent PP rank and GPU counts.
Refs #1374.

Change-Id: I5f6bcc90fecac7f63b332b8f1acca7368b5f71bc
src/programs/mdrun/runner.c