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
cosmetics
[simgrid.git]
/
src
/
smpi
/
sample
/
compute.c
diff --git
a/src/smpi/sample/compute.c
b/src/smpi/sample/compute.c
index
26ce12a
..
2e4b0e3
100644
(file)
--- a/
src/smpi/sample/compute.c
+++ b/
src/smpi/sample/compute.c
@@
-13,6
+13,7
@@
int main(int argc, char *argv[]) {
}
}
printf("%d %f\n", i, d);
+ MPI_Comm_rank(MPI_COMM_WORLD, &i);
MPI_Finalize();
return 0;
}