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 Broadcast with less processes than hosts
5 $ ${bindir:=.}/../../../bin/smpirun -map -hostfile ../hostfile_coll -platform ../../../examples/platforms/small_platform.xml -np 3 ${bindir:=.}/bcast -q --log=smpi_kernel.thres:warning
9 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'surf/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 'network/TCP_gamma' to '4194304'
14 p Test Broadcast with as much processes than hosts
15 ! setenv LD_LIBRARY_PATH=../../lib
16 $ ${bindir:=.}/../../../bin/smpirun -map -hostfile ../hostfile_coll -platform ../../../examples/platforms/small_platform.xml -np 5 ${bindir:=.}/bcast -q --log=smpi_kernel.thres:warning
17 > [rank 0] -> Tremblay
18 > [rank 1] -> Tremblay
19 > [rank 2] -> Tremblay
20 > [rank 3] -> Tremblay
22 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'surf/precision' to '1e-9'
23 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
24 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP_gamma' to '4194304'
27 p Test Broadcast with more processes than hosts
28 ! setenv LD_LIBRARY_PATH=../../lib
29 $ ${bindir:=.}/../../../bin/smpirun -map -hostfile ../hostfile_coll -platform ../../../examples/platforms/small_platform.xml -np 12 ${bindir:=.}/bcast -q --log=smpi_kernel.thres:warning
30 > [rank 0] -> Tremblay
31 > [rank 1] -> Tremblay
32 > [rank 2] -> Tremblay
33 > [rank 3] -> Tremblay
42 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'surf/precision' to '1e-9'
43 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
44 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP_gamma' to '4194304'