Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
5bca9eed95d5ce757317da2e6381e07ae5de8a78
[simgrid.git] / teshsuite / smpi / compute.tesh
1 p Test compute
2 ! setenv LD_LIBRARY_PATH=../../lib
3 ! output sort
4 $ ../../bin/smpirun -platform ${srcdir:=.}/../../examples/msg/small_platform_with_routers.xml -hostfile ${srcdir:=.}/hostfile -np 2 ./compute 0
5 > 0 2.000000
6 > 0 2.000000
7 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
8 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/precision' to '1e-9'
9 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
10 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP_gamma' to '4194304'
11
12 p Test compute and bench
13 ! setenv LD_LIBRARY_PATH=../../lib
14 ! output sort
15 $ ../../bin/smpirun  -platform ${srcdir:=.}/../../examples/msg/small_platform_with_routers.xml -hostfile ${srcdir:=.}/hostfile -np 2 ./compute3
16 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
17 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/precision' to '1e-9'
18 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
19 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP_gamma' to '4194304'
20 > [0] The result of the computation is: 65536.000000
21 > [1] The result of the computation is: 2.000000
22 > [rank:0] Run the first computation. It's globally benched, and I want no more than 3 benchmarks (thres<0)
23 > [rank:0] Run the first computation. It's globally benched, and I want no more than 3 benchmarks (thres<0)
24 > [rank:0] Run the first (locally benched) computation. It's locally benched, and I want the standard error to go below 0.1 second (count is not >0)
25 > [rank:0] Run the first (locally benched) computation. It's locally benched, and I want the standard error to go below 0.1 second (count is not >0)
26 > [rank:1] Run the first computation. It's globally benched, and I want no more than 3 benchmarks (thres<0)
27 > [rank:1] Run the first (locally benched) computation. It's locally benched, and I want the standard error to go below 0.1 second (count is not >0)
28 > [rank:1] Run the first (locally benched) computation. It's locally benched, and I want the standard error to go below 0.1 second (count is not >0)
29