Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
More fixes to VPATH testing
[simgrid.git] / examples / smpi / reduce.tesh
index 7d0df32..4d4b767 100644 (file)
@@ -4,7 +4,7 @@
 
 # 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
@@ -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 
-$ ../../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
@@ -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: ... 
->      [4] ok.
 >      [2] ok.
->      [0] ok.
 >      [5] ok.
+>      [4] ok.
+>      [0] 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 
-$ ../../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
@@ -87,13 +87,13 @@ $ ../../src/smpi/smpirun -map -hostfile hostfile -platform ../msg/small_platform
 > ** IBM Test Result: ... 
 >      [1] ok.
 >      [11] ok.
->      [0] ok.
 >      [5] ok.
 >      [10] ok.
+>      [0] ok.
 >      [3] ok.
 >      [8] ok.
->      [4] ok.
 >      [9] ok.
->      [2] ok.
+>      [4] ok.
 >      [7] ok.
+>      [2] ok.
 >      [6] ok.