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
6 $ ${bindir:=.}/../../../bin/smpirun -map -hostfile ../hostfile -platform ../../../examples/msg/small_platform.xml -np 3 ${bindir:=.}/reduce -q --log=smpi_kernel.thres:warning
10 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/precision' to '1e-3'
11 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'surf/precision' to '1e-9'
12 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
13 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP_gamma' to '4194304'
14 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
15 > ** Scalar Int Test Result:
16 > [0] sum=6 ... validation ok.
17 > [0] min=1 ... validation ok.
18 > [0] max=3 ... validation ok.
19 > ** IBM Test Result: ...
25 ! setenv LD_LIBRARY_PATH=../../lib
27 p Test Reduce with 5 processes
28 $ ${bindir:=.}/../../../bin/smpirun -map -hostfile ../hostfile -platform ../../../examples/msg/small_platform.xml -np 5 ${bindir:=.}/reduce -q --log=smpi_kernel.thres:warning
29 > [rank 0] -> Tremblay
33 > [rank 4] -> Bourassa
34 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/precision' to '1e-3'
35 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'surf/precision' to '1e-9'
36 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
37 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP_gamma' to '4194304'
38 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
39 > ** Scalar Int Test Result:
40 > [0] sum=15 ... validation ok.
41 > [0] min=1 ... validation ok.
42 > [0] max=5 ... validation ok.
43 > ** IBM Test Result: ...
52 ! setenv LD_LIBRARY_PATH=../../lib
53 p Test Reduce with 12 processes
54 $ ${bindir:=.}/../../../bin/smpirun -map -hostfile ../hostfile -platform ../../../examples/msg/small_platform.xml -np 12 ${bindir:=.}/reduce -q --log=smpi_kernel.thres:warning
55 > You requested to use 12 processes, but there is only 5 processes in your hostfile...
56 > [rank 0] -> Tremblay
60 > [rank 4] -> Bourassa
61 > [rank 5] -> Tremblay
65 > [rank 9] -> Bourassa
66 > [rank 10] -> Tremblay
67 > [rank 11] -> Jupiter
68 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/precision' to '1e-3'
69 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'surf/precision' to '1e-9'
70 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
71 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP_gamma' to '4194304'
72 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
73 > ** Scalar Int Test Result:
74 > [0] sum=78 ... validation ok.
75 > [0] min=1 ... validation ok.
76 > [0] max=12 ... validation ok.
77 > ** IBM Test Result: ...