Skip to content
Snippets Groups Projects
Commit 3454acf5 authored by Millian Poquet's avatar Millian Poquet
Browse files

script: gen-expe-params: sg platf as input arg

parent 461eae8c
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment