Commit 154dc61b authored by Azat Khuziyakhmetov's avatar Azat Khuziyakhmetov
Browse files

fixed bug in postexec script for slurm which caused increased CU count

parent a3794ac3
......@@ -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
cpu_count += int(cpu_info)
cpu_count += 1
return cpu_count
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment