Change MPI setup to communicate TPR as buffer
[alexxy/gromacs.git] / src / gromacs / mdlib / broadcaststructs.h
index e4273078ba9fb85a04025084c8b8aaec5f65298e..3f8003d77b343d06cd65f64dac07765d95653c81 100644 (file)
@@ -55,6 +55,7 @@
 struct gmx_mtop_t;
 struct t_commrec;
 struct t_inputrec;
+struct PartialDeserializedTprFile;
 class t_state;
 
 //! Convenience wrapper for gmx_bcast of a single value.
@@ -109,7 +110,9 @@ void nblock_abc(const t_commrec *cr, int numElements, std::vector<T> *v)
 void broadcastStateWithoutDynamics(const t_commrec *cr, t_state *state);
 
 //! \brief Broadcast inputrec and mtop and allocate node-specific settings
-void init_parallel(t_commrec *cr, t_inputrec *inputrec,
-                   gmx_mtop_t *mtop);
+void init_parallel(t_commrec                  *cr,
+                   t_inputrec                 *inputrec,
+                   gmx_mtop_t                 *mtop,
+                   PartialDeserializedTprFile *partialDeserializedTpr);
 
 #endif