Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
VM.setBound(int load) is now VM.setBound(double bound) to meet the MSG semantics...
[simgrid.git] / teshsuite / smpi / bcast / bcast.tesh
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
6 > [rank 0] -> Tremblay
7 > [rank 1] -> Tremblay
8 > [rank 2] -> Tremblay
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'
12
13 # second test
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
21 > [rank 4] -> Jupiter
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'
25
26 # Another test
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
34 > [rank 4] -> Jupiter
35 > [rank 5] -> Jupiter
36 > [rank 6] -> Jupiter
37 > [rank 7] -> Jupiter
38 > [rank 8] -> Fafard
39 > [rank 9] -> Fafard
40 > [rank 10] -> Fafard
41 > [rank 11] -> Fafard
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'