# Go for the first test
p Test Reduce with 3 processes
! output sort
-$ ../../smpi_script/bin/smpirun -map -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../../examples/msg/small_platform.xml -np 3 ./reduce -q --log=smpi_kernel.thres:warning
+$ ${bindir:=.}/../../../bin/smpirun -map -hostfile ../hostfile -platform ../../../examples/msg/small_platform.xml -np 3 ${bindir:=.}/reduce -q --log=smpi_kernel.thres:warning
> [rank 0] -> Tremblay
> [rank 1] -> Jupiter
> [rank 2] -> Fafard
> [0] sum=6 ... validation ok.
> [0] min=1 ... validation ok.
> [0] max=3 ... validation ok.
-> ** IBM Test Result: ...
+> ** IBM Test Result: ...
> ok.
> ok.
> ok.
! setenv LD_LIBRARY_PATH=../../lib
! output sort
p Test Reduce with 5 processes
-$ ../../smpi_script/bin/smpirun -map -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../../examples/msg/small_platform.xml -np 5 ./reduce -q --log=smpi_kernel.thres:warning
+$ ${bindir:=.}/../../../bin/smpirun -map -hostfile ../hostfile -platform ../../../examples/msg/small_platform.xml -np 5 ${bindir:=.}/reduce -q --log=smpi_kernel.thres:warning
> [rank 0] -> Tremblay
> [rank 1] -> Jupiter
> [rank 2] -> Fafard
> [0] sum=15 ... validation ok.
> [0] min=1 ... validation ok.
> [0] max=5 ... validation ok.
-> ** IBM Test Result: ...
+> ** IBM Test Result: ...
> ok.
> ok.
> ok.
! output sort
! setenv LD_LIBRARY_PATH=../../lib
p Test Reduce with 12 processes
-$ ../../smpi_script/bin/smpirun -map -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../../examples/msg/small_platform.xml -np 12 ./reduce -q --log=smpi_kernel.thres:warning
+$ ${bindir:=.}/../../../bin/smpirun -map -hostfile ../hostfile -platform ../../../examples/msg/small_platform.xml -np 12 ${bindir:=.}/reduce -q --log=smpi_kernel.thres:warning
> You requested to use 12 processes, but there is only 5 processes in your hostfile...
> [rank 0] -> Tremblay
> [rank 1] -> Jupiter
> [0] sum=78 ... validation ok.
> [0] min=1 ... validation ok.
> [0] max=12 ... validation ok.
-> ** IBM Test Result: ...
+> ** IBM Test Result: ...
> ok.
> ok.
> ok.