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