Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
New function SMPI_app_instance_start() to easily start a MPI instance in your S4U...
[simgrid.git] / examples / smpi / smpi_s4u_masterworker / deployment_masterworker_mailbox_smpi.xml
1 <?xml version='1.0'?>
2 <!DOCTYPE platform SYSTEM "https://simgrid.org/simgrid.dtd">
3 <platform version="4.1">
4   <!-- The master actor (with some arguments) -->
5   <actor host="Tremblay" function="master">
6     <argument value="20"/>       <!-- Number of tasks -->
7     <argument value="50000000"/>  <!-- Computation size of tasks -->
8     <argument value="1000000"/>   <!-- Communication size of tasks -->
9     <argument value="Ginette"/>  <!-- Hostname of the first worker -->
10     <argument value="Jupiter"/>  <!-- Hostname of the second worker -->
11   </actor>
12   <!-- The worker actors (with mailbox to listen on as argument) -->
13   <actor host="Ginette" function="worker"/>
14   <actor host="Jupiter" function="worker"/>
15
16   <actor host="Ginette" function="master_mpi">
17     <prop id="instance_id" value="master_mpi"/>
18     <prop id="rank" value="0"/>
19   </actor>
20   <actor host="Bourassa" function="master_mpi">
21     <prop id="instance_id" value="master_mpi"/>
22     <prop id="rank" value="1"/>
23   </actor>
24 </platform>