Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
d1c10991ee36a6a808f0e35619ffe1cf8f6c15d4
[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/msg/small_platform.xml -np 2 ${bindir:=.}/dsend -q --log=smpi_kernel.thres:warning
5 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
6 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/precision' to '1e-9'
7 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'surf/precision' to '1e-9'
8 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
9 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP_gamma' to '4194304'
10 > [Jupiter:1:(0) 0.000000] [dsend/INFO] rank 1: data exchanged
11 > [Tremblay:0:(0) 0.002945] [dsend/INFO] rank 0: data exchanged
12 > [rank 0] -> Tremblay
13 > [rank 1] -> Jupiter
14
15
16 p Test pingpong
17 ! setenv LD_LIBRARY_PATH=../../lib
18 ! output sort
19 $ ${bindir:=.}/../../../bin/smpirun -map -hostfile ../hostfile -platform ../../../examples/msg/small_platform.xml -np 4 ${bindir:=.}/pingpong -q --log=smpi_kernel.thres:warning
20 >     *** Ping-pong test (MPI_Send/MPI_Recv) ***
21 > == pivot=0 : pingpong [0] <--> [1]
22 > == pivot=1 : pingpong [1] <--> [2]
23 > == pivot=2 : pingpong [2] <--> [3]
24 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
25 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/precision' to '1e-9'
26 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'surf/precision' to '1e-9'
27 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
28 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP_gamma' to '4194304'
29 > [0] About to send 1st message '99' to process [1]
30 > [0] Received reply message '100' from process [1]
31 > [1] About to send 1st message '100' to process [2]
32 > [1] About to send back message '100' to process [0]
33 > [1] Received 1st message '99' from process [0]
34 > [1] Received reply message '101' from process [2]
35 > [1] increment message's value to  '100'
36 > [2] About to send 1st message '101' to process [3]
37 > [2] About to send back message '101' to process [1]
38 > [2] Received 1st message '100' from process [1]
39 > [2] Received reply message '102' from process [3]
40 > [2] increment message's value to  '101'
41 > [3] About to send back message '102' to process [2]
42 > [3] Received 1st message '101' from process [2]
43 > [3] increment message's value to  '102'
44 > [rank 0] -> Tremblay
45 > [rank 1] -> Jupiter
46 > [rank 2] -> Fafard
47 > [rank 3] -> Ginette
48