Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
9bcbfa9970299b81ba82374d006d39e9509be608
[simgrid.git] / teshsuite / smpi / pt2pt-pingpong / pt2pt-pingpong.tesh
1 p Test pingpong
2 ! setenv LD_LIBRARY_PATH=../../lib
3 ! output sort
4 $ ${bindir:=.}/../../../smpi_script/bin/smpirun -map -hostfile ../hostfile -platform ../../../examples/platforms/small_platform.xml -np 4 ${bindir:=.}/pt2pt-pingpong -q --log=smpi_kernel.thres:warning --log=xbt_cfg.thres:warning
5 >     *** Ping-pong test (MPI_Send/MPI_Recv) ***
6 >
7 >
8 >
9 >
10 >
11 > == pivot=0 : pingpong [0] <--> [1]
12 > == pivot=1 : pingpong [1] <--> [2]
13 > == pivot=2 : pingpong [2] <--> [3]
14 > [0] About to send 1st message '99' to process [1]
15 > [0] Received reply message '100' from process [1]
16 > [1] About to send 1st message '100' to process [2]
17 > [1] About to send back message '100' to process [0]
18 > [1] Received 1st message '99' from process [0]
19 > [1] Received reply message '101' from process [2]
20 > [1] increment message's value to  '100'
21 > [2] About to send 1st message '101' to process [3]
22 > [2] About to send back message '101' to process [1]
23 > [2] Received 1st message '100' from process [1]
24 > [2] Received reply message '102' from process [3]
25 > [2] increment message's value to  '101'
26 > [3] About to send back message '102' to process [2]
27 > [3] Received 1st message '101' from process [2]
28 > [3] increment message's value to  '102'
29 > [rank 0] -> Tremblay
30 > [rank 1] -> Jupiter
31 > [rank 2] -> Fafard
32 > [rank 3] -> Ginette