Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
make examples/s4u/app-masterworkers more complex to make simplification exercises...
[simgrid.git] / examples / s4u / app-masterworkers / s4u-app-masterworkers_d.xml
index 29fddca..292e3bb 100644 (file)
@@ -3,25 +3,20 @@
 <platform version="4.1">
   <!-- The master actor (with some arguments) -->
   <actor host="Tremblay" function="master">
-    <argument value="5"/>         <!-- Number of workers -->
     <argument value="20"/>        <!-- Number of tasks -->
     <argument value="50000000"/>  <!-- Computation size of tasks -->
     <argument value="1000000"/>   <!-- Communication size of tasks -->
+    <!-- name of hosts on which the workers are running -->
+    <argument value="Tremblay"/>
+    <argument value="Jupiter" />
+    <argument value="Fafard" />
+    <argument value="Ginette" />
+    <argument value="Bourassa" />
   </actor>
-  <!-- The worker processes (with mailbox to listen on as argument) -->
-  <actor host="Tremblay" function="worker">
-    <argument value="0"/> 
-  </actor>
-  <actor host="Jupiter" function="worker">
-    <argument value="1"/> 
-  </actor>
-  <actor host="Fafard" function="worker">
-    <argument value="2"/> 
-  </actor>
-  <actor host="Ginette" function="worker">
-    <argument value="3"/> 
-  </actor>
-  <actor host="Bourassa" function="worker">
-    <argument value="4"/> 
-  </actor>
+  <!-- The worker processes (with no argument) -->
+  <actor host="Tremblay" function="worker" />
+  <actor host="Jupiter" function="worker" />
+  <actor host="Fafard" function="worker" />
+  <actor host="Ginette" function="worker" />
+  <actor host="Bourassa" function="worker" />
 </platform>