Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
test also the dotloader with a file that comprises a cycle.
[simgrid.git] / examples / simdag / dot / test_simdag_dotload.tesh
1 #! ./tesh
2 p Test the loader of DAG written in the DOT format
3
4 $ $SG_TEST_EXENV ./dot_test ${srcdir:=.}/../2clusters.xml ${srcdir:=.}/dag.dot
5 > [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
6 > [0.000000] [test/INFO] ------------------- Display all tasks of the loaded DAG ---------------------------
7 > [0.000000] [sd_task/INFO] Displaying task root
8 > [0.000000] [sd_task/INFO]   - state:  schedulable  not runnable    
9 > [0.000000] [sd_task/INFO]   - kind: sequential computation
10 > [0.000000] [sd_task/INFO]   - amount: 0
11 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 0
12 > [0.000000] [sd_task/INFO]   - post-dependencies:
13 > [0.000000] [sd_task/INFO]     0
14 > [0.000000] [sd_task/INFO]     root->5
15 > [0.000000] [sd_task/INFO] Displaying task 0
16 > [0.000000] [sd_task/INFO]   - state:    not runnable    
17 > [0.000000] [sd_task/INFO]   - kind: sequential computation
18 > [0.000000] [sd_task/INFO]   - amount: 10000000129
19 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
20 > [0.000000] [sd_task/INFO]   - pre-dependencies:
21 > [0.000000] [sd_task/INFO]     root
22 > [0.000000] [sd_task/INFO]   - post-dependencies:
23 > [0.000000] [sd_task/INFO]     0->1
24 > [0.000000] [sd_task/INFO] Displaying task 1
25 > [0.000000] [sd_task/INFO]   - state:    not runnable    
26 > [0.000000] [sd_task/INFO]   - kind: sequential computation
27 > [0.000000] [sd_task/INFO]   - amount: 10000000131
28 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
29 > [0.000000] [sd_task/INFO]   - pre-dependencies:
30 > [0.000000] [sd_task/INFO]     0->1
31 > [0.000000] [sd_task/INFO]   - post-dependencies:
32 > [0.000000] [sd_task/INFO]     1->2
33 > [0.000000] [sd_task/INFO] Displaying task 2
34 > [0.000000] [sd_task/INFO]   - state:    not runnable    
35 > [0.000000] [sd_task/INFO]   - kind: sequential computation
36 > [0.000000] [sd_task/INFO]   - amount: 10000000121
37 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
38 > [0.000000] [sd_task/INFO]   - pre-dependencies:
39 > [0.000000] [sd_task/INFO]     1->2
40 > [0.000000] [sd_task/INFO]   - post-dependencies:
41 > [0.000000] [sd_task/INFO]     2->3
42 > [0.000000] [sd_task/INFO] Displaying task 3
43 > [0.000000] [sd_task/INFO]   - state:    not runnable    
44 > [0.000000] [sd_task/INFO]   - kind: sequential computation
45 > [0.000000] [sd_task/INFO]   - amount: 10000000231
46 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
47 > [0.000000] [sd_task/INFO]   - pre-dependencies:
48 > [0.000000] [sd_task/INFO]     2->3
49 > [0.000000] [sd_task/INFO]   - post-dependencies:
50 > [0.000000] [sd_task/INFO]     4
51 > [0.000000] [sd_task/INFO] Displaying task 4
52 > [0.000000] [sd_task/INFO]   - state:    not runnable    
53 > [0.000000] [sd_task/INFO]   - kind: sequential computation
54 > [0.000000] [sd_task/INFO]   - amount: 10000000005
55 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
56 > [0.000000] [sd_task/INFO]   - pre-dependencies:
57 > [0.000000] [sd_task/INFO]     3
58 > [0.000000] [sd_task/INFO]   - post-dependencies:
59 > [0.000000] [sd_task/INFO]     4->5
60 > [0.000000] [sd_task/INFO] Displaying task 5
61 > [0.000000] [sd_task/INFO]   - state:    not runnable    
62 > [0.000000] [sd_task/INFO]   - kind: sequential computation
63 > [0.000000] [sd_task/INFO]   - amount: 10000000046
64 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 2
65 > [0.000000] [sd_task/INFO]   - pre-dependencies:
66 > [0.000000] [sd_task/INFO]     root->5
67 > [0.000000] [sd_task/INFO]     4->5
68 > [0.000000] [sd_task/INFO]   - post-dependencies:
69 > [0.000000] [sd_task/INFO]     6
70 > [0.000000] [sd_task/INFO] Displaying task 6
71 > [0.000000] [sd_task/INFO]   - state:    not runnable    
72 > [0.000000] [sd_task/INFO]   - kind: sequential computation
73 > [0.000000] [sd_task/INFO]   - amount: 10000000092
74 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
75 > [0.000000] [sd_task/INFO]   - pre-dependencies:
76 > [0.000000] [sd_task/INFO]     5
77 > [0.000000] [sd_task/INFO]   - post-dependencies:
78 > [0.000000] [sd_task/INFO]     6->7
79 > [0.000000] [sd_task/INFO] Displaying task 7
80 > [0.000000] [sd_task/INFO]   - state:    not runnable    
81 > [0.000000] [sd_task/INFO]   - kind: sequential computation
82 > [0.000000] [sd_task/INFO]   - amount: 10000000041
83 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
84 > [0.000000] [sd_task/INFO]   - pre-dependencies:
85 > [0.000000] [sd_task/INFO]     6->7
86 > [0.000000] [sd_task/INFO]   - post-dependencies:
87 > [0.000000] [sd_task/INFO]     7->end
88 > [0.000000] [sd_task/INFO]     7->8
89 > [0.000000] [sd_task/INFO] Displaying task 8
90 > [0.000000] [sd_task/INFO]   - state:    not runnable    
91 > [0.000000] [sd_task/INFO]   - kind: sequential computation
92 > [0.000000] [sd_task/INFO]   - amount: 10000000250
93 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
94 > [0.000000] [sd_task/INFO]   - pre-dependencies:
95 > [0.000000] [sd_task/INFO]     7->8
96 > [0.000000] [sd_task/INFO]   - post-dependencies:
97 > [0.000000] [sd_task/INFO]     9
98 > [0.000000] [sd_task/INFO] Displaying task 9
99 > [0.000000] [sd_task/INFO]   - state:    not runnable    
100 > [0.000000] [sd_task/INFO]   - kind: sequential computation
101 > [0.000000] [sd_task/INFO]   - amount: 10000000079
102 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
103 > [0.000000] [sd_task/INFO]   - pre-dependencies:
104 > [0.000000] [sd_task/INFO]     8
105 > [0.000000] [sd_task/INFO]   - post-dependencies:
106 > [0.000000] [sd_task/INFO]     end
107 > [0.000000] [sd_task/INFO] Displaying task 2->3
108 > [0.000000] [sd_task/INFO]   - state:    not runnable    
109 > [0.000000] [sd_task/INFO]   - kind: end-to-end communication
110 > [0.000000] [sd_task/INFO]   - amount: 10002
111 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
112 > [0.000000] [sd_task/INFO]   - pre-dependencies:
113 > [0.000000] [sd_task/INFO]     2
114 > [0.000000] [sd_task/INFO]   - post-dependencies:
115 > [0.000000] [sd_task/INFO]     3
116 > [0.000000] [sd_task/INFO] Displaying task 6->7
117 > [0.000000] [sd_task/INFO]   - state:    not runnable    
118 > [0.000000] [sd_task/INFO]   - kind: end-to-end communication
119 > [0.000000] [sd_task/INFO]   - amount: 10005
120 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
121 > [0.000000] [sd_task/INFO]   - pre-dependencies:
122 > [0.000000] [sd_task/INFO]     6
123 > [0.000000] [sd_task/INFO]   - post-dependencies:
124 > [0.000000] [sd_task/INFO]     7
125 > [0.000000] [sd_task/INFO] Displaying task root->5
126 > [0.000000] [sd_task/INFO]   - state:    not runnable    
127 > [0.000000] [sd_task/INFO]   - kind: end-to-end communication
128 > [0.000000] [sd_task/INFO]   - amount: 10014000
129 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
130 > [0.000000] [sd_task/INFO]   - pre-dependencies:
131 > [0.000000] [sd_task/INFO]     root
132 > [0.000000] [sd_task/INFO]   - post-dependencies:
133 > [0.000000] [sd_task/INFO]     5
134 > [0.000000] [sd_task/INFO] Displaying task 1->2
135 > [0.000000] [sd_task/INFO]   - state:    not runnable    
136 > [0.000000] [sd_task/INFO]   - kind: end-to-end communication
137 > [0.000000] [sd_task/INFO]   - amount: 10004
138 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
139 > [0.000000] [sd_task/INFO]   - pre-dependencies:
140 > [0.000000] [sd_task/INFO]     1
141 > [0.000000] [sd_task/INFO]   - post-dependencies:
142 > [0.000000] [sd_task/INFO]     2
143 > [0.000000] [sd_task/INFO] Displaying task 7->end
144 > [0.000000] [sd_task/INFO]   - state:    not runnable    
145 > [0.000000] [sd_task/INFO]   - kind: end-to-end communication
146 > [0.000000] [sd_task/INFO]   - amount: 10014000
147 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
148 > [0.000000] [sd_task/INFO]   - pre-dependencies:
149 > [0.000000] [sd_task/INFO]     7
150 > [0.000000] [sd_task/INFO]   - post-dependencies:
151 > [0.000000] [sd_task/INFO]     end
152 > [0.000000] [sd_task/INFO] Displaying task 0->1
153 > [0.000000] [sd_task/INFO]   - state:    not runnable    
154 > [0.000000] [sd_task/INFO]   - kind: end-to-end communication
155 > [0.000000] [sd_task/INFO]   - amount: 10001
156 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
157 > [0.000000] [sd_task/INFO]   - pre-dependencies:
158 > [0.000000] [sd_task/INFO]     0
159 > [0.000000] [sd_task/INFO]   - post-dependencies:
160 > [0.000000] [sd_task/INFO]     1
161 > [0.000000] [sd_task/INFO] Displaying task 4->5
162 > [0.000000] [sd_task/INFO]   - state:    not runnable    
163 > [0.000000] [sd_task/INFO]   - kind: end-to-end communication
164 > [0.000000] [sd_task/INFO]   - amount: 10029
165 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
166 > [0.000000] [sd_task/INFO]   - pre-dependencies:
167 > [0.000000] [sd_task/INFO]     4
168 > [0.000000] [sd_task/INFO]   - post-dependencies:
169 > [0.000000] [sd_task/INFO]     5
170 > [0.000000] [sd_task/INFO] Displaying task 7->8
171 > [0.000000] [sd_task/INFO]   - state:    not runnable    
172 > [0.000000] [sd_task/INFO]   - kind: end-to-end communication
173 > [0.000000] [sd_task/INFO]   - amount: 10000
174 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
175 > [0.000000] [sd_task/INFO]   - pre-dependencies:
176 > [0.000000] [sd_task/INFO]     7
177 > [0.000000] [sd_task/INFO]   - post-dependencies:
178 > [0.000000] [sd_task/INFO]     8
179 > [0.000000] [sd_task/INFO] Displaying task end
180 > [0.000000] [sd_task/INFO]   - state:    not runnable    
181 > [0.000000] [sd_task/INFO]   - kind: sequential computation
182 > [0.000000] [sd_task/INFO]   - amount: 0
183 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 2
184 > [0.000000] [sd_task/INFO]   - pre-dependencies:
185 > [0.000000] [sd_task/INFO]     9
186 > [0.000000] [sd_task/INFO]     7->end
187 > [0.000000] [test/INFO] ------------------- Schedule tasks ---------------------------
188 > [0.000000] [test/INFO] ------------------- Run the schedule ---------------------------
189 > [131.443480] [test/INFO] ------------------- Produce the trace file---------------------------
190 > [131.443480] [test/INFO] Producing the trace of the run into dag.trace
191
192 $ cat ${srcdir:=.}/dag.trace
193 > [0.000000] C2-05 compute 0.000000 # root
194 > [0.000000] C2-06 compute 10000000129.452715 # 0
195 > [2.000600] C2-07 compute 10000000131.133657 # 1
196 > [4.001200] C2-08 compute 10000000121.124870 # 2
197 > [6.001800] C2-09 compute 10000000230.608025 # 3
198 > [8.001800] C1-00 compute 10000000004.994019 # 4
199 > [50.721440] C1-01 compute 10000000046.016401 # 5
200 > [60.721440] C1-02 compute 10000000091.598791 # 6
201 > [70.722040] C1-03 compute 10000000040.679438 # 7
202 > [80.722640] C1-04 compute 10000000250.490017 # 8
203 > [90.722641] C2-05 compute 10000000079.267649 # 9
204 > [6.001200] C2-08 send C2-09 10001.781645 # 2->3
205 > [6.001800] C2-09 recv C2-08 10001.781645 # 2->3
206 > [70.721440] C1-02 send C1-03 10004.920415 # 6->7
207 > [70.722040] C1-03 recv C1-02 10004.920415 # 6->7
208 > [0.000000] C2-05 send C1-01 10014000.000000 # root->5
209 > [50.721440] C1-01 recv C2-05 10014000.000000 # root->5
210 > [4.000600] C2-07 send C2-08 10004.164631 # 1->2
211 > [4.001200] C2-08 recv C2-07 10004.164631 # 1->2
212 > [80.722040] C1-03 send C2-05 10014000.000000 # 7->end
213 > [131.443480] C2-05 recv C1-03 10014000.000000 # 7->end
214 > [2.000000] C2-06 send C2-07 10001.389601 # 0->1
215 > [2.000600] C2-07 recv C2-06 10001.389601 # 0->1
216 > [18.001800] C1-00 send C1-01 10029.262823 # 4->5
217 > [18.002401] C1-01 recv C1-00 10029.262823 # 4->5
218 > [80.722040] C1-03 send C1-04 10000.234049 # 7->8
219 > [80.722640] C1-04 recv C1-03 10000.234049 # 7->8
220 > [131.443480] C2-05 compute 0.000000 # end
221
222 $ rm -f dag.trace
223
224 ! expect signal SIGABRT
225 $ $SG_TEST_EXENV ./simulate_dot --log=no_loc  "--log=sd_dotparse.thres:verbose" ${srcdir:=.}/../2clusters.xml ${srcdir:=.}/dag_with_bad_schedule.dot 
226 > [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
227 > [0.000000] [sd_dotparse/VERBOSE] The schedule is ignored, there are not enough computers
228 > [0.000000] [sd_dotparse/WARNING]  is not an integer
229 > [0.000000] [sd_dotparse/VERBOSE] The schedule is ignored, the task 1 is not correctly scheduled
230 > [0.000000] [sd_dotparse/VERBOSE] The task 0 starts on the computer 1 at the position : 1 like the task 2
231 > [0.000000] [sd_dotparse/WARNING]  is not an integer
232 > [0.000000] [sd_dotparse/VERBOSE] The schedule is ignored, the task 3 is not correctly scheduled
233 > [0.000000] [sd_dotparse/WARNING]  is not an integer
234 > [0.000000] [sd_dotparse/WARNING]  is not an integer
235 > [0.000000] [sd_dotparse/VERBOSE] The schedule is ignored, the task root is not correctly scheduled
236 > [0.000000] [sd_dotparse/WARNING] The scheduling is ignored
237 > [0.000000] [xbt/CRITICAL] The dot file with the provided scheduling is wrong, more information with the option : --log=sd_dotparse.thres:verbose
238
239 $ $SG_TEST_EXENV ./simulate_dot --log=no_loc ${srcdir:=.}/../2clusters.xml ${srcdir:=.}/dag_with_good_schedule.dot 
240 > [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
241 > [0.000000] [test/INFO] ------------------- Display all tasks of the loaded DAG ---------------------------
242 > [0.000000] [sd_task/INFO] Displaying task root
243 > [0.000000] [sd_task/INFO]   - state:    runnable    
244 > [0.000000] [sd_task/INFO]   - kind: sequential computation
245 > [0.000000] [sd_task/INFO]   - amount: 0
246 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 0
247 > [0.000000] [sd_task/INFO]   - post-dependencies:
248 > [0.000000] [sd_task/INFO]     0
249 > [0.000000] [sd_task/INFO]     1
250 > [0.000000] [sd_task/INFO]     root->5
251 > [0.000000] [sd_task/INFO] Displaying task 0
252 > [0.000000] [sd_task/INFO]   - state:   scheduled not runnable    
253 > [0.000000] [sd_task/INFO]   - kind: sequential computation
254 > [0.000000] [sd_task/INFO]   - amount: 10000000129
255 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
256 > [0.000000] [sd_task/INFO]   - pre-dependencies:
257 > [0.000000] [sd_task/INFO]     root
258 > [0.000000] [sd_task/INFO]   - post-dependencies:
259 > [0.000000] [sd_task/INFO]     0->2
260 > [0.000000] [sd_task/INFO]     2
261 > [0.000000] [sd_task/INFO] Displaying task 1
262 > [0.000000] [sd_task/INFO]   - state:   scheduled not runnable    
263 > [0.000000] [sd_task/INFO]   - kind: sequential computation
264 > [0.000000] [sd_task/INFO]   - amount: 10000000131
265 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
266 > [0.000000] [sd_task/INFO]   - pre-dependencies:
267 > [0.000000] [sd_task/INFO]     root
268 > [0.000000] [sd_task/INFO]   - post-dependencies:
269 > [0.000000] [sd_task/INFO]     1->2
270 > [0.000000] [sd_task/INFO]     4
271 > [0.000000] [sd_task/INFO] Displaying task 2
272 > [0.000000] [sd_task/INFO]   - state:   scheduled not runnable    
273 > [0.000000] [sd_task/INFO]   - kind: sequential computation
274 > [0.000000] [sd_task/INFO]   - amount: 10000000121
275 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 3
276 > [0.000000] [sd_task/INFO]   - pre-dependencies:
277 > [0.000000] [sd_task/INFO]     1->2
278 > [0.000000] [sd_task/INFO]     0->2
279 > [0.000000] [sd_task/INFO]     0
280 > [0.000000] [sd_task/INFO]   - post-dependencies:
281 > [0.000000] [sd_task/INFO]     2->3
282 > [0.000000] [sd_task/INFO]     3
283 > [0.000000] [sd_task/INFO] Displaying task 3
284 > [0.000000] [sd_task/INFO]   - state:   scheduled not runnable    
285 > [0.000000] [sd_task/INFO]   - kind: sequential computation
286 > [0.000000] [sd_task/INFO]   - amount: 10000000231
287 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 2
288 > [0.000000] [sd_task/INFO]   - pre-dependencies:
289 > [0.000000] [sd_task/INFO]     2->3
290 > [0.000000] [sd_task/INFO]     2
291 > [0.000000] [sd_task/INFO]   - post-dependencies:
292 > [0.000000] [sd_task/INFO]     4
293 > [0.000000] [sd_task/INFO]     8
294 > [0.000000] [sd_task/INFO] Displaying task 4
295 > [0.000000] [sd_task/INFO]   - state:   scheduled not runnable    
296 > [0.000000] [sd_task/INFO]   - kind: sequential computation
297 > [0.000000] [sd_task/INFO]   - amount: 10000000005
298 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 2
299 > [0.000000] [sd_task/INFO]   - pre-dependencies:
300 > [0.000000] [sd_task/INFO]     3
301 > [0.000000] [sd_task/INFO]     1
302 > [0.000000] [sd_task/INFO]   - post-dependencies:
303 > [0.000000] [sd_task/INFO]     4->5
304 > [0.000000] [sd_task/INFO]     5
305 > [0.000000] [sd_task/INFO] Displaying task 5
306 > [0.000000] [sd_task/INFO]   - state:   scheduled not runnable    
307 > [0.000000] [sd_task/INFO]   - kind: sequential computation
308 > [0.000000] [sd_task/INFO]   - amount: 10000000046
309 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 3
310 > [0.000000] [sd_task/INFO]   - pre-dependencies:
311 > [0.000000] [sd_task/INFO]     root->5
312 > [0.000000] [sd_task/INFO]     4->5
313 > [0.000000] [sd_task/INFO]     4
314 > [0.000000] [sd_task/INFO]   - post-dependencies:
315 > [0.000000] [sd_task/INFO]     6
316 > [0.000000] [sd_task/INFO] Displaying task 6
317 > [0.000000] [sd_task/INFO]   - state:   scheduled not runnable    
318 > [0.000000] [sd_task/INFO]   - kind: sequential computation
319 > [0.000000] [sd_task/INFO]   - amount: 10000000092
320 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
321 > [0.000000] [sd_task/INFO]   - pre-dependencies:
322 > [0.000000] [sd_task/INFO]     5
323 > [0.000000] [sd_task/INFO]   - post-dependencies:
324 > [0.000000] [sd_task/INFO]     6->7
325 > [0.000000] [sd_task/INFO]     7
326 > [0.000000] [sd_task/INFO] Displaying task 7
327 > [0.000000] [sd_task/INFO]   - state:   scheduled not runnable    
328 > [0.000000] [sd_task/INFO]   - kind: sequential computation
329 > [0.000000] [sd_task/INFO]   - amount: 10000000041
330 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 2
331 > [0.000000] [sd_task/INFO]   - pre-dependencies:
332 > [0.000000] [sd_task/INFO]     6->7
333 > [0.000000] [sd_task/INFO]     6
334 > [0.000000] [sd_task/INFO]   - post-dependencies:
335 > [0.000000] [sd_task/INFO]     7->end
336 > [0.000000] [sd_task/INFO]     7->8
337 > [0.000000] [sd_task/INFO]     end
338 > [0.000000] [sd_task/INFO] Displaying task 8
339 > [0.000000] [sd_task/INFO]   - state:   scheduled not runnable    
340 > [0.000000] [sd_task/INFO]   - kind: sequential computation
341 > [0.000000] [sd_task/INFO]   - amount: 10000000250
342 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 2
343 > [0.000000] [sd_task/INFO]   - pre-dependencies:
344 > [0.000000] [sd_task/INFO]     7->8
345 > [0.000000] [sd_task/INFO]     3
346 > [0.000000] [sd_task/INFO]   - post-dependencies:
347 > [0.000000] [sd_task/INFO]     9
348 > [0.000000] [sd_task/INFO] Displaying task 9
349 > [0.000000] [sd_task/INFO]   - state:   scheduled not runnable    
350 > [0.000000] [sd_task/INFO]   - kind: sequential computation
351 > [0.000000] [sd_task/INFO]   - amount: 10000000079
352 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
353 > [0.000000] [sd_task/INFO]   - pre-dependencies:
354 > [0.000000] [sd_task/INFO]     8
355 > [0.000000] [sd_task/INFO]   - post-dependencies:
356 > [0.000000] [sd_task/INFO]     end
357 > [0.000000] [sd_task/INFO] Displaying task 2->3
358 > [0.000000] [sd_task/INFO]   - state:   scheduled not runnable    
359 > [0.000000] [sd_task/INFO]   - kind: end-to-end communication
360 > [0.000000] [sd_task/INFO]   - amount: 10002
361 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
362 > [0.000000] [sd_task/INFO]   - pre-dependencies:
363 > [0.000000] [sd_task/INFO]     2
364 > [0.000000] [sd_task/INFO]   - post-dependencies:
365 > [0.000000] [sd_task/INFO]     3
366 > [0.000000] [sd_task/INFO] Displaying task 6->7
367 > [0.000000] [sd_task/INFO]   - state:   scheduled not runnable    
368 > [0.000000] [sd_task/INFO]   - kind: end-to-end communication
369 > [0.000000] [sd_task/INFO]   - amount: 10005
370 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
371 > [0.000000] [sd_task/INFO]   - pre-dependencies:
372 > [0.000000] [sd_task/INFO]     6
373 > [0.000000] [sd_task/INFO]   - post-dependencies:
374 > [0.000000] [sd_task/INFO]     7
375 > [0.000000] [sd_task/INFO] Displaying task root->5
376 > [0.000000] [sd_task/INFO]   - state:   scheduled not runnable    
377 > [0.000000] [sd_task/INFO]   - kind: end-to-end communication
378 > [0.000000] [sd_task/INFO]   - amount: 10014000
379 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
380 > [0.000000] [sd_task/INFO]   - pre-dependencies:
381 > [0.000000] [sd_task/INFO]     root
382 > [0.000000] [sd_task/INFO]   - post-dependencies:
383 > [0.000000] [sd_task/INFO]     5
384 > [0.000000] [sd_task/INFO] Displaying task 1->2
385 > [0.000000] [sd_task/INFO]   - state:   scheduled not runnable    
386 > [0.000000] [sd_task/INFO]   - kind: end-to-end communication
387 > [0.000000] [sd_task/INFO]   - amount: 10004
388 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
389 > [0.000000] [sd_task/INFO]   - pre-dependencies:
390 > [0.000000] [sd_task/INFO]     1
391 > [0.000000] [sd_task/INFO]   - post-dependencies:
392 > [0.000000] [sd_task/INFO]     2
393 > [0.000000] [sd_task/INFO] Displaying task 7->end
394 > [0.000000] [sd_task/INFO]   - state:   scheduled not runnable    
395 > [0.000000] [sd_task/INFO]   - kind: end-to-end communication
396 > [0.000000] [sd_task/INFO]   - amount: 10014000
397 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
398 > [0.000000] [sd_task/INFO]   - pre-dependencies:
399 > [0.000000] [sd_task/INFO]     7
400 > [0.000000] [sd_task/INFO]   - post-dependencies:
401 > [0.000000] [sd_task/INFO]     end
402 > [0.000000] [sd_task/INFO] Displaying task 0->2
403 > [0.000000] [sd_task/INFO]   - state:   scheduled not runnable    
404 > [0.000000] [sd_task/INFO]   - kind: end-to-end communication
405 > [0.000000] [sd_task/INFO]   - amount: 10001
406 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
407 > [0.000000] [sd_task/INFO]   - pre-dependencies:
408 > [0.000000] [sd_task/INFO]     0
409 > [0.000000] [sd_task/INFO]   - post-dependencies:
410 > [0.000000] [sd_task/INFO]     2
411 > [0.000000] [sd_task/INFO] Displaying task 4->5
412 > [0.000000] [sd_task/INFO]   - state:   scheduled not runnable    
413 > [0.000000] [sd_task/INFO]   - kind: end-to-end communication
414 > [0.000000] [sd_task/INFO]   - amount: 10029
415 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
416 > [0.000000] [sd_task/INFO]   - pre-dependencies:
417 > [0.000000] [sd_task/INFO]     4
418 > [0.000000] [sd_task/INFO]   - post-dependencies:
419 > [0.000000] [sd_task/INFO]     5
420 > [0.000000] [sd_task/INFO] Displaying task 7->8
421 > [0.000000] [sd_task/INFO]   - state:   scheduled not runnable    
422 > [0.000000] [sd_task/INFO]   - kind: end-to-end communication
423 > [0.000000] [sd_task/INFO]   - amount: 10000
424 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 1
425 > [0.000000] [sd_task/INFO]   - pre-dependencies:
426 > [0.000000] [sd_task/INFO]     7
427 > [0.000000] [sd_task/INFO]   - post-dependencies:
428 > [0.000000] [sd_task/INFO]     8
429 > [0.000000] [sd_task/INFO] Displaying task end
430 > [0.000000] [sd_task/INFO]   - state:   scheduled not runnable    
431 > [0.000000] [sd_task/INFO]   - kind: sequential computation
432 > [0.000000] [sd_task/INFO]   - amount: 0
433 > [0.000000] [sd_task/INFO]   - Dependencies to satisfy: 3
434 > [0.000000] [sd_task/INFO]   - pre-dependencies:
435 > [0.000000] [sd_task/INFO]     9
436 > [0.000000] [sd_task/INFO]     7->end
437 > [0.000000] [sd_task/INFO]     7
438 > [0.000000] [test/INFO] ------------------- Run the schedule ---------------------------
439 > [18.001306] [test/INFO] ------------------- Produce the trace file---------------------------
440 > [18.001306] [test/INFO] Producing the trace of the run into dag_with_good_schedule.trace
441
442 $ cat ${srcdir:=.}/dag_with_good_schedule.trace
443 > [0.000000] C2-05 compute 0.000000 # root
444 > [0.000000] C2-06 compute 10000000129.452715 # 0
445 > [0.000000] C2-05 compute 10000000131.133657 # 1
446 > [2.000600] C2-06 compute 10000000121.124870 # 2
447 > [4.000635] C2-06 compute 10000000230.608025 # 3
448 > [6.000635] C2-05 compute 10000000004.994019 # 4
449 > [8.000670] C2-05 compute 10000000046.016401 # 5
450 > [10.000670] C2-05 compute 10000000091.598791 # 6
451 > [12.000706] C2-05 compute 10000000040.679438 # 7
452 > [14.001306] C2-06 compute 10000000250.490017 # 8
453 > [16.001306] C2-06 compute 10000000079.267649 # 9
454 > [4.000600] C2-06 send C2-06 10001.781645 # 2->3
455 > [4.000635] C2-06 recv C2-06 10001.781645 # 2->3
456 > [12.000670] C2-05 send C2-05 10004.920415 # 6->7
457 > [12.000706] C2-05 recv C2-05 10004.920415 # 6->7
458 > [0.000000] C2-05 send C2-05 10014000.000000 # root->5
459 > [0.020123] C2-05 recv C2-05 10014000.000000 # root->5
460 > [2.000000] C2-05 send C2-06 10004.164631 # 1->2
461 > [2.000600] C2-06 recv C2-05 10004.164631 # 1->2
462 > [14.000706] C2-05 send C2-05 10014000.000000 # 7->end
463 > [14.020829] C2-05 recv C2-05 10014000.000000 # 7->end
464 > [2.000000] C2-06 send C2-06 10001.389601 # 0->2
465 > [2.000035] C2-06 recv C2-06 10001.389601 # 0->2
466 > [8.000635] C2-05 send C2-05 10029.262823 # 4->5
467 > [8.000670] C2-05 recv C2-05 10029.262823 # 4->5
468 > [14.000706] C2-05 send C2-06 10000.234049 # 7->8
469 > [14.001306] C2-06 recv C2-05 10000.234049 # 7->8
470 > [18.001306] C2-05 compute 0.000000 # end
471
472 $ rm -f ${srcdir:=.}/dag_with_good_schedule.trace
473
474 ! expect signal SIGABRT
475 $ $SG_TEST_EXENV ./dot_test --log=no_loc ${srcdir:=.}/../2clusters.xml ${srcdir:=.}/dag_with_cycle.dot
476 > [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
477 > [0.000000] [sd_daxparse/WARNING] the task root is not marked
478 > [0.000000] [sd_daxparse/WARNING] the task 0 is in a cycle
479 > [0.000000] [sd_daxparse/WARNING] the task 1 is in a cycle
480 > [0.000000] [sd_daxparse/WARNING] the task 2 is in a cycle
481 > [0.000000] [sd_daxparse/WARNING] the task 3 is in a cycle
482 > [0.000000] [sd_daxparse/WARNING] the task 4 is in a cycle
483 > [0.000000] [sd_daxparse/WARNING] the task 5 is in a cycle
484 > [0.000000] [sd_daxparse/WARNING] the task 6 is in a cycle
485 > [0.000000] [sd_dotparse/ERROR] The DOT described in dag_with_cycle.dot is not a DAG. It contains a cycle.
486 > [0.000000] [xbt/CRITICAL] No dot load may be you have a cycle in your graph