Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
change verbosity of some messages, to ease testing
authorAugustin Degomme <adegomme@users.noreply.github.com>
Wed, 17 Apr 2019 21:35:19 +0000 (23:35 +0200)
committerAugustin Degomme <adegomme@users.noreply.github.com>
Wed, 17 Apr 2019 21:35:19 +0000 (23:35 +0200)
src/smpi/mpi/smpi_file.cpp

index 86bcbcd..dccfea5 100644 (file)
@@ -100,11 +100,11 @@ namespace smpi{
     MPI_Offset readsize = datatype->size()*count;\r
     XBT_DEBUG("Position before read in MPI_File %s : %llu",fh->file_->get_path(),fh->file_->tell());\r
     MPI_Offset read = fh->file_->read(readsize);\r
     MPI_Offset readsize = datatype->size()*count;\r
     XBT_DEBUG("Position before read in MPI_File %s : %llu",fh->file_->get_path(),fh->file_->tell());\r
     MPI_Offset read = fh->file_->read(readsize);\r
-    XBT_DEBUG("Read in MPI_File %s, %lld bytes read, readsize %lld bytes, movesize %lld", fh->file_->get_path(), read, readsize, movesize);\r
+    XBT_VERB("Read in MPI_File %s, %lld bytes read, readsize %lld bytes, movesize %lld", fh->file_->get_path(), read, readsize, movesize);\r
     if(readsize!=movesize){\r
       fh->file_->seek(position+movesize, SEEK_SET);\r
     }\r
     if(readsize!=movesize){\r
       fh->file_->seek(position+movesize, SEEK_SET);\r
     }\r
-    XBT_DEBUG("Position after read in MPI_File %s : %llu",fh->file_->get_path(), fh->file_->tell());\r
+    XBT_VERB("Position after read in MPI_File %s : %llu",fh->file_->get_path(), fh->file_->tell());\r
     status->count=count*datatype->size();\r
     return MPI_SUCCESS;\r
   }\r
     status->count=count*datatype->size();\r
     return MPI_SUCCESS;\r
   }\r
@@ -156,11 +156,11 @@ namespace smpi{
     MPI_Offset writesize = datatype->size()*count;\r
     XBT_DEBUG("Position before write in MPI_File %s : %llu",fh->file_->get_path(),fh->file_->tell());\r
     MPI_Offset write = fh->file_->write(writesize);\r
     MPI_Offset writesize = datatype->size()*count;\r
     XBT_DEBUG("Position before write in MPI_File %s : %llu",fh->file_->get_path(),fh->file_->tell());\r
     MPI_Offset write = fh->file_->write(writesize);\r
-    XBT_DEBUG("Write in MPI_File %s, %lld bytes read, readsize %lld bytes, movesize %lld", fh->file_->get_path(), write, writesize, movesize);\r
+    XBT_VERB("Write in MPI_File %s, %lld bytes read, readsize %lld bytes, movesize %lld", fh->file_->get_path(), write, writesize, movesize);\r
     if(writesize!=movesize){\r
       fh->file_->seek(position+movesize, SEEK_SET);\r
     }\r
     if(writesize!=movesize){\r
       fh->file_->seek(position+movesize, SEEK_SET);\r
     }\r
-    XBT_DEBUG("Position after write in MPI_File %s : %llu",fh->file_->get_path(), fh->file_->tell());\r
+    XBT_VERB("Position after write in MPI_File %s : %llu",fh->file_->get_path(), fh->file_->tell());\r
     status->count=count*datatype->size();\r
     return MPI_SUCCESS;\r
   }\r
     status->count=count*datatype->size();\r
     return MPI_SUCCESS;\r
   }\r