X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b3b0436f0dd7d2216764a7c0d1f25ed9312d524e..5ec2b80b686983f84ebab7c7398a29e73286deee:/teshsuite/smpi/mpich3-test/rma/racc_local_comp.c diff --git a/teshsuite/smpi/mpich3-test/rma/racc_local_comp.c b/teshsuite/smpi/mpich3-test/rma/racc_local_comp.c index a86c766d1a..35c228a0df 100644 --- a/teshsuite/smpi/mpich3-test/rma/racc_local_comp.c +++ b/teshsuite/smpi/mpich3-test/rma/racc_local_comp.c @@ -33,10 +33,9 @@ int main(int argc, char *argv[]) MPI_Alloc_mem(MAX_SIZE * sizeof(int), MPI_INFO_NULL, &winbuf); MPI_Win_create(winbuf, MAX_SIZE * sizeof(int), sizeof(int), MPI_INFO_NULL, MPI_COMM_WORLD, &window); - - MPI_Win_lock_all(0, window); buf[0] = 0; winbuf[0]=0; + MPI_Win_lock_all(0, window); /* Test Raccumulate local completion with small data. * Small data is always copied to header packet as immediate data. */ if (rank == 1) {