1 # use the tested library, not the installed one
2 # (since we want to pass it to the child, it has to be redefined before each command)
3 ! setenv LD_LIBRARY_PATH=../../lib
5 # Go for the first test
6 p Test Reduce with 3 processes
7 $ ../../bin/smpirun -map -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../msg/small_platform.xml -np 3 ./reduce -q
11 > ** Scalar Int Test Result:
12 > [0] sum=6 ... validation ok.
13 > [0] min=1 ... validation ok.
14 > [0] max=3 ... validation ok.
15 > ** IBM Test Result: ...
21 ! setenv LD_LIBRARY_PATH=../../lib
22 p Test Reduce with 6 processes
23 $ ../../bin/smpirun -map -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../msg/small_platform.xml -np 6 ./reduce -q
24 > [rank 0] -> Tremblay
28 > [rank 4] -> Bourassa
29 > [rank 5] -> Tremblay
30 > ** Scalar Int Test Result:
31 > [0] sum=21 ... validation ok.
32 > [0] min=1 ... validation ok.
33 > [0] max=6 ... validation ok.
34 > ** IBM Test Result: ...
44 ! setenv LD_LIBRARY_PATH=../../lib
45 p Test Reduce with 12 processes
46 $ ../../bin/smpirun -map -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../msg/small_platform.xml -np 12 ./reduce -q
47 > [rank 0] -> Tremblay
51 > [rank 4] -> Bourassa
52 > [rank 5] -> Tremblay
56 > [rank 9] -> Bourassa
57 > [rank 10] -> Tremblay
58 > [rank 11] -> Jupiter
59 > ** Scalar Int Test Result:
60 > [0] sum=78 ... validation ok.
61 > [0] min=1 ... validation ok.
62 > [0] max=12 ... validation ok.
63 > ** IBM Test Result: ...