Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Stop using default mpi_call
[simgrid.git] / examples / smpi / mc / sendsend.tesh
1 #! ./tesh
2
3 p Testing the permissive model
4 ! timeout 60
5 $ $VALGRIND_NO_LEAK_CHECK ../../../smpi_script/bin/smpirun -quiet -wrapper "${bindir:=.}/../../../bin/simgrid-mc" -np 2 -platform ${platfdir:=.}/cluster_backbone.xml --cfg=smpi/buffering:infty --log=xbt_cfg.thresh:warning ./smpi_sendsend
6 > [0.000000] [mc_dfs/INFO] Start a DFS exploration. Reduction is: dpor.
7 > Sent 0 to rank 1
8 > Sent 1 to rank 0
9 > rank 0 recv the data
10 > rank 1 recv the data
11 > Sent 1 to rank 0
12 > Sent 0 to rank 1
13 > rank 0 recv the data
14 > rank 1 recv the data
15 > Sent 1 to rank 0
16 > Sent 0 to rank 1
17 > rank 0 recv the data
18 > rank 1 recv the data
19 > [0.000000] [mc_dfs/INFO] DFS exploration ended. 18 unique states visited; 2 backtracks (1 transition replays, 21 states visited overall)
20
21 p Testing the paranoid model
22 ! timeout 60
23 ! expect return 3
24 $ $VALGRIND_NO_LEAK_CHECK ../../../smpi_script/bin/smpirun -quiet -wrapper "${bindir:=.}/../../../bin/simgrid-mc" -np 2 -platform ${platfdir:=.}/cluster_backbone.xml --cfg=smpi/buffering:zero --log=xbt_cfg.thresh:warning ./smpi_sendsend
25 > [0.000000] [mc_dfs/INFO] Start a DFS exploration. Reduction is: dpor.
26 > [0.000000] [mc_global/INFO] **************************
27 > [0.000000] [mc_global/INFO] *** DEADLOCK DETECTED ***
28 > [0.000000] [mc_global/INFO] **************************
29 > [0.000000] [ker_engine/INFO] 2 actors are still running, waiting for something.
30 > [0.000000] [ker_engine/INFO] Legend of the following listing: "Actor <pid> (<name>@<host>): <status>"
31 > [0.000000] [ker_engine/INFO] Actor 1 (0@node-0.simgrid.org) simcall CommWait(comm_id:1 src:1 dst:-1 mbox:SMPI-2(id:2) srcbuf:1 dstbuf:- bufsize:4)
32 > [0.000000] [ker_engine/INFO] Actor 2 (1@node-1.simgrid.org) simcall CommWait(comm_id:2 src:2 dst:-1 mbox:SMPI-1(id:0) srcbuf:2 dstbuf:- bufsize:4)
33 > [0.000000] [mc_global/INFO] Counter-example execution trace:
34 > [0.000000] [mc_global/INFO]   1: iSend(mbox=2)
35 > [0.000000] [mc_global/INFO]   2: iSend(mbox=0)
36 > [0.000000] [mc_Session/INFO] You can debug the problem (and see the whole details) by rerunning out of simgrid-mc with --cfg=model-check/replay:'1;2'
37 > [0.000000] [mc_dfs/INFO] DFS exploration ended. 3 unique states visited; 0 backtracks (0 transition replays, 3 states visited overall)
38 > Execution failed with code 3.