A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
avoid allocating comm_self if not needed
[simgrid.git]
/
src
/
smpi
/
mpi
/
smpi_comm.cpp
diff --git
a/src/smpi/mpi/smpi_comm.cpp
b/src/smpi/mpi/smpi_comm.cpp
index
a10451b
..
5bb9651
100644
(file)
--- a/
src/smpi/mpi/smpi_comm.cpp
+++ b/
src/smpi/mpi/smpi_comm.cpp
@@
-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);
}