Logo AND Algorithmique Numérique Distribuée

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