Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
bf3ef3412246e8c95a0eb7b2ec8579f9b61e5c39
[simgrid.git] / examples / smpi / replay_multiple / README
1 This is an example of the replay of several traces in the same simulation,
2  in order to watch how they interact on a platform.
3
4
5 The main item of this example is the description file
6
7 The description_file file is an example of the launching of 2 replay traces 
8 (both of the same application/size).
9
10 Each line has the form :
11
12 instance_id replay_file instance_size delay
13
14 example :
15
16 2 smpi_replay.txt 32 125000000000
17
18 This launchs an instance "2" that will replay file smpi_replay.txt with 32 
19 processes, and each one of these processes will sleep for 125000000000 flops 
20 before the run.
21
22
23 In order to be replayed, a deployment file must be generated 
24 from this description file, and from the intended platform file and hostfiles. 
25 The script generate_multiple_deployment.sh can be used as such : 
26
27 ./generate_multiple_deployment.sh -platform platform_file.xml 
28    -hostfile hostfile  description_file deployment.xml
29    
30 The output deployment file will be written in deployment.xml
31
32 Please not that the deployment will use the hostfile in order, placing processes 
33 of the first instance using the first node, and the ones of the following 
34 instances on the following nodes.
35
36 The actual replay can now be launched, using classic options for SMPI
37
38 ./replay_multiple description_file platform_file.xml deployment.xml --cfg=... --log=...
39
40