Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
mpi_comm_self was cleaned after mpi finalization during actor deletion, which was...
[simgrid.git] / src / smpi / mpi / smpi_comm.cpp
index 41590a2..3ce4890 100644 (file)
@@ -586,7 +586,7 @@ void Comm::set_errhandler(MPI_Errhandler errhandler)
       simgrid::smpi::Errhandler::unref(errhandlers_[this->rank()]);
     errhandlers_[this->rank()]=errhandler;
   }
-  if (errhandler != MPI_ERRHANDLER_NULL && this != MPI_COMM_SELF)
+  if (errhandler != MPI_ERRHANDLER_NULL)
     errhandler->ref();
 }