The multi-configuration file must contain a section called "multi" where you must specify the following:
The [multi] section should look like this:
[multi] tracedir: Directory with tracefiles tracefiles: Tracefiles to use in experiments injectiondir: Directory with injectable tracefiles injectionfiles: Injectable tracefiles basedatadir: Directory where raw data will be saved
Next, for each section you would ordinarily include in a regular configuration file, you can include common options (shared by all profiles) and profile-specific options. For example, assuming you want to specify options in the general and simulation sections, and you want to create two profiles called nobackfilling and withbackfilling, you would have to create the following sections:
[common:general] ... [common:simulation] ... [nobackfilling:general] ... [nobackfilling:simulation] ... [withbackfilling:general] ... [withbackfilling:simulation] ...
An example multi-configuration file is provided in /usr/share/haizea/etc/sample-multi.conf. Using this file, or once you've created your own, you can use the haizea-generate-configs to create the individual configuration files (one for every combination of tracefile, injected tracefile, and profile):
haizea-generate-configs -c config -d dir
The -c parameter is used to specify the multi-config file, and the -d parameter is used to specify where the configuration files should be created. Since running each configuration individually would be cumbersome, you can also use the haizea-generate-script command to generate a script that will run through all the generated configuration files. This command requires Mako Templates for Python, so make sure you install Mako before using haizea-generate-scripts. Haizea currently includes two script templates: one to generate a BASH script that will call haizea with each individual configuration file, and one to generate a basic Condor submission script. For example, to generate the BASH script, you would run the command like this:
haizea-generate-scripts -c config -d dir -t /usr/share/haizea/etc/run.sh.template
Borja Sotomayor 2009-12-17