Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
676bb13d
Commit
676bb13d
authored
Aug 20, 2021
by
Antoine Kaufmann
Browse files
experiments: add dist flags to dist group for clearer help
parent
05de0b1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
experiments/run.py
experiments/run.py
+2
-2
No files found.
experiments/run.py
View file @
676bb13d
...
@@ -87,10 +87,10 @@ g_slurm.add_argument('--slurmdir', metavar='DIR', type=str,
...
@@ -87,10 +87,10 @@ g_slurm.add_argument('--slurmdir', metavar='DIR', type=str,
default
=
'./slurm/'
,
help
=
'Slurm communication directory'
)
default
=
'./slurm/'
,
help
=
'Slurm communication directory'
)
g_dist
=
parser
.
add_argument_group
(
'Distributed Runtime'
)
g_dist
=
parser
.
add_argument_group
(
'Distributed Runtime'
)
g_
par
.
add_argument
(
'--dist'
,
dest
=
'runtime'
,
action
=
'store_const'
,
g_
dist
.
add_argument
(
'--dist'
,
dest
=
'runtime'
,
action
=
'store_const'
,
const
=
'dist'
,
default
=
'sequential'
,
const
=
'dist'
,
default
=
'sequential'
,
help
=
'Use sequential distributed runtime instead of local'
)
help
=
'Use sequential distributed runtime instead of local'
)
g_
par
.
add_argument
(
'--auto-dist'
,
action
=
'store_const'
,
const
=
True
,
g_
dist
.
add_argument
(
'--auto-dist'
,
action
=
'store_const'
,
const
=
True
,
default
=
False
,
default
=
False
,
help
=
'Automatically distribute non-distributed experiments'
)
help
=
'Automatically distribute non-distributed experiments'
)
args
=
parser
.
parse_args
()
args
=
parser
.
parse_args
()
...
...
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