Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Lukas Weber
load_leveller
Commits
e60edfd1
Commit
e60edfd1
authored
Oct 24, 2019
by
Lukas Weber
Browse files
fix missing custom_post_cmds
parent
14e9efce
Changes
1
Hide whitespace changes
Inline
Side-by-side
python/loadleveller/clusterutils.py
View file @
e60edfd1
...
...
@@ -32,7 +32,7 @@ def generate_batchscript_claix18(cmd, jobname, jobconfig):
if
'project'
in
jobconfig
:
custom_cmds
+=
'#SBATCH --account={}
\n
'
.
format
(
jobconfig
[
'project'
])
custom_cmds
+=
jobconfig
.
get
(
'custom_cmds'
,
''
)
custom_cmds
=
jobconfig
.
get
(
'custom_post_cmds'
,
''
)
custom_
post_
cmds
=
jobconfig
.
get
(
'custom_post_cmds'
,
''
)
try
:
return
template
.
format
(
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment