Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Finally test for timing injection in MPI_Send, MPI_Isend, MPI_Recv
[simgrid.git] / teshsuite / smpi / pt2pt-dsend / pt2pt-dsend.tesh
1 p Test dsend
2 ! setenv LD_LIBRARY_PATH=../../lib
3 ! output sort
4 $ ${bindir:=.}/../../../bin/smpirun -map -hostfile ../hostfile -platform ../../../examples/platforms/small_platform.xml -np 2 ${bindir:=.}/pt2pt-dsend -q --log=smpi_kernel.thres:warning
5 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'surf/precision' to '1e-9'
6 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
7 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP-gamma' to '4194304'
8 > [Jupiter:1:(2) 0.000000] [dsend/INFO] rank 1: data exchanged
9 > [Tremblay:0:(1) 0.005890] [dsend/INFO] rank 0: data exchanged
10 > [rank 0] -> Tremblay
11 > [rank 1] -> Jupiter
12
13 p Test dsend with timings injection
14 p message size is 4 bytes
15 p process 1 will finish at 0.5+2*4 (send) + 1+0.1*4 (isend) = 9.9s
16 p process 2 will finish at 0.5+2*4 (time before first send) + 2*(1+0.5*4) (recv+irecv) + 0.005890 (network time, same as before) = 14.505890s
17 ! setenv LD_LIBRARY_PATH=../../lib
18 ! output sort
19 $ ${bindir:=.}/../../../bin/smpirun -map -hostfile ../hostfile -platform ../../../examples/platforms/small_platform.xml -np 2 ${bindir:=.}/pt2pt-dsend -q --log=smpi_kernel.thres:warning --cfg=smpi/or:0:1:0.5 --cfg=smpi/os:0:0.5:2 --cfg=smpi/ois:0:1:0.1
20 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'smpi/ois' to '0:1:0.1'
21 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'smpi/or' to '0:1:0.5'
22 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'smpi/os' to '0:0.5:2'
23 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'surf/precision' to '1e-9'
24 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
25 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP-gamma' to '4194304'
26 > [Jupiter:1:(2) 9.900000] [dsend/INFO] rank 1: data exchanged
27 > [Tremblay:0:(1) 14.505890] [dsend/INFO] rank 0: data exchanged
28 > [rank 0] -> Tremblay
29 > [rank 1] -> Jupiter