Skip to content
GitLab
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
c8f0d38c
Commit
c8f0d38c
authored
Jan 29, 2018
by
Floreal Cabanettes
Browse files
Fix cluster submission
parent
368355e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dgenies/lib/job_manager.py
View file @
c8f0d38c
...
...
@@ -291,7 +291,7 @@ class JobManager:
jt
.
nativeSpecification
=
native_specs
.
format
(
8000
,
1
,
"02:00:00"
)
elif
step
==
"start"
:
jt
.
nativeSpecification
=
native_specs
.
format
(
self
.
config
.
cluster_memory
/
self
.
config
.
cluster_threads
*
1000
,
self
.
config
.
cluster_threads
,
self
.
config
.
cluster_memory
/
/
self
.
config
.
cluster_threads
*
1000
,
self
.
config
.
cluster_threads
,
"02:00:00"
)
elif
batch_system_type
==
"sge"
:
if
native_specs
==
"###DEFAULT###"
:
...
...
@@ -300,7 +300,7 @@ class JobManager:
jt
.
nativeSpecification
=
native_specs
.
format
(
8000
,
1
)
elif
step
==
"start"
:
jt
.
nativeSpecification
=
native_specs
.
format
(
self
.
config
.
cluster_memory
/
self
.
config
.
cluster_threads
*
1000
,
self
.
config
.
cluster_threads
)
self
.
config
.
cluster_memory
/
/
self
.
config
.
cluster_threads
*
1000
,
self
.
config
.
cluster_threads
)
jt
.
workingDirectory
=
self
.
output_dir
jobid
=
s
.
runJob
(
jt
)
self
.
id_process
=
jobid
...
...
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