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
datascience
balsamDEPRECATED
Commits
19b9977a
Commit
19b9977a
authored
Oct 13, 2017
by
Thomas Uram
Browse files
Fix member names
parent
f3e415e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
balsam/schedulers/CobaltScheduler.py
View file @
19b9977a
...
...
@@ -13,10 +13,10 @@ def submit(job,cmd):
logger
.
debug
(
"Submitting command: "
+
cmd
)
# set options base on cpus_per_node
# if job.scheduler_
opts
are set, ignore this.
# if job.scheduler_
config
are set, ignore this.
options
=
''
if
job
.
scheduler_
opts
!=
''
:
options
=
job
.
scheduler_
opts
if
job
.
scheduler_
config
!=
''
:
options
=
job
.
scheduler_
config
elif
job
.
processes_per_node
<
2
:
options
=
'--mode c1'
elif
job
.
processes_per_node
<
3
:
...
...
@@ -38,7 +38,7 @@ def submit(job,cmd):
job
.
project
,
job
.
queue
,
job
.
num_nodes
,
job
.
queue
_time_minutes
,
job
.
wall
_time_minutes
,
job
.
working_directory
,
options
,
cmd
)
...
...
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