Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add some files to constitute an example of split action replay
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 4 Mar 2010 14:45:23 +0000 (14:45 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 4 Mar 2010 14:45:23 +0000 (14:45 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7187 48e7efb5-ca39-0410-a469-dd3cf9ba447f

examples/msg/actions/actions_deployment_split.xml [new file with mode: 0644]
examples/msg/actions/actions_toto.txt [new file with mode: 0644]
examples/msg/actions/actions_tutu.txt [new file with mode: 0644]

diff --git a/examples/msg/actions/actions_deployment_split.xml b/examples/msg/actions/actions_deployment_split.xml
new file mode 100644 (file)
index 0000000..f62c346
--- /dev/null
@@ -0,0 +1,17 @@
+<!-- Example file of how to use trace replay, with actions split in
+     separate files, one per process.
+     Launch it like this: 
+     
+  ./actions ../small_platform.xml actions_deployment_split.xml 
+-->
+
+<?xml version='1.0'?>
+<!DOCTYPE platform SYSTEM "simgrid.dtd">
+<platform version="2">
+  <process host="Tremblay" function="toto">
+    <argument value="actions_toto.txt"/>
+  </process>
+  <process host="Jupiter" function="tutu">
+    <argument value="actions_tutu.txt"/>
+  </process>
+</platform>
diff --git a/examples/msg/actions/actions_toto.txt b/examples/msg/actions/actions_toto.txt
new file mode 100644 (file)
index 0000000..de919a8
--- /dev/null
@@ -0,0 +1,4 @@
+# sample action file (with only the actions for toto, 
+#                     to be launched by deployment file)
+toto recv tutu
+toto compute 12
diff --git a/examples/msg/actions/actions_tutu.txt b/examples/msg/actions/actions_tutu.txt
new file mode 100644 (file)
index 0000000..b75c013
--- /dev/null
@@ -0,0 +1,4 @@
+# sample action file (with only the actions for tutu, 
+#                     to be launched by deployment file)
+tutu send toto 1e10
+tutu sleep 12