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
do-nothing program that uses only MPI_Init and MPI_Finalize works now.
[simgrid.git]
/
src
/
smpi
/
sample
/
first.c
diff --git
a/src/smpi/sample/first.c
b/src/smpi/sample/first.c
index
e37fe80
..
e48d03a
100644
(file)
--- a/
src/smpi/sample/first.c
+++ b/
src/smpi/sample/first.c
@@
-25,6
+25,8
@@
int main(int argc, char *argv[])
printf("root node believes there are %d nodes in world.\n", size);
}
+ sleep(20);
+
err = MPI_Finalize(); /* Terminate MPI */
return 0;
}