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

Public GIT Repository
kill is_replayable() for datatypes.
[simgrid.git] / src / smpi / mpi / smpi_file.cpp
index 4ad8f8f3b97f91667b01da9ead0975b0237cfba3..82c5e2fe5fd2e53474a01022cb24af76295a4d09 100644 (file)
@@ -21,7 +21,7 @@
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_io, smpi, "Logging specific to SMPI (RMA operations)");
 
-MPI_Errhandler SMPI_default_File_Errhandler = MPI_ERRORS_RETURN;
+MPI_Errhandler SMPI_default_File_Errhandler =  _smpi_cfg_default_errhandler_is_error ? MPI_ERRORS_ARE_FATAL : MPI_ERRORS_RETURN;;
 
 namespace simgrid{
 namespace smpi{