Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Reactivate an umpire test, once disabled in 56fefe1bf81ca.
[simgrid.git] / teshsuite / smpi / isp / umpire / no-error-persistent-test.c
index 1fac72d..c8ac0d9 100644 (file)
@@ -19,7 +19,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];
@@ -66,7 +66,7 @@ main (int argc, char **argv)
          MPI_Start (&aReq[j]);
        }
       }
-    
+
       /* complete the sends */
       if (k < 2) {
        /* use MPI_Test */
@@ -88,7 +88,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... */