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 umpire issues : MPI_Comm cannot be safely put inside an int
[simgrid.git]
/
teshsuite
/
smpi
/
isp
/
umpire
/
comm-translate-ranks.c
diff --git
a/teshsuite/smpi/isp/umpire/comm-translate-ranks.c
b/teshsuite/smpi/isp/umpire/comm-translate-ranks.c
index
f3d09bd
..
c6e54ca
100644
(file)
--- a/
teshsuite/smpi/isp/umpire/comm-translate-ranks.c
+++ b/
teshsuite/smpi/isp/umpire/comm-translate-ranks.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);
}