A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix compilation warnings in ISP testsuite (mostly unused variables).
[simgrid.git]
/
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
274769a
..
d5946a7
100644
(file)
--- 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);
}