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
caaa6d8a
Commit
caaa6d8a
authored
Jan 12, 2018
by
Kevin Harms
Browse files
Revert "Change qsub usage to ranks_per_node from processes_per_node and add a default job name"
This reverts commit
74ce64c5
parent
40feb3fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
balsam/scripts/cli_commands.py
View file @
caaa6d8a
...
...
@@ -64,7 +64,7 @@ def newjob(args):
job
.
wall_time_minutes
=
args
.
wall_minutes
job
.
num_nodes
=
args
.
num_nodes
job
.
rank
s_per_node
=
args
.
rank
s_per_node
job
.
processe
s_per_node
=
args
.
processe
s_per_node
job
.
threads_per_rank
=
args
.
threads_per_rank
job
.
threads_per_core
=
args
.
threads_per_core
...
...
@@ -195,14 +195,14 @@ def rm(args):
def
qsub
(
args
):
job
=
Job
()
job
.
name
=
args
.
name
if
args
.
name
else
"default"
job
.
name
=
args
.
name
job
.
description
=
'Added by balsam qsub'
job
.
workflow
=
'qsub'
job
.
allowed_work_sites
=
settings
.
BALSAM_SITE
job
.
wall_time_minutes
=
args
.
wall_minutes
job
.
num_nodes
=
args
.
nodes
job
.
rank
s_per_node
=
args
.
ppn
job
.
processe
s_per_node
=
args
.
ppn
job
.
threads_per_rank
=
args
.
threads_per_rank
job
.
threads_per_core
=
args
.
threads_per_core
job
.
environ_vars
=
":"
.
join
(
args
.
env
)
...
...
@@ -275,7 +275,7 @@ def make_dummies(args):
job
.
wall_time_minutes
=
0
job
.
num_nodes
=
1
job
.
rank
s_per_node
=
1
job
.
processe
s_per_node
=
1
job
.
threads_per_rank
=
1
job
.
threads_per_core
=
1
job
.
environ_vars
=
""
...
...
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