Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
don't bother with paths and copy the XML
[simgrid.git] / examples / s4u / platform-failures / s4u-masterworker-failures_d.xml
diff --git a/examples/s4u/platform-failures/s4u-masterworker-failures_d.xml b/examples/s4u/platform-failures/s4u-masterworker-failures_d.xml
new file mode 100644 (file)
index 0000000..feadead
--- /dev/null
@@ -0,0 +1,27 @@
+<?xml version='1.0'?>
+<!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
+<platform version="4.1">
+  <!-- The master actor (with some arguments) -->
+  <actor host="Tremblay" function="master">
+    <argument value="20"/>       <!-- Number of tasks -->
+    <argument value="50000000"/>  <!-- Computation size of tasks -->
+    <argument value="1000000"/>   <!-- Communication size of tasks -->
+    <argument value="5"/>         <!-- Number of workers -->
+  </actor>
+  <!-- The worker processes (with mailbox to listen on as argument) -->
+  <actor host="Tremblay" function="worker" on_failure="RESTART">
+    <argument value="0"/> 
+  </actor>
+  <actor host="Jupiter" function="worker" on_failure="RESTART">
+    <argument value="1"/> 
+  </actor>
+  <actor host="Fafard" function="worker" on_failure="RESTART">
+    <argument value="2"/> 
+  </actor>
+  <actor host="Ginette" function="worker" on_failure="RESTART">
+    <argument value="3"/> 
+  </actor>
+  <actor host="Bourassa" function="worker" on_failure="RESTART">
+    <argument value="4"/> 
+  </actor>
+</platform>