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