Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
712f8b1a57ad5fee881a85631bb806b4e31d3fd8
[simgrid.git] / examples / simdag / dax / smalldax.tesh
1 #! ./tesh
2 p Test the DAX loader on a small DAX instance
3
4 $ $SG_TEST_EXENV ${bindir:=.}/dax_test --log=no_loc ../2clusters.xml ./smalldax.xml
5 > [0.000000] [surf_host/INFO] Switching to the L07 model to handle parallel tasks.
6 > [0.000000] [sd_daxparse/WARNING] Ignoring file o1 size redefinition from 1000000 to 304
7 > [0.000000] [sd_daxparse/WARNING] Ignoring file o2 size redefinition from 1000000 to 304
8 > [0.000000] [test/INFO] ------------------- Display all tasks of the loaded DAG ---------------------------
9 > [0.000000] [sd_task/INFO] Displaying task root
10 > [0.000000] [sd_task/INFO]   - state: schedulable not runnable
11 > [0.000000] [sd_task/INFO]   - kind: sequential computation
12 > [0.000000] [sd_task/INFO]   - tracing category: COMP_SEQ
13 > [0.000000] [sd_task/INFO]   - amount: 0
14 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 0
15 > [0.000000] [sd_task/INFO]   - post-dependencies:
16 > [0.000000] [sd_task/INFO]     root_i2_2@task2
17 > [0.000000] [sd_task/INFO]     root_i1_1@task1
18 > [0.000000] [sd_task/INFO] Displaying task 1@task1
19 > [0.000000] [sd_task/INFO]   - state: not scheduled not runnable
20 > [0.000000] [sd_task/INFO]   - kind: sequential computation
21 > [0.000000] [sd_task/INFO]   - tracing category: task1
22 > [0.000000] [sd_task/INFO]   - amount: 42000000000
23 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
24 > [0.000000] [sd_task/INFO]   - pre-dependencies:
25 > [0.000000] [sd_task/INFO]     root_i1_1@task1
26 > [0.000000] [sd_task/INFO]   - post-dependencies:
27 > [0.000000] [sd_task/INFO]     3@task1
28 > [0.000000] [sd_task/INFO]     1@task1_o1_3@task1
29 > [0.000000] [sd_task/INFO] Displaying task 2@task2
30 > [0.000000] [sd_task/INFO]   - state: not scheduled not runnable
31 > [0.000000] [sd_task/INFO]   - kind: sequential computation
32 > [0.000000] [sd_task/INFO]   - tracing category: task2
33 > [0.000000] [sd_task/INFO]   - amount: 42000000000
34 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
35 > [0.000000] [sd_task/INFO]   - pre-dependencies:
36 > [0.000000] [sd_task/INFO]     root_i2_2@task2
37 > [0.000000] [sd_task/INFO]   - post-dependencies:
38 > [0.000000] [sd_task/INFO]     3@task1
39 > [0.000000] [sd_task/INFO]     2@task2_o2_3@task1
40 > [0.000000] [sd_task/INFO] Displaying task 3@task1
41 > [0.000000] [sd_task/INFO]   - state: not scheduled not runnable
42 > [0.000000] [sd_task/INFO]   - kind: sequential computation
43 > [0.000000] [sd_task/INFO]   - tracing category: task1
44 > [0.000000] [sd_task/INFO]   - amount: 42000000000
45 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 4
46 > [0.000000] [sd_task/INFO]   - pre-dependencies:
47 > [0.000000] [sd_task/INFO]     1@task1
48 > [0.000000] [sd_task/INFO]     2@task2
49 > [0.000000] [sd_task/INFO]     1@task1_o1_3@task1
50 > [0.000000] [sd_task/INFO]     2@task2_o2_3@task1
51 > [0.000000] [sd_task/INFO]   - post-dependencies:
52 > [0.000000] [sd_task/INFO]     3@task1_o3_end
53 > [0.000000] [sd_task/INFO] Displaying task root_i2_2@task2
54 > [0.000000] [sd_task/INFO]   - state: not scheduled not runnable
55 > [0.000000] [sd_task/INFO]   - kind: end-to-end communication
56 > [0.000000] [sd_task/INFO]   - tracing category: COMM_E2E
57 > [0.000000] [sd_task/INFO]   - amount: 1000000
58 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
59 > [0.000000] [sd_task/INFO]   - pre-dependencies:
60 > [0.000000] [sd_task/INFO]     root
61 > [0.000000] [sd_task/INFO]   - post-dependencies:
62 > [0.000000] [sd_task/INFO]     2@task2
63 > [0.000000] [sd_task/INFO] Displaying task 1@task1_o1_3@task1
64 > [0.000000] [sd_task/INFO]   - state: not scheduled not runnable
65 > [0.000000] [sd_task/INFO]   - kind: end-to-end communication
66 > [0.000000] [sd_task/INFO]   - tracing category: task1
67 > [0.000000] [sd_task/INFO]   - amount: 1000000
68 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
69 > [0.000000] [sd_task/INFO]   - pre-dependencies:
70 > [0.000000] [sd_task/INFO]     1@task1
71 > [0.000000] [sd_task/INFO]   - post-dependencies:
72 > [0.000000] [sd_task/INFO]     3@task1
73 > [0.000000] [sd_task/INFO] Displaying task 2@task2_o2_3@task1
74 > [0.000000] [sd_task/INFO]   - state: not scheduled not runnable
75 > [0.000000] [sd_task/INFO]   - kind: end-to-end communication
76 > [0.000000] [sd_task/INFO]   - tracing category: task2
77 > [0.000000] [sd_task/INFO]   - amount: 1000000
78 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
79 > [0.000000] [sd_task/INFO]   - pre-dependencies:
80 > [0.000000] [sd_task/INFO]     2@task2
81 > [0.000000] [sd_task/INFO]   - post-dependencies:
82 > [0.000000] [sd_task/INFO]     3@task1
83 > [0.000000] [sd_task/INFO] Displaying task 3@task1_o3_end
84 > [0.000000] [sd_task/INFO]   - state: not scheduled not runnable
85 > [0.000000] [sd_task/INFO]   - kind: end-to-end communication
86 > [0.000000] [sd_task/INFO]   - tracing category: task1
87 > [0.000000] [sd_task/INFO]   - amount: 4167312
88 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
89 > [0.000000] [sd_task/INFO]   - pre-dependencies:
90 > [0.000000] [sd_task/INFO]     3@task1
91 > [0.000000] [sd_task/INFO]   - post-dependencies:
92 > [0.000000] [sd_task/INFO]     end
93 > [0.000000] [sd_task/INFO] Displaying task root_i1_1@task1
94 > [0.000000] [sd_task/INFO]   - state: not scheduled not runnable
95 > [0.000000] [sd_task/INFO]   - kind: end-to-end communication
96 > [0.000000] [sd_task/INFO]   - tracing category: COMM_E2E
97 > [0.000000] [sd_task/INFO]   - amount: 1000000
98 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
99 > [0.000000] [sd_task/INFO]   - pre-dependencies:
100 > [0.000000] [sd_task/INFO]     root
101 > [0.000000] [sd_task/INFO]   - post-dependencies:
102 > [0.000000] [sd_task/INFO]     1@task1
103 > [0.000000] [sd_task/INFO] Displaying task end
104 > [0.000000] [sd_task/INFO]   - state: not scheduled not runnable
105 > [0.000000] [sd_task/INFO]   - kind: sequential computation
106 > [0.000000] [sd_task/INFO]   - tracing category: COMP_SEQ
107 > [0.000000] [sd_task/INFO]   - amount: 0
108 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
109 > [0.000000] [sd_task/INFO]   - pre-dependencies:
110 > [0.000000] [sd_task/INFO]     3@task1_o3_end
111 > [0.000000] [test/INFO] ------------------- Schedule tasks ---------------------------
112 > [0.000000] [test/INFO] ------------------- Run the schedule ---------------------------
113 > [84.066238] [test/INFO] ------------------- Produce the trace file---------------------------
114 > [84.066238] [test/INFO] Producing the trace of the run into ./smalldax.trace
115
116 $ cat ./smalldax.trace
117 > [0.000000] C1-00 compute 0.000000 # root
118 > [0.016300] C1-01 compute 42000000000.000000 # 1@task1
119 > [0.016300] C1-02 compute 42000000000.000000 # 2@task2
120 > [42.032600] C1-03 compute 42000000000.000000 # 3@task1
121 > [0.000000] C1-00 send C1-02 1000000.000000 # root_i2_2@task2
122 > [0.016300] C1-02 recv C1-00 1000000.000000 # root_i2_2@task2
123 > [42.016300] C1-01 send C1-03 1000000.000000 # 1@task1_o1_3@task1
124 > [42.032600] C1-03 recv C1-01 1000000.000000 # 1@task1_o1_3@task1
125 > [42.016300] C1-02 send C1-03 1000000.000000 # 2@task2_o2_3@task1
126 > [42.032600] C1-03 recv C1-02 1000000.000000 # 2@task2_o2_3@task1
127 > [84.032600] C1-03 send C1-00 4167312.000000 # 3@task1_o3_end
128 > [84.066238] C1-00 recv C1-03 4167312.000000 # 3@task1_o3_end
129 > [0.000000] C1-00 send C1-01 1000000.000000 # root_i1_1@task1
130 > [0.016300] C1-01 recv C1-00 1000000.000000 # root_i1_1@task1
131 > [84.066238] C1-00 compute 0.000000 # end
132
133 $ cmake -E remove -f ./dax.dot ./smalldax.trace