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

Public GIT Repository
Minor changes in smpi::Group.
[simgrid.git] / src / smpi / include / smpi_file.hpp
index 1d7360545fa2104a7e83053ad1f1f6c3e97c895f..10eaf26c088a4796b7cd584fe27dbf547e589e03 100644 (file)
@@ -42,6 +42,8 @@ class File : public F2C{
   int get_position_shared(MPI_Offset* offset) const;
   int flags() const;
   MPI_Comm comm() const;
+  std::string name() const override {return file_ ? std::string("MPI_File: ")+ std::string(file_->get_path()): std::string("MPI_File");}
+
   int sync();
   int seek(MPI_Offset offset, int whence);
   int seek_shared(MPI_Offset offset, int whence);