Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
9.2.2023: Due to updates GitLab will be unavailable for some minutes between 9:00 and 11:00.
Open sidebar
dcdb
dcdb
Commits
7ad7b998
Commit
7ad7b998
authored
Jul 10, 2020
by
Michael Ott
Browse files
Fix compiler error
parent
5131544d
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/dcdbslurmjob/dcdbslurmjob.cpp
View file @
7ad7b998
...
...
@@ -353,7 +353,7 @@ int main(int argc, char** argv) {
jd
.
jobId
=
jobId
;
jd
.
userId
=
userId
;
jd
.
startTime
=
DCDB
::
TimeStamp
(
ts
);
jd
.
endTime
=
(
maxJobLength
>=
0
)
?
DCDB
::
TimeStamp
(
ts
+
S_TO_NS
(
maxJobLength
*
3600
)
+
1
)
:
DCDB
::
TimeStamp
((
uint64_t
)
0
);
jd
.
endTime
=
(
maxJobLength
>=
0
)
?
DCDB
::
TimeStamp
((
uint64_t
)
(
ts
+
S_TO_NS
(
(
uint64_t
)
maxJobLength
*
3600
ull
)
+
1
)
)
:
DCDB
::
TimeStamp
((
uint64_t
)
0
);
jd
.
nodes
=
nl
;
}
catch
(
const
std
::
invalid_argument
&
e
)
{
std
::
cerr
<<
"Invalid input format!"
<<
std
::
endl
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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