Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
068916b50ec316d46f1d65839d781ba5b2c4c7a9
[simgrid.git] / teshsuite / smpi / pingpong / pt2pt.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:=.}/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.002945] [dsend/INFO] rank 0: data exchanged
10 > [rank 0] -> Tremblay
11 > [rank 1] -> Jupiter
12
13
14 p Test pingpong
15 ! setenv LD_LIBRARY_PATH=../../lib
16 ! output sort
17 $ ${bindir:=.}/../../../bin/smpirun -map -hostfile ../hostfile -platform ../../../examples/platforms/small_platform.xml -np 4 ${bindir:=.}/pingpong -q --log=smpi_kernel.thres:warning
18 >     *** Ping-pong test (MPI_Send/MPI_Recv) ***
19 > == pivot=0 : pingpong [0] <--> [1]
20 > == pivot=1 : pingpong [1] <--> [2]
21 > == pivot=2 : pingpong [2] <--> [3]
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 > [0] About to send 1st message '99' to process [1]
26 > [0] Received reply message '100' from process [1]
27 > [1] About to send 1st message '100' to process [2]
28 > [1] About to send back message '100' to process [0]
29 > [1] Received 1st message '99' from process [0]
30 > [1] Received reply message '101' from process [2]
31 > [1] increment message's value to  '100'
32 > [2] About to send 1st message '101' to process [3]
33 > [2] About to send back message '101' to process [1]
34 > [2] Received 1st message '100' from process [1]
35 > [2] Received reply message '102' from process [3]
36 > [2] increment message's value to  '101'
37 > [3] About to send back message '102' to process [2]
38 > [3] Received 1st message '101' from process [2]
39 > [3] increment message's value to  '102'
40 > [rank 0] -> Tremblay
41 > [rank 1] -> Jupiter
42 > [rank 2] -> Fafard
43 > [rank 3] -> Ginette
44