Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid into...
[simgrid.git] / examples / msg / masterslave / deployment_masterslave.xml
index 102c3bb..18b7e5d 100644 (file)
@@ -1,11 +1,11 @@
 <?xml version='1.0'?>
-<!DOCTYPE platform_description SYSTEM "surfxml.dtd">
-<platform_description version="1">
+<!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid.dtd">
+<platform version="3">
   <!-- The master process (with some arguments) -->
   <process host="Tremblay" function="master">
      <argument value="20"/>       <!-- Number of tasks -->
-     <argument value="5000000"/>  <!-- Computation size of tasks -->
-     <argument value="100000"/>   <!-- Communication size of tasks -->
+     <argument value="50000000"/>  <!-- Computation size of tasks -->
+     <argument value="1000000"/>   <!-- Communication size of tasks -->
      <argument value="Jupiter"/>  <!-- First slave -->
      <argument value="Fafard"/>   <!-- Second slave -->
      <argument value="Ginette"/>  <!-- Third slave -->
@@ -13,9 +13,9 @@
      <argument value="Tremblay"/> <!-- Me! I can work too! -->
   </process>
   <!-- The slave process (with no argument) -->
-  <process host="Tremblay" function="slave"/>
-  <process host="Jupiter" function="slave"/>
-  <process host="Fafard" function="slave"/>
-  <process host="Ginette" function="slave"/>
-  <process host="Bourassa" function="slave"/>
-</platform_description>
+  <process host="Tremblay" function="slave" on_failure="RESTART"/>
+  <process host="Jupiter" function="slave" on_failure="RESTART"/>
+  <process host="Fafard" function="slave" on_failure="RESTART"/>
+  <process host="Ginette" function="slave" on_failure="RESTART"/>
+  <process host="Bourassa" function="slave" on_failure="RESTART"/>
+</platform>