Change MPI setup to communicate TPR as buffer
authorPaul Bauer <paul.bauer.q@gmail.com>
Fri, 14 Jun 2019 09:42:28 +0000 (11:42 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Mon, 23 Sep 2019 10:17:02 +0000 (12:17 +0200)
commit6983f2be5af4c8a0839a1b26a1f4862241c672f0
treee8666044ddbc6923bf9accfb6da8e22bffe2d669
parent26a92f7c59734c11952a562f1ec3f45506235964
Change MPI setup to communicate TPR as buffer

Changed the initial setup of nodes to communicate the full tpr file
buffer instead of using the individual calls for the fields.

Now non-master nodes receive the inputrec and mtop
and populate them themselves.

Refs #2971

Change-Id: Id4f3739a978ca507dacc45c78a8a75368cfe86fd
src/gromacs/fileio/tpxio.cpp
src/gromacs/fileio/tpxio.h
src/gromacs/mdlib/broadcaststructs.cpp
src/gromacs/mdlib/broadcaststructs.h
src/gromacs/mdrun/runner.cpp
src/gromacs/utility/inmemoryserializer.cpp
src/gromacs/utility/inmemoryserializer.h