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
MPI_Comm -> C++
[simgrid.git]
/
src
/
smpi
/
smpi_group.cpp
diff --git
a/src/smpi/smpi_group.cpp
b/src/smpi/smpi_group.cpp
index
6fc5084
..
e8ccfa3
100644
(file)
--- a/
src/smpi/smpi_group.cpp
+++ b/
src/smpi/smpi_group.cpp
@@
-69,7
+69,7
@@
Group::~Group()
void Group::destroy()
{
void Group::destroy()
{
- if(this !=
smpi_comm_group(MPI_COMM_WORLD
)
+ if(this !=
MPI_COMM_WORLD->group(
)
&& this != MPI_GROUP_NULL
&& this != MPI_GROUP_EMPTY)
this->unuse();
&& this != MPI_GROUP_NULL
&& this != MPI_GROUP_EMPTY)
this->unuse();
@@
-169,9
+169,9
@@
int Group::incl(int n, int* ranks, MPI_Group* newgroup)
*newgroup = MPI_GROUP_EMPTY;
} else if (n == m_size) {
*newgroup = this;
*newgroup = MPI_GROUP_EMPTY;
} else if (n == m_size) {
*newgroup = this;
- if(this!=
smpi_comm_group(MPI_COMM_WORLD
)
+ if(this!=
MPI_COMM_WORLD->group(
)
&& this != MPI_GROUP_NULL
&& this != MPI_GROUP_NULL
- && this !=
smpi_comm_group(MPI_COMM_SELF
)
+ && this !=
MPI_COMM_SELF->group(
)
&& this != MPI_GROUP_EMPTY)
this->use();
} else {
&& this != MPI_GROUP_EMPTY)
this->use();
} else {