Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Hide xbt_cfg cruft from smpi tesh files.
[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 --log=xbt_cfg.thres:warning
5 > [Jupiter:1:(2) 0.000000] [dsend/INFO] rank 1: data exchanged
6 > [Tremblay:0:(1) 0.005890] [dsend/INFO] rank 0: data exchanged
7 > [rank 0] -> Tremblay
8 > [rank 1] -> Jupiter
9
10 p Test dsend with timings injection
11 p message size is 4 bytes
12 p process 1 will finish at 0.5+2*4 (send) + 1+0.1*4 (isend) = 9.9s
13 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
14 ! setenv LD_LIBRARY_PATH=../../lib
15 ! output sort
16 $ ${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 --log=xbt_cfg.thres:warning
17 > [Jupiter:1:(2) 9.900000] [dsend/INFO] rank 1: data exchanged
18 > [Tremblay:0:(1) 14.505890] [dsend/INFO] rank 0: data exchanged
19 > [rank 0] -> Tremblay
20 > [rank 1] -> Jupiter