X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fc0a76c21f0bceb0314aee5d62f785ea8009495e..b448ff580b2a86c3cfdc28566a9d8ed01bb11b74:/teshsuite/smpi/mpich3-test/rma/test1.c diff --git a/teshsuite/smpi/mpich3-test/rma/test1.c b/teshsuite/smpi/mpich3-test/rma/test1.c index b11995b8a0..eb2d1a141c 100644 --- a/teshsuite/smpi/mpich3-test/rma/test1.c +++ b/teshsuite/smpi/mpich3-test/rma/test1.c @@ -3,7 +3,7 @@ * (C) 2001 by Argonne National Laboratory. * See COPYRIGHT in top-level directory. */ -#include "mpi.h" +#include "mpi.h" #include "stdio.h" #include "mpitest.h" #include "squelch.h" @@ -12,16 +12,16 @@ #define SIZE 100 -int main(int argc, char *argv[]) -{ +int main(int argc, char *argv[]) +{ int rank, nprocs, A[SIZE], B[SIZE], i; MPI_Comm CommDeuce; MPI_Win win; int errs = 0; - - MTest_Init(&argc,&argv); - MPI_Comm_size(MPI_COMM_WORLD,&nprocs); - MPI_Comm_rank(MPI_COMM_WORLD,&rank); + + MTest_Init(&argc, &argv); + MPI_Comm_size(MPI_COMM_WORLD, &nprocs); + MPI_Comm_rank(MPI_COMM_WORLD, &rank); if (nprocs < 2) { printf("Run this program with 2 or more processes\n"); @@ -32,50 +32,52 @@ int main(int argc, char *argv[]) if (rank < 2) { if (rank == 0) { - for (i=0; i