X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3080c6b0d097d6b3b7d5b3dda0592154ce438f64..5ca17dc381bb7fba4f2689143e2080f7549ee0ab:/teshsuite/smpi/mpich3-test/rma/transpose4.c diff --git a/teshsuite/smpi/mpich3-test/rma/transpose4.c b/teshsuite/smpi/mpich3-test/rma/transpose4.c index 6e81c43de7..1559a9d590 100644 --- a/teshsuite/smpi/mpich3-test/rma/transpose4.c +++ b/teshsuite/smpi/mpich3-test/rma/transpose4.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" @@ -14,17 +14,17 @@ #define NROWS 100 #define NCOLS 100 -int main(int argc, char *argv[]) -{ +int main(int argc, char *argv[]) +{ int rank, nprocs, A[NROWS][NCOLS], i, j; MPI_Comm CommDeuce; MPI_Win win; MPI_Datatype column, xpose; 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"); @@ -33,12 +33,11 @@ int main(int argc, char *argv[]) MPI_Comm_split(MPI_COMM_WORLD, (rank < 2), rank, &CommDeuce); - if (rank < 2) - { + if (rank < 2) { if (rank == 0) { - for (i=0; i