Merge branch 'release-4-6'
[alexxy/gromacs.git] / src / gromacs / gmxlib / thread_mpi / collective.h
index 1aadef84bc02b4b9bfaa8d1cc9c18adc473e0a1b..162fda643474a7203122fcf323149a3619ed2bfe 100644 (file)
@@ -51,10 +51,10 @@ struct coll_env *tMPI_Get_cev(tMPI_Comm comm, int myrank, int *synct);
    synct       = the multicast sync number
    dest        = -1 for all theads, or a specific rank number.
  */
-void tMPI_Post_multi(struct coll_env *cev, int myrank, int index,
-                     int tag, tMPI_Datatype datatype,
-                     size_t bufsize, void *buf, int n_remaining,
-                     int synct, int dest);
+int tMPI_Post_multi(struct coll_env *cev, int myrank, int index,
+                    int tag, tMPI_Datatype datatype,
+                    size_t bufsize, void *buf, int n_remaining,
+                    int synct, int dest);
 
 /* transfer data from cev->met[rank] to recvbuf */
 void tMPI_Mult_recv(tMPI_Comm comm, struct coll_env *cev, int rank,