X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fff5fbf696a8eaf8a7f230c4e15c763db690bcc3..77bbf3027c4240a2e833209a3a3f186589da8577:/teshsuite/smpi/isp/umpire/basic-deadlock-intercomm_merge.c diff --git a/teshsuite/smpi/isp/umpire/basic-deadlock-intercomm_merge.c b/teshsuite/smpi/isp/umpire/basic-deadlock-intercomm_merge.c index e9361205b6..587569c5ce 100644 --- a/teshsuite/smpi/isp/umpire/basic-deadlock-intercomm_merge.c +++ b/teshsuite/smpi/isp/umpire/basic-deadlock-intercomm_merge.c @@ -46,7 +46,7 @@ main (int argc, char **argv) INTERCOMM_CREATE_TAG, &intercomm); MPI_Comm_free (&temp); - + if (intercomm == MPI_COMM_NULL) { printf ("(%d) MPI_Intercomm_Create returned MPI_COMM_NULL\n", rank); printf ("(%d) Aborting...\n", rank); @@ -61,11 +61,11 @@ main (int argc, char **argv) if (comm != MPI_COMM_NULL) { MPI_Comm_size (comm, &dnprocs); MPI_Comm_rank (comm, &drank); - + if (dnprocs > 1) { if (drank == 0) { memset (buf0, 0, buf_size); - + MPI_Recv (buf1, buf_size, MPI_INT, 1, 0, comm, &status); MPI_Send (buf0, buf_size, MPI_INT, 1, 0, comm);