X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/942fe4d025c46b409f84cbf06e7210a39321d050..ec3e4ee5f1a7ffeb96e044057809944f364014e6:/src/smpi/smpi_pmpi.cpp diff --git a/src/smpi/smpi_pmpi.cpp b/src/smpi/smpi_pmpi.cpp index cd4c0a2d56..5a3cd2adcc 100644 --- a/src/smpi/smpi_pmpi.cpp +++ b/src/smpi/smpi_pmpi.cpp @@ -718,7 +718,7 @@ int PMPI_Comm_group(MPI_Comm comm, MPI_Group * group) } else { *group = smpi_comm_group(comm); if(*group!= smpi_comm_group(MPI_COMM_WORLD) && *group != MPI_GROUP_NULL - && *group != smpi_comm_group(MPI_COMM_SELF) && *group != MPI_GROUP_EMPTY) + && *group != MPI_GROUP_EMPTY) smpi_group_use(*group); retval = MPI_SUCCESS; } @@ -775,7 +775,7 @@ int PMPI_Comm_create(MPI_Comm comm, MPI_Group group, MPI_Comm * newcomm) *newcomm= MPI_COMM_NULL; retval = MPI_SUCCESS; }else{ - + smpi_group_use(group); *newcomm = smpi_comm_new(group, NULL); retval = MPI_SUCCESS; }