Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
test getopt, getopt_long, getopt_long_only wrappers
[simgrid.git] / teshsuite / smpi / pt2pt-dsend / pt2pt-dsend.tesh
1 p Test dsend
2 ! output sort
3 $ ${bindir:=.}/../../../smpi_script/bin/smpirun -map -hostfile ${bindir:=.}/../hostfile -platform ${platfdir}/small_platform.xml -np 2 ${bindir:=.}/pt2pt-dsend -s --long --log=smpi_kernel.thres:warning --log=xbt_cfg.thres:warning --cfg=smpi/simulate-computation:no
4 > [Jupiter:1:(2) 0.000000] [dsend/INFO] rank 1: data exchanged
5 > [Tremblay:0:(1) 0.005890] [dsend/INFO] rank 0: data exchanged
6 > [rank 0] -> Tremblay
7 > [rank 1] -> Jupiter
8
9 p Test dsend with timings injection
10 p message size is 4 bytes
11 p process 1 will finish at 0.5+2*4 (send) + 1+0.1*4 (isend) = 9.9s
12 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
13 ! output sort
14 $ ${bindir:=.}/../../../smpi_script/bin/smpirun -map -hostfile ${bindir:=.}/../hostfile -platform ${platfdir}/small_platform.xml -np 2 ${bindir:=.}/pt2pt-dsend -s --long --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 --cfg=smpi/simulate-computation:no --log=xbt_cfg.thres:warning
15 > [Jupiter:1:(2) 9.900000] [dsend/INFO] rank 1: data exchanged
16 > [Tremblay:0:(1) 14.505890] [dsend/INFO] rank 0: data exchanged
17 > [rank 0] -> Tremblay
18 > [rank 1] -> Jupiter