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
Better organization of header files
[simgrid.git]
/
examples
/
smpi
/
reduce.tesh
diff --git
a/examples/smpi/reduce.tesh
b/examples/smpi/reduce.tesh
index
7d0df32
..
4d4b767
100644
(file)
--- a/
examples/smpi/reduce.tesh
+++ b/
examples/smpi/reduce.tesh
@@
-4,7
+4,7
@@
# Go for the first test
p Test Reduce with 3 processes
# Go for the first test
p Test Reduce with 3 processes
-$ ../../src/smpi/smpirun -map -hostfile
hostfile -platform
../msg/small_platform.xml -np 3 ./reduce
+$ ../../src/smpi/smpirun -map -hostfile
${srcdir:=.}/hostfile -platform ${srcdir:=.}/
../msg/small_platform.xml -np 3 ./reduce
> [rank 0] -> Tremblay
> [rank 1] -> Jupiter
> [rank 2] -> Fafard
> [rank 0] -> Tremblay
> [rank 1] -> Jupiter
> [rank 2] -> Fafard
@@
-24,7
+24,7
@@
$ ../../src/smpi/smpirun -map -hostfile hostfile -platform ../msg/small_platform
# second test
! setenv LD_LIBRARY_PATH=../../src/.libs
p Test Reduce with 6 processes
# second test
! setenv LD_LIBRARY_PATH=../../src/.libs
p Test Reduce with 6 processes
-$ ../../src/smpi/smpirun -map -hostfile
hostfile -platform
../msg/small_platform.xml -np 6 ./reduce
+$ ../../src/smpi/smpirun -map -hostfile
${srcdir:=.}/hostfile -platform ${srcdir:=.}/
../msg/small_platform.xml -np 6 ./reduce
> [rank 0] -> Tremblay
> [rank 1] -> Jupiter
> [rank 2] -> Fafard
> [rank 0] -> Tremblay
> [rank 1] -> Jupiter
> [rank 2] -> Fafard
@@
-43,10
+43,10
@@
$ ../../src/smpi/smpirun -map -hostfile hostfile -platform ../msg/small_platform
> [0] max=6 ... validation ok.
> Elapsed time=0.007907 s
> ** IBM Test Result: ...
> [0] max=6 ... validation ok.
> Elapsed time=0.007907 s
> ** IBM Test Result: ...
-> [4] ok.
> [2] ok.
> [2] ok.
-> [0] ok.
> [5] ok.
> [5] ok.
+> [4] ok.
+> [0] ok.
> [1] ok.
> [3] ok.
> [1] ok.
> [3] ok.
@@
-54,7
+54,7
@@
$ ../../src/smpi/smpirun -map -hostfile hostfile -platform ../msg/small_platform
# third test
! setenv LD_LIBRARY_PATH=../../src/.libs
p Test Reduce with 12 processes
# third test
! setenv LD_LIBRARY_PATH=../../src/.libs
p Test Reduce with 12 processes
-$ ../../src/smpi/smpirun -map -hostfile
hostfile -platform
../msg/small_platform.xml -np 12 ./reduce
+$ ../../src/smpi/smpirun -map -hostfile
${srcdir:=.}/hostfile -platform ${srcdir:=.}/
../msg/small_platform.xml -np 12 ./reduce
> [rank 0] -> Tremblay
> [rank 1] -> Jupiter
> [rank 2] -> Fafard
> [rank 0] -> Tremblay
> [rank 1] -> Jupiter
> [rank 2] -> Fafard
@@
-87,13
+87,13
@@
$ ../../src/smpi/smpirun -map -hostfile hostfile -platform ../msg/small_platform
> ** IBM Test Result: ...
> [1] ok.
> [11] ok.
> ** IBM Test Result: ...
> [1] ok.
> [11] ok.
-> [0] ok.
> [5] ok.
> [10] ok.
> [5] ok.
> [10] ok.
+> [0] ok.
> [3] ok.
> [8] ok.
> [3] ok.
> [8] ok.
-> [4] ok.
> [9] ok.
> [9] ok.
-> [
2
] ok.
+> [
4
] ok.
> [7] ok.
> [7] ok.
+> [2] ok.
> [6] ok.
> [6] ok.