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 $ ../../bin/smpirun -map -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../msg/small_platform.xml -np 3 ./bcast -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)
16 p Test Broadcast with as much processes than hosts
17 ! setenv LD_LIBRARY_PATH=../../lib
18 $ ../../bin/smpirun -map -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../msg/small_platform.xml -np 6 ./bcast -q
19 > [rank 0] -> Tremblay
23 > [rank 4] -> Bourassa
24 > [rank 5] -> Tremblay
25 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
26 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'TCP_gamma' to '4194304'
27 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
31 p Test Broadcast with more processes than hosts
32 ! setenv LD_LIBRARY_PATH=../../lib
33 $ ../../bin/smpirun -map -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../msg/small_platform.xml -np 12 ./bcast -q
34 > [rank 0] -> Tremblay
38 > [rank 4] -> Bourassa
39 > [rank 5] -> Tremblay
43 > [rank 9] -> Bourassa
44 > [rank 10] -> Tremblay
45 > [rank 11] -> Jupiter
46 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
47 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'TCP_gamma' to '4194304'
48 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)