Fix task assignment with multiruns
authorBerk Hess <hess@kth.se>
Tue, 15 Sep 2020 10:17:46 +0000 (10:17 +0000)
committerMark Abraham <mark.j.abraham@gmail.com>
Tue, 15 Sep 2020 10:17:46 +0000 (10:17 +0000)
commitafa36e60916b72cb3c3bc8d1006e76e44d5c7162
treeb7156ea30298a74f3998e132c1c3d846f228c8e7
parent602ccb19aa5fc9097a66e41a6f31f8dfced321fa
Fix task assignment with multiruns

Change e0f481ae broke the physical node hardware detection and task
assignment by passing the simulation instead of the world communicator
to the creation of the physical node communicator. Now the world
communicator is stored and passed.

Fixes #3666
src/gromacs/mdrun/runner.cpp
src/gromacs/mdrun/runner.h
src/gromacs/mdrun/simulationcontext.cpp
src/gromacs/mdrun/simulationcontext.h