From: Augustin Degomme Date: Thu, 25 Jan 2018 00:39:33 +0000 (+0100) Subject: Try new fix for rget_testall. X-Git-Tag: v3.19~307 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/f9547fcad0c2d07d37c256d9f1c8135d2d479036 Try new fix for rget_testall. The test seems buggy, as the initialization part on one process may not be started when the other one reaches the second part, due to the way the locks are done. Add a barrier to separate initialization from computation. --- diff --git a/teshsuite/smpi/mpich3-test/rma/rget-testall.c b/teshsuite/smpi/mpich3-test/rma/rget-testall.c index 4f3eec243b..f4e0dd3085 100644 --- a/teshsuite/smpi/mpich3-test/rma/rget-testall.c +++ b/teshsuite/smpi/mpich3-test/rma/rget-testall.c @@ -38,7 +38,7 @@ int main(int argc, char **argv) baseptr[0] = 1; baseptr[1] = 2; MPI_Win_unlock(rank, win); - + MPI_Barrier(MPI_COMM_WORLD); /* Issue request-based get with testall. */ MPI_Win_lock_all(0, win); MPI_Rget(&val1, 1, MPI_INT, 0, 0, 1, MPI_INT, win, &reqs[0]);