X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c81c99a491282f76757c2673961e3cdee6853539..fe4080b8dd04acb2074ca72d36e3019acddea455:/teshsuite/smpi/mpich3-test/coll/gather2.c diff --git a/teshsuite/smpi/mpich3-test/coll/gather2.c b/teshsuite/smpi/mpich3-test/coll/gather2.c index 3c47467cb0..f8836f4ef3 100644 --- a/teshsuite/smpi/mpich3-test/coll/gather2.c +++ b/teshsuite/smpi/mpich3-test/coll/gather2.c @@ -12,79 +12,77 @@ /* Gather data from a vector to contiguous. Use IN_PLACE */ -int main( int argc, char **argv ) +int main(int argc, char **argv) { MPI_Datatype vec; double *vecin, *vecout; MPI_Comm comm; - int count, minsize = 2; - int root, i, n, stride, errs = 0; - int rank, size; + int count, minsize = 2; + int root, i, n, stride, errs = 0; + int rank, size; - MTest_Init( &argc, &argv ); + MTest_Init(&argc, &argv); - while (MTestGetIntracommGeneral( &comm, minsize, 1 )) { - if (comm == MPI_COMM_NULL) continue; - /* Determine the sender and receiver */ - MPI_Comm_rank( comm, &rank ); - MPI_Comm_size( comm, &size ); - - for (root=0; root