X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fff5fbf696a8eaf8a7f230c4e15c763db690bcc3..e94c2a7fc81a82998524aa55db075be69990d4ea:/teshsuite/smpi/isp/umpire/no-error-persistent-all-completions.c diff --git a/teshsuite/smpi/isp/umpire/no-error-persistent-all-completions.c b/teshsuite/smpi/isp/umpire/no-error-persistent-all-completions.c index 03267e3521..6d9648fed9 100644 --- a/teshsuite/smpi/isp/umpire/no-error-persistent-all-completions.c +++ b/teshsuite/smpi/isp/umpire/no-error-persistent-all-completions.c @@ -20,7 +20,7 @@ main (int argc, char **argv) { int nprocs = -1; int rank = -1; - int comm = MPI_COMM_WORLD; + MPI_Comm comm = MPI_COMM_WORLD; char processor_name[128]; int namelen = 128; int buf[BUF_SIZE * 2]; @@ -67,7 +67,7 @@ main (int argc, char **argv) MPI_Start (&aReq[j]); } } - + /* complete the sends */ switch (k/2) { case 0: @@ -146,7 +146,7 @@ main (int argc, char **argv) else if (rank == 1) { /* set up receives for all of the sends */ for (j = 0; j < 2; j++) { - MPI_Irecv (&buf[j * BUF_SIZE], BUF_SIZE, + MPI_Irecv (&buf[j * BUF_SIZE], BUF_SIZE, MPI_INT, 0, j, comm, &aReq[j]); } /* complete all of the receives... */