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
Implement MPI_IN_PLACE behavior for collectives
[simgrid.git]
/
src
/
smpi
/
smpi_comm.c
diff --git
a/src/smpi/smpi_comm.c
b/src/smpi/smpi_comm.c
index dac6ac341efa92c1ce123e07d13a1c4be0c65306..db48e0fc149a5ab5829cf95d55f82c905c8d5a35 100644
(file)
--- a/
src/smpi/smpi_comm.c
+++ b/
src/smpi/smpi_comm.c
@@
-153,6
+153,7
@@
MPI_Comm smpi_comm_split(MPI_Comm comm, int color, int key)
smpi_mpi_recv(&group_out, 1, MPI_PTR, 0, system_tag, comm, MPI_STATUS_IGNORE);
} /* otherwise, exit with group_out == NULL */
}
+ if(group_out)smpi_group_use(group_out);
return group_out ? smpi_comm_new(group_out) : MPI_COMM_NULL;
}