Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix umpire issues : MPI_Comm cannot be safely put inside an int
[simgrid.git] / teshsuite / smpi / isp / umpire / pt2pt-byte-int-mismatch.c
index 36c71f5..13fbd55 100644 (file)
@@ -26,7 +26,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 bbuf[(BUF_SIZE + MPI_BSEND_OVERHEAD) * 2 * NUM_BSEND_TYPES];