test_no_energy.yaml 1.47 KB
Newer Older
1
2
3
4
5
6
# This script should be called from Batsim's root directory

# If needed, the working directory of this script can be specified within this file
#base_working_directory: ~/proj/batsim

# If needed, the output directory of this script can be specified within this file
7
base_output_directory: /tmp/batsim_tests/no_energy
8

9
base_variables:
10
  batsim_dir: ${base_working_directory}
11

12
13
14
15
implicit_instances:
  implicit:
    sweep:
      platform :
16
        - {"name":"homo128", "filename":"${batsim_dir}/platforms/energy_platform_homogeneous_no_net_128.xml"}
17
      workload :
18
19
        - {"name":"tiny", "filename":"${batsim_dir}/workload_profiles/test_workload_profile.json"}
        - {"name":"medium", "filename":"${batsim_dir}/workload_profiles/batsim_paper_workload_example.json"}
20
      pybatsim_algo:
21
        - {"name":"filler", "algo_name":"fillerSched"}
22
    generic_instance:
23
      timeout: 10
24
      working_directory: ${base_working_directory}
25
      output_directory: ${base_output_directory}/results/${pybatsim_algo[name]}_${workload[name]}_${platform[name]}
26
      batsim_command: batsim -p ${platform[filename]} -w ${workload[filename]} -e ${output_directory}/out -s ${output_directory}/socket --mmax-workload
Millian Poquet's avatar
Millian Poquet committed
27
      sched_command: python2 ${batsim_dir}/schedulers/pybatsim/launcher.py ${pybatsim_algo[algo_name]} -s ${output_directory}/socket
28
29

commands_before_instances:
30
31
  - ${batsim_dir}/test/is_batsim_dir.py ${base_working_directory}
  - ${batsim_dir}/test/clean_output_dir.py ${base_output_directory}