X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6f2e9113097b642198bdf52fc3a85a5593fa17cd..d5b29830df70e823202e384a7655e4371193ecd7:/teshsuite/smpi/isp/umpire/comm-simple.c diff --git a/teshsuite/smpi/isp/umpire/comm-simple.c b/teshsuite/smpi/isp/umpire/comm-simple.c index 274769a249..d5946a73bb 100644 --- a/teshsuite/smpi/isp/umpire/comm-simple.c +++ b/teshsuite/smpi/isp/umpire/comm-simple.c @@ -17,7 +17,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; MPI_Comm newcomm; @@ -45,7 +45,7 @@ main (int argc, char **argv) MPI_Comm_size (newcomm, &nsize); MPI_Comm_rank (newcomm, &nrank); - printf ("world task %d/%d/%d maps to new comm task %d/%d/%d\n", + printf ("world task %p/%d/%d maps to new comm task %p/%d/%d\n", comm, nprocs, rank, newcomm, nsize, nrank); if (nrank == 0) @@ -55,7 +55,7 @@ main (int argc, char **argv) MPI_Bcast (&dat, 1, MPI_INT, 0, newcomm); - printf ("world task %d/%d/%d maps to new comm task %d/%d/%d --> %d\n", + printf ("world task %p/%d/%d maps to new comm task %p/%d/%d --> %d\n", comm, nprocs, rank, newcomm, nsize, nrank, dat); }