# 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
# 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
> [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.
# 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
> ** 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.