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

SMPI batexec test to make github issue easier

parent 544efbb3
......@@ -219,6 +219,12 @@ add_test(smpi
-bod /tmp/batsim_tests/smpi
-bwd ${CMAKE_SOURCE_DIR})
add_test(smpi_batexec
${CMAKE_SOURCE_DIR}/tools/experiments/execute_instances.py
${CMAKE_SOURCE_DIR}/test/test_smpi_batexec.yaml
-bod /tmp/batsim_tests/smpi_batexec
-bwd ${CMAKE_SOURCE_DIR})
add_test(batexec
${CMAKE_SOURCE_DIR}/tools/experiments/execute_instances.py
${CMAKE_SOURCE_DIR}/test/test_batexec.yaml
......
# 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
base_output_directory: /tmp/batsim_tests/smpi_batexec
base_variables:
batsim_dir: ${base_working_directory}
implicit_instances:
implicit:
sweep:
platform :
- {"name":"small", "filename":"${batsim_dir}/platforms/small_platform.xml"}
workload :
- {"name":"compute", "filename":"${batsim_dir}/workload_profiles/test_smpi_compute_only.json"}
- {"name":"mixed", "filename":"${batsim_dir}/workload_profiles/test_smpi_mixed_comp_comm.json"}
pybatsim_algo:
- {"name":"filler", "algo_name":"fillerSched"}
generic_instance:
timeout: 10
working_directory: ${base_working_directory}
output_directory: ${base_output_directory}/results/${pybatsim_algo[name]}_${workload[name]}_${platform[name]}
batsim_command: batsim -p ${platform[filename]} -w ${workload[filename]} -e ${output_directory}/out -s ${output_directory}/socket --mmax-workload --batexec
sched_command: echo 'I do not exist'
commands_before_instances:
- ${batsim_dir}/test/is_batsim_dir.py ${base_working_directory}
- ${batsim_dir}/test/clean_output_dir.py ${base_output_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