Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Put stdout in line buffer mode for MCed apps.
[simgrid.git] / examples / smpi / mc / sendsend.tesh
1 #! ./tesh
2
3 p Testing the permissive model
4 ! timeout 60
5 $ ../../../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_safety/INFO] Check a safety property. 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 0 to rank 1
12 > [0.000000] [mc_safety/INFO] No property violation found.
13 > [0.000000] [mc_safety/INFO] Expanded states = 7
14 > [0.000000] [mc_safety/INFO] Visited states = 10
15 > [0.000000] [mc_safety/INFO] Executed transitions = 8
16
17 p Testing the paranoid model
18 ! timeout 60
19 ! expect return 3
20 $ ../../../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
21 > [0.000000] [mc_safety/INFO] Check a safety property. Reduction is: dpor.
22 > [0.000000] [mc_global/INFO] **************************
23 > [0.000000] [mc_global/INFO] *** DEADLOCK DETECTED ***
24 > [0.000000] [mc_global/INFO] **************************
25 > [0.000000] [mc_global/INFO] Counter-example execution trace:
26 > [0.000000] [mc_global/INFO]   [(1)node-0.simgrid.org (0)] iSend(src=(1)node-0.simgrid.org (0), buff=(verbose only), size=(verbose only))
27 > [0.000000] [mc_global/INFO]   [(2)node-1.simgrid.org (1)] iSend(src=(2)node-1.simgrid.org (1), buff=(verbose only), size=(verbose only))
28 > [0.000000] [mc_record/INFO] Path = 1;2
29 > [0.000000] [mc_safety/INFO] Expanded states = 3
30 > [0.000000] [mc_safety/INFO] Visited states = 3
31 > [0.000000] [mc_safety/INFO] Executed transitions = 2
32 > Execution failed with code 3.