X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d0ffc37686edcc803601f76ab51fdfed5fc2f241..2f05e1ad3da18da4f302d234631e217a83134826:/teshsuite/smpi/mpich3-test/coll/coll12.c diff --git a/teshsuite/smpi/mpich3-test/coll/coll12.c b/teshsuite/smpi/mpich3-test/coll/coll12.c index d493a5948f..494fa8a815 100644 --- a/teshsuite/smpi/mpich3-test/coll/coll12.c +++ b/teshsuite/smpi/mpich3-test/coll/coll12.c @@ -10,64 +10,71 @@ #define TABLE_SIZE 2 -int main( int argc, char **argv ) +int main(int argc, char **argv) { - int rank, size; - double a[TABLE_SIZE]; - struct { double a; int b; } in[TABLE_SIZE], out[TABLE_SIZE]; - int i; - int errors = 0; + int rank, size; + double a[TABLE_SIZE]; + struct { + double a; + int b; + } in[TABLE_SIZE], out[TABLE_SIZE]; + int i; + int errors = 0; - /* Initialize the environment and some variables */ - MTest_Init( &argc, &argv ); - MPI_Comm_rank( MPI_COMM_WORLD, &rank ); - MPI_Comm_size( MPI_COMM_WORLD, &size ); + /* Initialize the environment and some variables */ + MTest_Init(&argc, &argv); + MPI_Comm_rank(MPI_COMM_WORLD, &rank); + MPI_Comm_size(MPI_COMM_WORLD, &size); - /* Initialize the maxloc data */ - for ( i=0; i