From ae9ea58c48e0049739c4efaa84753e8bd81cf03e Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Mon, 19 Aug 2019 10:09:22 +0200 Subject: [PATCH] Unlike errors on communicators and windows, the default behavior for files is to have MPI_ERRORS_RETURN. ( End of advice to users.) https://www.mpi-forum.org/docs/mpi-3.1/mpi31-report/node223.htm#Node223 because why not. --- src/smpi/mpi/smpi_file.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/smpi/mpi/smpi_file.cpp b/src/smpi/mpi/smpi_file.cpp index adb0f50043..a7d4c60283 100644 --- a/src/smpi/mpi/smpi_file.cpp +++ b/src/smpi/mpi/smpi_file.cpp @@ -28,7 +28,7 @@ namespace smpi{ 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(); -- 2.20.1