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

- show slurm example

parent 826b2136
Branches
Tags s12
No related merge requests found
......@@ -31,14 +31,36 @@ parameterset:
- name: input_value
mode: python
_: '{ "jurecadc" : ${input_value_jurecadc} , "jedi" : ${input_value_jedi} }["${system_name}"]["${system_version}"]'
- name: systemParam
init_with: "platform.xml:systemParameter"
parameter:
- name: nodes
mode: python
_: '{ "jurecadc" : 2, "jedi" : 1 }["${system_name}"]'
- name: queue
mode: python
_: '{ "jurecadc" : "dc-cpu", "jedi" : "all" }["${system_name}"]'
- name: executable
_: "echo"
- name: args_exec
_: "Runtime=${input_value}"
step:
- name: execute
use:
- benchParam
- systemInfo
- systemParam
- from: platform.xml
_: jobfiles
- from: platform.xml
_: executesub
- from: platform.xml
_: executeset
do:
- echo "Runtime=${input_value}"
- done_file: $done_file
error_file: $error_file
_: ${submit} --parsable ${submit_script} > run.jobid
patternset:
- name: runtime_pattern
......@@ -46,6 +68,10 @@ patternset:
- name: runtime
type: float
_: "Runtime=$jube_pat_fp"
- name: jobid_pattern
pattern:
- name: jobid
_: ${jube_pat_int}
analyser:
- name: bench_info
......@@ -53,7 +79,9 @@ analyser:
step: execute
file:
- use: runtime_pattern
_: stdout
_: job.out
- use: jobid_pattern
_: run.jobid
result:
use:
......@@ -64,3 +92,4 @@ result:
column:
- { title: "Runtime", _: runtime }
- { title: "System", _: system_name }
- { title: "JobID", _: jobid }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment