Skip to content
Snippets Groups Projects
Commit 99c34123 authored by jette's avatar jette
Browse files

Merge branch 'slurm-14.03'

parents 710ba1f5 51a192f8
No related branches found
No related tags found
No related merge requests found
......@@ -290,7 +290,7 @@ static uint16_t _allocate_sc(struct job_record *job_ptr, bitstr_t *core_map,
}
free_cpu_count += free_cores[i] * threads_per_core;
if (used_cpu_array[i])
used_cpu_count = used_cores[i] * threads_per_core;
used_cpu_count += used_cores[i] * threads_per_core;
}
xfree(used_cores);
xfree(used_cpu_array);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment