Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
avoid allocating comm_self if not needed
[simgrid.git] / src / smpi / mpi / smpi_comm.cpp
index a10451b..5bb9651 100644 (file)
@@ -65,7 +65,7 @@ void Comm::destroy(Comm* comm)
     Comm::destroy(smpi_process()->comm_world());
     return;
   }
-  if(comm != MPI_COMM_WORLD && comm != MPI_COMM_SELF)
+  if(comm != MPI_COMM_WORLD)
     comm->mark_as_deleted();
   Comm::unref(comm);
 }