Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ProfiT-HPC
aggregator
Commits
154dc61b
Commit
154dc61b
authored
Oct 02, 2019
by
Azat Khuziyakhmetov
Browse files
fixed bug in postexec script for slurm which caused increased CU count
parent
a3794ac3
Changes
1
Hide whitespace changes
Inline
Side-by-side
postexec/exportjobinfo.py
View file @
154dc61b
...
...
@@ -180,7 +180,7 @@ def slurm_parse_cpu_info(cpus):
a_and_b
=
cpu_info
.
split
(
"-"
)
cpu_count
+=
int
(
a_and_b
[
1
])
-
int
(
a_and_b
[
0
])
+
1
else
:
cpu_count
+=
int
(
cpu_info
)
cpu_count
+=
1
return
cpu_count
...
...
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