Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Have MPI collectives display their root and MPI_Op to handle mismatches lazily
[simgrid.git] / src / smpi / mpi / smpi_op.cpp
index 3e4e348..6679911 100644 (file)
@@ -240,7 +240,7 @@ static void no_func(void*, void*, int*, MPI_Datatype*)
 
 
 #define CREATE_MPI_OP(name, func, types)                                                                                      \
-  SMPI_Op _XBT_CONCAT(smpi_MPI_, name)(&(func) /* func */, true, true, types);
+  SMPI_Op _XBT_CONCAT(smpi_MPI_, name)(&(func) /* func */, true, true, types, std::string(_XBT_STRINGIFY(MPI_##name)));
 
 #define MAX_TYPES DT_FLAG_C_INTEGER|DT_FLAG_F_INTEGER|DT_FLAG_FP|DT_FLAG_MULTILANG
 #define LAND_TYPES DT_FLAG_C_INTEGER|DT_FLAG_FP|DT_FLAG_LOGICAL|DT_FLAG_MULTILANG