Commit c9542e1c authored by Millian Poquet's avatar Millian Poquet
Browse files

[test] pybatsim dedicated test

parent 4b5810bf
......@@ -237,8 +237,8 @@ add_test(same_submit_time
-bod /tmp/batsim_tests/same_submit_time
-bwd ${CMAKE_SOURCE_DIR})
add_test(pybatsim_tests
${CMAKE_SOURCE_DIR}/tools/experiments/execute_instances.py
${CMAKE_SOURCE_DIR}/test/pybatsim_tests.yaml
-bod /tmp/pybatsim_tests
-bwd ${CMAKE_SOURCE_DIR})
base_output_directory: /tmp/pybatsim_tests/
base_variables:
batsim_dir: ${base_working_directory}
implicit_instances:
implicit:
sweep:
platform :
- {"name":"homo128", "filename":"${batsim_dir}/platforms/energy_platform_homogeneous_no_net_128.xml"}
workload :
- {"name":"tiny", "filename":"${batsim_dir}/workload_profiles/test_workload_profile.json"}
- {"name":"medium", "filename":"${batsim_dir}/workload_profiles/batsim_paper_workload_example.json"}
pybatsim_algo:
- {"name":"filler", "algo_name":"fillerSched"}
- {"name":"easy", "algo_name":"easyBackfill"}
- {"name":"easy_no_topo", "algo_name":"easyBackfillNotopo"}
energy_string: ['', '-E']
generic_instance:
timeout: 10
working_directory: ${base_working_directory}
output_directory: ${base_output_directory}/results/${instance_id}
batsim_command: batsim -p ${platform[filename]} -w ${workload[filename]} -e ${output_directory}/out -s ${output_directory}/socket --mmax-workload ${energy_string}
sched_command: python2 ${batsim_dir}/schedulers/pybatsim/launcher.py ${pybatsim_algo[algo_name]} -s ${output_directory}/socket
commands_before_instances:
- ${batsim_dir}/test/is_batsim_dir.py ${base_working_directory}
- ${batsim_dir}/test/clean_output_dir.py ${base_output_directory}
......@@ -19,7 +19,6 @@ implicit_instances:
- {"name":"medium", "filename":"${batsim_dir}/workload_profiles/batsim_paper_workload_example.json"}
pybatsim_algo:
- {"name":"filler", "algo_name":"fillerSched"}
- {"name":"easy", "algo_name":"easyBackfillNotopo"}
generic_instance:
timeout: 10
working_directory: ${base_working_directory}
......
......@@ -19,7 +19,6 @@ implicit_instances:
- {"name":"medium", "filename":"${batsim_dir}/workload_profiles/batsim_paper_workload_example.json"}
pybatsim_algo:
- {"name":"filler", "algo_name":"fillerSched"}
- {"name":"easy", "algo_name":"easyBackfillNotopo"}
generic_instance:
timeout: 10
working_directory: ${base_working_directory}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment