Commit 68366bb7 authored by berenger-bramas's avatar berenger-bramas
Browse files

Simply change the group after the wait all.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/scalfmm/scalfmm/trunk@195 2616d619-271b-44dc-8df4-d4a8f33a7222
parent c961ad9f
......@@ -471,6 +471,8 @@ public:
indexArray += endIndex - firstIndex;
++idxProc;
}
// Proceed all send/receive
mpiassert( MPI_Waitall(iterRequest, requests, MPI_STATUSES_IGNORE), __LINE__ );
MpiChangeGroup(currentGroup, currentComm, 0, splitProc);
}
......@@ -506,12 +508,12 @@ public:
indexArray += endIndex - firstIndex;
++idxProc;
}
// Proceed all send/receive
mpiassert( MPI_Waitall(iterRequest, requests, MPI_STATUSES_IGNORE), __LINE__ );
MpiChangeGroup(currentGroup, currentComm, splitProc + 1, currentNbProcs - 1);
}
// Proceed all send/receive
mpiassert( MPI_Waitall(iterRequest, requests, MPI_STATUSES_IGNORE), __LINE__ );
// Copy res into outputArray
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment