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-testany.c
index 75bdb65..01acc80 100644 (file)
@@ -47,7 +47,7 @@ main (int argc, char **argv)
        MPI_Send (&flipbit, 1, MPI_INT, 1, i, MPI_COMM_WORLD);
 
        flag = 0;
-printf ("req = %0x", (unsigned int)reqs);
+       printf("req = %p", reqs);
        while (!flag)
            MPI_Testany (i, reqs, &done, &flag, &status);
 
@@ -56,7 +56,7 @@ printf ("req = %0x", (unsigned int)reqs);
     }
   else if (rank == 1)
     {
-      memset (buf0, 1, buf_size);
+      memset (buf0, 1, buf_size*sizeof(int));
 
       for (i = 3; i > 0; i--) {
        MPI_Recv (&flipbit, 1, MPI_INT, 0, i, MPI_COMM_WORLD, &status);