Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill unused includes, and put the remaining ones at the top of the file.
[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 > [0.000000] [mc_safety/INFO] No property violation found.
8 > [0.000000] [mc_safety/INFO] Expanded states = 7
9 > [0.000000] [mc_safety/INFO] Visited states = 10
10 > [0.000000] [mc_safety/INFO] Executed transitions = 8
11
12 p Testing the paranoid model
13 ! timeout 60
14 ! expect return 3
15 $ ../../../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
16 > [0.000000] [mc_safety/INFO] Check a safety property. Reduction is: dpor.
17 > [0.000000] [mc_global/INFO] **************************
18 > [0.000000] [mc_global/INFO] *** DEADLOCK DETECTED ***
19 > [0.000000] [mc_global/INFO] **************************
20 > [0.000000] [mc_global/INFO] Counter-example execution trace:
21 > [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))
22 > [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))
23 > [0.000000] [mc_record/INFO] Path = 1;2
24 > [0.000000] [mc_safety/INFO] Expanded states = 3
25 > [0.000000] [mc_safety/INFO] Visited states = 3
26 > [0.000000] [mc_safety/INFO] Executed transitions = 2
27 > Execution failed with code 3.