Merge release-4-6 into master
[alexxy/gromacs.git] / src / gromacs / legacyheaders / thread_mpi / mpi_bindings.h
index 197028f50e892192b945981e3de8910df6bc31a7..a3338c2ea5c2b8f9a042a4f1a2dd92d7fd6d8599 100644 (file)
@@ -72,6 +72,9 @@ typedef struct tmpi_req_ *MPI_Request;
 typedef struct tmpi_status_ MPI_Status;
 /* data types */
 typedef struct tmpi_datatype_ *MPI_Datatype;
+/* reduce operations */
+typedef tMPI_Op MPI_Op;
+
 
 
 #define MPI_CHAR                TMPI_CHAR
@@ -250,6 +253,7 @@ typedef struct tmpi_datatype_ *MPI_Datatype;
 
 #define MPI_Reduce                  tMPI_Reduce
 #define MPI_Allreduce               tMPI_Allreduce
+#define MPI_Scan                    tMPI_Scan
 
 #ifdef __cplusplus
 } /* closing extern "C" */