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=../../src/.libs
5 # Go for the first test
6 p Test Reduce with 3 processes
7 $ ../../src/smpi/smpirun -map -hostfile hostfile -platform ../msg/small_platform.xml -np 3 ./reduce
14 > ** Scalar Int Test Result:
15 > [0] sum=6 ... validation ok.
16 > [0] min=1 ... validation ok.
17 > [0] max=3 ... validation ok.
18 > Elapsed time=0.007907 s
19 > ** IBM Test Result: ...
25 ! setenv LD_LIBRARY_PATH=../../src/.libs
26 p Test Reduce with 6 processes
27 $ ../../src/smpi/smpirun -map -hostfile hostfile -platform ../msg/small_platform.xml -np 6 ./reduce
28 > [rank 0] -> Tremblay
32 > [rank 4] -> Bourassa
33 > [rank 5] -> Tremblay
40 > ** Scalar Int Test Result:
41 > [0] sum=21 ... validation ok.
42 > [0] min=1 ... validation ok.
43 > [0] max=6 ... validation ok.
44 > Elapsed time=0.007907 s
45 > ** IBM Test Result: ...
55 ! setenv LD_LIBRARY_PATH=../../src/.libs
56 p Test Reduce with 12 processes
57 $ ../../src/smpi/smpirun -map -hostfile hostfile -platform ../msg/small_platform.xml -np 12 ./reduce
58 > [rank 0] -> Tremblay
62 > [rank 4] -> Bourassa
63 > [rank 5] -> Tremblay
67 > [rank 9] -> Bourassa
68 > [rank 10] -> Tremblay
69 > [rank 11] -> Jupiter
82 > ** Scalar Int Test Result:
83 > [0] sum=78 ... validation ok.
84 > [0] min=1 ... validation ok.
85 > [0] max=12 ... validation ok.
86 > Elapsed time=0.007908 s
87 > ** IBM Test Result: ...