Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Unify the host names in cluster description files
[simgrid.git] / examples / simdag / dag-dotload / sd_dag-dotload.tesh
index 0afa3f4..82b8311 100644 (file)
@@ -1,10 +1,10 @@
-#! ./tesh
+#!/usr/bin/env tesh
 p Test the loader of DAG written in the DOT format
 
 # 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
+$ $SG_TEST_EXENV ${bindir:=.}/dag-dotload/sd_dag-dotload --log=no_loc ${srcdir:=.}/../platforms/cluster_backbone.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
@@ -193,31 +193,31 @@ $ $SG_TEST_EXENV ${bindir:=.}/dag-dotload/sd_dag-dotload --log=no_loc ${srcdir:=
 > [110.004162] [test/INFO] Producing the trace of the run into dag.trace
 
 $ cat ${srcdir:=.}/dag-dotload/dag.trace
-> [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
+> [0.000000->0.000000] node-0.simgrid.org compute 0.000000 flops # root
+> [0.000000->10.000000] node-1.simgrid.org compute 10000000129.452715 flops # 0
+> [10.000680->20.000680] node-10.simgrid.org compute 10000000131.133657 flops # 1
+> [20.001360->30.001360] node-11.simgrid.org compute 10000000121.124870 flops # 2
+> [30.002040->40.002041] node-12.simgrid.org compute 10000000230.608025 flops # 3
+> [40.002041->50.002041] node-13.simgrid.org compute 10000000004.994019 flops # 4
+> [50.002721->60.002721] node-14.simgrid.org compute 10000000046.016401 flops # 5
+> [60.002721->70.002721] node-15.simgrid.org compute 10000000091.598791 flops # 6
+> [70.003401->80.003401] node-16.simgrid.org compute 10000000040.679438 flops # 7
+> [80.004161->90.004161] node-17.simgrid.org compute 10000000250.490017 flops # 8
+> [90.004161->100.004161] node-18.simgrid.org compute 10000000079.267649 flops # 9
+> [10.000000 -> 10.000680] node-1.simgrid.org -> node-10.simgrid.org transfer of 10001 bytes # 0->1
+> [20.000680 -> 20.001360] node-10.simgrid.org -> node-11.simgrid.org transfer of 10004 bytes # 1->2
+> [30.001360 -> 30.002040] node-11.simgrid.org -> node-12.simgrid.org transfer of 10002 bytes # 2->3
+> [50.002041 -> 50.002721] node-13.simgrid.org -> node-14.simgrid.org transfer of 10029 bytes # 4->5
+> [70.002721 -> 70.003401] node-15.simgrid.org -> node-16.simgrid.org transfer of 10005 bytes # 6->7
+> [80.003401 -> 80.004161] node-16.simgrid.org -> node-17.simgrid.org transfer of 10000 bytes # 7->8
+> [80.003401 -> 80.084193] node-16.simgrid.org -> node-0.simgrid.org transfer of 10014000 bytes # 7->end
+> [0.000000 -> 0.080712] node-0.simgrid.org -> node-14.simgrid.org transfer of 10014000 bytes # root->5
+> [100.004161->110.004162] node-0.simgrid.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/cluster.xml ${srcdir:=.}/dag-dotload/dag_with_cycle.dot
+$ $SG_TEST_EXENV ${bindir:=.}/dag-dotload/sd_dag-dotload --log=no_loc ${srcdir:=.}/../platforms/cluster_backbone.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 1 is in a cycle