X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4636dcbf566244aa2c2bff539d0410dae1071c81..0ff40b115c4a7f131b2ffab880faf600e96cfc06:/examples/simdag/dag-dotload/sd_dag-dotload.tesh diff --git a/examples/simdag/dag-dotload/sd_dag-dotload.tesh b/examples/simdag/dag-dotload/sd_dag-dotload.tesh index 095e851cd2..0afa3f46f9 100644 --- a/examples/simdag/dag-dotload/sd_dag-dotload.tesh +++ b/examples/simdag/dag-dotload/sd_dag-dotload.tesh @@ -1,7 +1,10 @@ #! ./tesh p Test the loader of DAG written in the DOT format -$ $SG_TEST_EXENV ${bindir:=.}/dag-dotload/sd_dag-dotload --log=no_loc ${srcdir:=.}/../platforms/two_clusters.xml ${srcdir:=.}/dag-dotload/dag.dot +# The order differ when executed with gcc's thread sanitizer +! output sort + +$ $SG_TEST_EXENV ${bindir:=.}/dag-dotload/sd_dag-dotload --log=no_loc ${srcdir:=.}/../platforms/cluster.xml ${srcdir:=.}/dag-dotload/dag.dot > [0.000000] [xbt_cfg/INFO] Switching to the L07 model to handle parallel tasks. > [0.000000] [test/INFO] ------------------- Display all tasks of the loaded DAG --------------------------- > [0.000000] [sd_task/INFO] Displaying task root @@ -63,8 +66,8 @@ $ $SG_TEST_EXENV ${bindir:=.}/dag-dotload/sd_dag-dotload --log=no_loc ${srcdir:= > [0.000000] [sd_task/INFO] - amount: 10000000046 > [0.000000] [sd_task/INFO] - Dependencies to satisfy: 2 > [0.000000] [sd_task/INFO] - pre-dependencies: -> [0.000000] [sd_task/INFO] root->5 > [0.000000] [sd_task/INFO] 4->5 +> [0.000000] [sd_task/INFO] root->5 > [0.000000] [sd_task/INFO] - post-dependencies: > [0.000000] [sd_task/INFO] 6 > [0.000000] [sd_task/INFO] Displaying task 6 @@ -84,8 +87,8 @@ $ $SG_TEST_EXENV ${bindir:=.}/dag-dotload/sd_dag-dotload --log=no_loc ${srcdir:= > [0.000000] [sd_task/INFO] - pre-dependencies: > [0.000000] [sd_task/INFO] 6->7 > [0.000000] [sd_task/INFO] - post-dependencies: -> [0.000000] [sd_task/INFO] 7->end > [0.000000] [sd_task/INFO] 7->8 +> [0.000000] [sd_task/INFO] 7->end > [0.000000] [sd_task/INFO] Displaying task 8 > [0.000000] [sd_task/INFO] - state: not scheduled not runnable > [0.000000] [sd_task/INFO] - kind: sequential computation @@ -186,38 +189,37 @@ $ $SG_TEST_EXENV ${bindir:=.}/dag-dotload/sd_dag-dotload --log=no_loc ${srcdir:= > [0.000000] [sd_task/INFO] 7->end > [0.000000] [test/INFO] ------------------- Schedule tasks --------------------------- > [0.000000] [test/INFO] ------------------- Run the schedule --------------------------- -> [110.006082] [test/INFO] ------------------- Produce the trace file--------------------------- -> [110.006082] [test/INFO] Producing the trace of the run into dag.trace +> [110.004162] [test/INFO] ------------------- Produce the trace file--------------------------- +> [110.004162] [test/INFO] Producing the trace of the run into dag.trace $ cat ${srcdir:=.}/dag-dotload/dag.trace -> [0.000000->0.000000] node-3.acme.org compute 0.000000 flops # root -> [0.000000->10.000000] node-7.acme.org compute 10000000129.452715 flops # 0 -> [10.001680->20.001680] node-10.acme.org compute 10000000131.133657 flops # 1 -> [20.002360->30.002360] node-14.acme.org compute 10000000121.124870 flops # 2 -> [30.003040->40.003041] node-18.acme.org compute 10000000230.608025 flops # 3 -> [40.003041->50.003041] node-0.acme.org compute 10000000004.994019 flops # 4 -> [50.003721->60.003721] node-4.acme.org compute 10000000046.016401 flops # 5 -> [60.003721->70.003721] node-8.acme.org compute 10000000091.598791 flops # 6 -> [70.005401->80.005401] node-11.acme.org compute 10000000040.679438 flops # 7 -> [80.006081->90.006081] node-15.acme.org compute 10000000250.490017 flops # 8 -> [90.006081->100.006081] node-19.acme.org compute 10000000079.267649 flops # 9 -> [10.000000 -> 10.001680] node-7.acme.org -> node-10.acme.org transfer of 10001 bytes # 0->1 -> [20.001680 -> 20.002360] node-10.acme.org -> node-14.acme.org transfer of 10004 bytes # 1->2 -> [30.002360 -> 30.003040] node-14.acme.org -> node-18.acme.org transfer of 10002 bytes # 2->3 -> [50.003041 -> 50.003721] node-0.acme.org -> node-4.acme.org transfer of 10029 bytes # 4->5 -> [70.003721 -> 70.005401] node-8.acme.org -> node-11.acme.org transfer of 10005 bytes # 6->7 -> [80.005401 -> 80.006081] node-11.acme.org -> node-15.acme.org transfer of 10000 bytes # 7->8 -> [80.005401 -> 80.087113] node-11.acme.org -> node-3.acme.org transfer of 10014000 bytes # 7->end -> [0.000000 -> 0.080712] node-3.acme.org -> node-4.acme.org transfer of 10014000 bytes # root->5 -> [100.006081->110.006082] node-3.acme.org compute 10000000129.452715 flops # end +> [0.000000->0.000000] node-0.acme.org compute 0.000000 flops # root +> [0.000000->10.000000] node-1.acme.org compute 10000000129.452715 flops # 0 +> [10.000680->20.000680] node-10.acme.org compute 10000000131.133657 flops # 1 +> [20.001360->30.001360] node-11.acme.org compute 10000000121.124870 flops # 2 +> [30.002040->40.002041] node-12.acme.org compute 10000000230.608025 flops # 3 +> [40.002041->50.002041] node-13.acme.org compute 10000000004.994019 flops # 4 +> [50.002721->60.002721] node-14.acme.org compute 10000000046.016401 flops # 5 +> [60.002721->70.002721] node-15.acme.org compute 10000000091.598791 flops # 6 +> [70.003401->80.003401] node-16.acme.org compute 10000000040.679438 flops # 7 +> [80.004161->90.004161] node-17.acme.org compute 10000000250.490017 flops # 8 +> [90.004161->100.004161] node-18.acme.org compute 10000000079.267649 flops # 9 +> [10.000000 -> 10.000680] node-1.acme.org -> node-10.acme.org transfer of 10001 bytes # 0->1 +> [20.000680 -> 20.001360] node-10.acme.org -> node-11.acme.org transfer of 10004 bytes # 1->2 +> [30.001360 -> 30.002040] node-11.acme.org -> node-12.acme.org transfer of 10002 bytes # 2->3 +> [50.002041 -> 50.002721] node-13.acme.org -> node-14.acme.org transfer of 10029 bytes # 4->5 +> [70.002721 -> 70.003401] node-15.acme.org -> node-16.acme.org transfer of 10005 bytes # 6->7 +> [80.003401 -> 80.004161] node-16.acme.org -> node-17.acme.org transfer of 10000 bytes # 7->8 +> [80.003401 -> 80.084193] node-16.acme.org -> node-0.acme.org transfer of 10014000 bytes # 7->end +> [0.000000 -> 0.080712] node-0.acme.org -> node-14.acme.org transfer of 10014000 bytes # root->5 +> [100.004161->110.004162] node-0.acme.org compute 10000000129.452715 flops # end $ rm -f ${srcdir:=.}/dag-dotload/dag.trace ${srcdir:=.}/dot.dot ! expect return 2 -$ $SG_TEST_EXENV ${bindir:=.}/dag-dotload/sd_dag-dotload --log=no_loc ${srcdir:=.}/../platforms/two_clusters.xml ${srcdir:=.}/dag-dotload/dag_with_cycle.dot +$ $SG_TEST_EXENV ${bindir:=.}/dag-dotload/sd_dag-dotload --log=no_loc ${srcdir:=.}/../platforms/cluster.xml ${srcdir:=.}/dag-dotload/dag_with_cycle.dot > [0.000000] [xbt_cfg/INFO] Switching to the L07 model to handle parallel tasks. > [0.000000] [sd_daxparse/WARNING] the task root is not marked -> [0.000000] [sd_daxparse/WARNING] the task 0 is in a cycle > [0.000000] [sd_daxparse/WARNING] the task 1 is in a cycle > [0.000000] [sd_daxparse/WARNING] the task 2 is in a cycle > [0.000000] [sd_daxparse/WARNING] the task 3 is in a cycle