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
b94ddfc7
"...git@developer.sourcefind.cn:OpenDAS/mmdetection3d.git" did not exist on "ea9685a93887989d67fb3b6f48ca338b3d2e5551"
Commit
b94ddfc7
authored
Mar 31, 2023
by
Jonas Kaufmann
Committed by
Antoine Kaufmann
Apr 05, 2023
Browse files
experiments/slurm runtime: add check whether job id could be retrieved
parent
13f09ab9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
experiments/simbricks/orchestration/runtime/slurm.py
experiments/simbricks/orchestration/runtime/slurm.py
+2
-0
No files found.
experiments/simbricks/orchestration/runtime/slurm.py
View file @
b94ddfc7
...
...
@@ -113,6 +113,8 @@ class SlurmRuntime(Runtime):
raise
RuntimeError
(
'running sbatch failed'
)
m
=
jid_re
.
search
(
output
)
if
m
is
None
:
raise
RuntimeError
(
'cannot retrieve id of submitted job'
)
run
.
job_id
=
int
(
m
.
group
(
1
))
async
def
start
(
self
):
...
...
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