From f9547fcad0c2d07d37c256d9f1c8135d2d479036 Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Thu, 25 Jan 2018 01:39:33 +0100 Subject: [PATCH 1/1] 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. --- teshsuite/smpi/mpich3-test/rma/rget-testall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]); -- 2.20.1