Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Added files to the simple MASTER/SLAVE example.
[simgrid.git] / examples / msg / masterslave / deployment_masterslave.xml
diff --git a/examples/msg/masterslave/deployment_masterslave.xml b/examples/msg/masterslave/deployment_masterslave.xml
new file mode 100644 (file)
index 0000000..102c3bb
--- /dev/null
@@ -0,0 +1,21 @@
+<?xml version='1.0'?>
+<!DOCTYPE platform_description SYSTEM "surfxml.dtd">
+<platform_description version="1">
+  <!-- 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="Jupiter"/>  <!-- First slave -->
+     <argument value="Fafard"/>   <!-- Second slave -->
+     <argument value="Ginette"/>  <!-- Third slave -->
+     <argument value="Bourassa"/> <!-- Last slave -->
+     <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>