Skip to content
Snippets Groups Projects
Commit 00be6b21 authored by Jayesh Badwaik's avatar Jayesh Badwaik
Browse files

+ aux file

parent f7c4875d
No related branches found
No related tags found
No related merge requests found
...@@ -12,6 +12,10 @@ name: scaler ...@@ -12,6 +12,10 @@ name: scaler
# We currently set the outpath to `/dev/null` to force the user to specify an output path manually. # We currently set the outpath to `/dev/null` to force the user to specify an output path manually.
outpath: /dev/null outpath: /dev/null
fileset:
- name: auxsource
copy: src
parameterset: parameterset:
- name: systemInfo - name: systemInfo
parameter: parameter:
...@@ -40,10 +44,13 @@ parameterset: ...@@ -40,10 +44,13 @@ parameterset:
- name: queue - name: queue
mode: python mode: python
_: '{ "jurecadc" : "dc-cpu", "jedi" : "all" }["${system_name}"]' _: '{ "jurecadc" : "dc-cpu", "jedi" : "all" }["${system_name}"]'
- name: preprocess
mode: python
_: '{ "jurecadc" : "module load Stages/2023 && module load GCC Python/3.10.4", "jedi" : "module load GCC Python/3.11.3" }["${system_name}"]'
- name: executable - name: executable
_: "echo" _: "python"
- name: args_exec - name: args_exec
_: "Runtime=${input_value}" _: "src/value.py ${input_value}"
step: step:
- name: execute - name: execute
...@@ -51,6 +58,7 @@ step: ...@@ -51,6 +58,7 @@ step:
- benchParam - benchParam
- systemInfo - systemInfo
- systemParam - systemParam
- auxsource
- from: platform.xml - from: platform.xml
_: jobfiles _: jobfiles
- from: platform.xml - from: platform.xml
......
#!/usr/bin/env python3
import argparse
def parser():
parser = argparse.ArgumentParser(description="Value of a number")
parser.add_argument("number", type=int, help="Number to use for multiplication")
return parser
if __name__ == "__main__":
args = parser().parse_args()
print("Runtime={}".format(float(args.number)*12))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment