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 1a5967a..18b7e5d 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version='1.0'?>
-<!DOCTYPE platform_description SYSTEM "surfxml.dtd">
-<platform version="2">
+<!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 -->
@@ -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"/>
+  <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>