From 3454acf543c4a3c7d2e4ac5e4f969b10a270b3f1 Mon Sep 17 00:00:00 2001 From: Millian Poquet <millian.poquet@irit.fr> Date: Thu, 9 May 2024 11:08:40 +0200 Subject: [PATCH] script: gen-expe-params: sg platf as input arg --- scripts-py/expe_energumen/m100_generate_expe_params.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts-py/expe_energumen/m100_generate_expe_params.py b/scripts-py/expe_energumen/m100_generate_expe_params.py index 4bd7d87..743b523 100644 --- a/scripts-py/expe_energumen/m100_generate_expe_params.py +++ b/scripts-py/expe_energumen/m100_generate_expe_params.py @@ -9,6 +9,7 @@ from hashlib import sha1 def main(): parser = argparse.ArgumentParser() parser.add_argument("workload_params", type=str, help='path to the workload params JSON file') + parser.add_argument("platform_file", type=str, help='path to the SimGrid platform file') parser.add_argument("-o", "--output_file", type=str, help="if set, write output to this file instead of stdout") args = parser.parse_args() @@ -39,7 +40,7 @@ def main(): ] platforms = [ - {'platform_filepath': './m100-platform.xml'}, + {'platform_filepath': args.platform_file}, ] with open(args.workload_params) as wf: -- GitLab