Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
D-GENIES
Commits
302658fc
Commit
302658fc
authored
Jul 04, 2018
by
Floreal Cabanettes
Browse files
Fix slurm: launch to only 1 node
parent
de395167
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dgenies/lib/job_manager.py
View file @
302658fc
...
...
@@ -537,7 +537,7 @@ class JobManager:
native_specs
=
self
.
config
.
drmaa_native_specs
if
batch_system_type
==
"slurm"
:
if
native_specs
==
"###DEFAULT###"
:
native_specs
=
"--mem-per-cpu={0} --
ntasks={1}
--time={2}"
native_specs
=
"--mem-per-cpu={0} --
mincpus={1} -N 1
--time={2}"
if
step
==
"prepare"
:
jt
.
nativeSpecification
=
native_specs
.
format
(
memory
,
1
,
"02:00:00"
)
elif
step
==
"start"
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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