Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
355cf35f4f0fc0a22918a57933e4ba7c90002338
[simgrid.git] / doc / user_guide / doxygen / deployment.doc
1 /*! \page deployment Deployment description
2
3 Deployment just consists of saying which
4 process runs where and which arguments it should take as input, the easier way to
5 understand how to write it is just to take a look at the examples. Here is an example of it:
6
7 \verbatim
8 <?xml version='1.0'?>
9 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid.dtd">
10 <platform version="3">
11   <!-- The master process (with some arguments) -->
12   <process host="Tremblay" function="master">
13      <argument value="20"/>       <!-- Number of tasks -->
14      <argument value="50000000"/>  <!-- Computation size of tasks -->
15      <argument value="1000000"/>   <!-- Communication size of tasks -->
16      <argument value="Jupiter"/>  <!-- First slave -->
17      <argument value="Fafard"/>   <!-- Second slave -->
18      <argument value="Ginette"/>  <!-- Third slave -->
19      <argument value="Bourassa"/> <!-- Last slave -->
20      <argument value="Tremblay"/> <!-- Me! I can work too! -->
21   </process>
22   <!-- The slave processes (with no argument) -->
23   <process host="Tremblay" function="slave"/>
24   <process host="Jupiter" function="slave"/>
25   <process host="Fafard" function="slave"/>
26   <process host="Ginette" function="slave"/>
27   <process host="Bourassa" function="slave"/>
28 </platform>
29 \endverbatim
30
31 There are additional attributes to the process tag, here is a list of attributes of process: 
32
33 \li <b>host CDATA (mandatory)</b>: the host on which the function will be executed.  
34 \li <b>process CDATA (mandatory)</b>: the process function that will be executed on that host.
35 \li <b>start_time</b>: the time when the function will start. Default is zero.
36 \li <b>kill_time</b>: the time when the function will stop. Default is when it's actually finishing.
37
38 */