Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Unlike errors on communicators and windows, the default behavior for files is to...
authorAugustin Degomme <adegomme@gmail.com>
Mon, 19 Aug 2019 08:09:22 +0000 (10:09 +0200)
committerAugustin Degomme <adegomme@gmail.com>
Mon, 19 Aug 2019 08:09:22 +0000 (10:09 +0200)
https://www.mpi-forum.org/docs/mpi-3.1/mpi31-report/node223.htm#Node223
because why not.

src/smpi/mpi/smpi_file.cpp

index adb0f50..a7d4c60 100644 (file)
@@ -28,7 +28,7 @@ namespace smpi{
     if (comm_->rank() == 0) {
       int size= comm_->size() + FP_SIZE;
       list_ = new char[size];
     if (comm_->rank() == 0) {
       int size= comm_->size() + FP_SIZE;
       list_ = new char[size];
-      errhandler_=MPI_ERRORS_ARE_FATAL;
+      errhandler_=MPI_ERRORS_RETURN;
       memset(list_, 0, size);
       shared_file_pointer_ = new MPI_Offset();
       shared_mutex_ = s4u::Mutex::create();
       memset(list_, 0, size);
       shared_file_pointer_ = new MPI_Offset();
       shared_mutex_ = s4u::Mutex::create();