X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/826897d361add5db3272a9810e70371a40ba1660..423d7030351c36ce3407ddcb943413bb8961712c:/teshsuite/smpi/mpich3-test/rma/test5_am.c diff --git a/teshsuite/smpi/mpich3-test/rma/test5_am.c b/teshsuite/smpi/mpich3-test/rma/test5_am.c index f0482d357b..9e963f0ce6 100644 --- a/teshsuite/smpi/mpich3-test/rma/test5_am.c +++ b/teshsuite/smpi/mpich3-test/rma/test5_am.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" @@ -14,17 +14,17 @@ #define SIZE 2000 -int main(int argc, char *argv[]) -{ +int main(int argc, char *argv[]) +{ int rank, nprocs, i, *A, *B; MPI_Comm CommDeuce; MPI_Win win; int errs = 0; - MTest_Init(&argc,&argv); + MTest_Init(&argc, &argv); - MPI_Comm_size(MPI_COMM_WORLD,&nprocs); - MPI_Comm_rank(MPI_COMM_WORLD, &rank); + 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"); @@ -46,34 +46,34 @@ int main(int argc, char *argv[]) } if (rank == 0) { - for (i=0; i