Logo AND Algorithmique Numérique Distribuée

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