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 # Go for the first test
4 p Test Reduce with 3 processes
5 $ ../../bin/smpirun -map -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../msg/small_platform.xml -np 3 ./reduce -q
9 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
10 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'TCP_gamma' to '4194304'
11 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
12 > ** Scalar Int Test Result:
13 > [0] sum=6 ... validation ok.
14 > [0] min=1 ... validation ok.
15 > [0] max=3 ... validation ok.
16 > ** IBM Test Result: ...
22 ! setenv LD_LIBRARY_PATH=../../lib
23 p Test Reduce with 6 processes
24 $ ../../bin/smpirun -map -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../msg/small_platform.xml -np 6 ./reduce -q
25 > [rank 0] -> Tremblay
29 > [rank 4] -> Bourassa
30 > [rank 5] -> Tremblay
31 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
32 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'TCP_gamma' to '4194304'
33 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
34 > ** Scalar Int Test Result:
35 > [0] sum=21 ... validation ok.
36 > [0] min=1 ... validation ok.
37 > [0] max=6 ... validation ok.
38 > ** IBM Test Result: ...
48 ! setenv LD_LIBRARY_PATH=../../lib
49 p Test Reduce with 12 processes
50 $ ../../bin/smpirun -map -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../msg/small_platform.xml -np 12 ./reduce -q
51 > [rank 0] -> Tremblay
55 > [rank 4] -> Bourassa
56 > [rank 5] -> Tremblay
60 > [rank 9] -> Bourassa
61 > [rank 10] -> Tremblay
62 > [rank 11] -> Jupiter
63 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
64 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'TCP_gamma' to '4194304'
65 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
66 > ** Scalar Int Test Result:
67 > [0] sum=78 ... validation ok.
68 > [0] min=1 ... validation ok.
69 > [0] max=12 ... validation ok.
70 > ** IBM Test Result: ...