fixed bug with num_cores that caused test_clusterbench to fail on hibench

work related to [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3958]
This commit is contained in:
Guillaume Raffy 2024-10-23 16:55:17 +02:00
parent 98940824e4
commit 25d2e489d5
2 changed files with 1 additions and 2 deletions

View File

@ -309,7 +309,7 @@ def launch_job_for_host_group(benchmark: IBenchmark, benchmark_config: Benchmark
'<iprbench_venv_archive_path>': str(job_venv_archive_path),
'<benchmark_config>': json.dumps(benchmark_config).replace('"', r'\"'),
'<results_dir>': str(results_dir),
'<num_cores>': num_cores,
'<num_cores>': str(num_cores),
}
logging.debug('tags_dict = %s', str(tags_dict))
with importlib.resources.path('iprbench.resources', 'clusterbench-template.job') as job_template_path:

View File

@ -24,7 +24,6 @@ class ClusterBenchTestCase(unittest.TestCase):
'test_id': 'arch4_quick',
'hibridon_version': 'a3bed1c3ccfbca572003020d3e3d3b1ff3934fad',
'cmake_path': 'cmake',
'num_cores': 2,
}
command = f'clusterbench-submit --cluster-id \'dummy\' --benchmark-id \'hibench\' --config \'{json.dumps(config)}\' --results-dir /tmp/hibench_out'
subprocess.run(command, shell=True, check=True, executable='/bin/bash')