Reduced the cost of the pull communication
authorBerk Hess <hess@kth.se>
Mon, 11 Aug 2014 16:11:17 +0000 (18:11 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Thu, 18 Jun 2015 14:08:40 +0000 (16:08 +0200)
commit581ebdfd1759392b03cec1fa538e479fe495df5e
treecad04c3f353b1ff0c589dd0cb903f7475812078a
parenta80a6ab1ade788670c280e0b3df8a34e2feb8d47
Reduced the cost of the pull communication

With more than 32 ranks, a sub-communicator will be used
for the pull communication. This reduces the pull communication
significantly with small pull groups. With large pull groups the total
simulation performance might not improve much, because ranks
that are not in the sub-communicator will later wait for the pull
ranks during the communication for the constraints.

Added a pull_comm_t struct to separate the data used for communication.

Change-Id: I92b64d098b508b11718ef3ae175b771032ad7be2
src/gromacs/domdec/domdec.cpp
src/gromacs/pulling/pull.cpp
src/gromacs/pulling/pull.h
src/gromacs/pulling/pull_internal.h
src/gromacs/pulling/pullutil.cpp