Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use binary dir for bindir, and cd to home dir.
[simgrid.git] / examples / simdag / dax / simple_dax_with_cycle.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <adag xmlns="http://pegasus.isi.edu/schema/DAX"
3       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4       xsi:schemaLocation="http://pegasus.isi.edu/schema/DAX
5                           http://pegasus.isi.edu/schema/dax-2.1.xsd" 
6       version="2.1" count="1" index="0" name="smalldax" 
7       jobCount="3" fileCount="0" childCount="1">
8
9   <!-- Job and control dependencies go here -->
10   <job id="1" namespace="SG" name="task1" version="1.0" runtime="10">
11     <uses file="i1" link="input" register="true" transfer="true" 
12           optional="false" type="data" size="1000000"/>
13     <uses file="o1" link="output" register="true" transfer="true" 
14           optional="false" type="data" size="1000000"/>
15   </job>
16   <job id="2" namespace="SG" name="task2" version="1.0" runtime="10">
17     <uses file="i2" link="input" register="true" transfer="true" 
18           optional="false" type="data" size="1000000"/>
19   </job>
20   <job id="3" namespace="SG" name="task3" version="1.0" runtime="10">
21     <uses file="o1" link="input" register="true" transfer="true" 
22           optional="false" type="data" size="1000000"/>
23     <uses file="o3" link="output" register="true" transfer="true" 
24           optional="false" type="data" size="1000000"/>
25   </job>
26   <!-- Control-flow dependencies -->
27   <child ref="3">
28     <parent ref="2"/>
29   </child>
30   <!-- add a cycle on purpose. It won't be a DAG anymore -->
31   <child ref="1">
32     <parent ref="3"/>
33   </child>
34 </adag>