]> AND Public Git Repository - simgrid.git/blobdiff - src/smpi/include/smpi_op.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
In smpi::Group, 'index' is in fact a PID. Fix type and rename.
[simgrid.git] / src / smpi / include / smpi_op.hpp
index bfb1e7d8c951b2f88a8d433a1a3d5e06c482d5a6..9150412b2c2c74eb70819cf38f83d6aa8a839005 100644 (file)
@@ -26,6 +26,7 @@ public:
   bool is_predefined() const { return is_predefined_; }
   bool is_fortran_op() const { return is_fortran_op_; }
   int allowed_types() const { return types_; }
+  std::string name() const override {return std::string("MPI_Op");}
   // tell that we were created from fortran, so we need to translate the type to fortran when called
   void set_fortran_op() { is_fortran_op_ = true; }
   void apply(const void* invec, void* inoutvec, const int* len, MPI_Datatype datatype) const;