Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
rewrite the s4u_launching example
[simgrid.git] / examples / s4u / launching / deployment.xml
index 4004253..2c69f21 100644 (file)
@@ -1,8 +1,15 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
-  <process host="Tremblay" function="worker">
-  </process>
-  <process host="Jupiter" function="master">
+
+  <!-- This a weird deployment file: we only start one actor from here and the others from the main().
+    --
+    -- This is only for the example, but don't do that at home.
+    -- Instead, you want to start all your actors from the deployment file.
+    -->
+   
+  <process host="Fafard" function="receiver">
+    <!-- Pass the right mailbox name to the actor -->
+    <argument value="mb42" />
   </process>
 </platform>