Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
dcdb
dcdb
Commits
80cae631
Commit
80cae631
authored
May 07, 2020
by
Michael Ott
Browse files
Also parse SLURM_JOBID for SLURM job id
parent
cc366861
Changes
1
Show whitespace changes
Inline
Side-by-side
tools/dcdbslurmjob/dcdbslurmjob.cpp
View file @
80cae631
...
...
@@ -224,8 +224,12 @@ int main(int argc, char** argv) {
if
(
ts
==
0
)
ts
=
getTimestamp
();
if
(
jobId
==
""
)
if
(
jobId
==
""
)
{
jobId
=
getEnv
(
"SLURM_JOB_ID"
);
if
(
jobId
==
""
)
{
jobId
=
getEnv
(
"SLURM_JOBID"
);
}
}
if
(
boost
::
iequals
(
argv
[
argc
-
1
],
"start"
))
{
...
...
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