Skip to content
Snippets Groups Projects
Commit fb604c7e authored by Brian Christiansen's avatar Brian Christiansen
Browse files

Fix nodes from being overallocated when allocation straddles multiple nodes.

Bug 2343
parent c17396d7
Branches
No related tags found
No related merge requests found
......@@ -67,6 +67,7 @@ documents those changes that are of interest to users and administrators.
limit, rather than reserve resources for it when the next job ends, don't
reserve any resources for it.
-- Avoid slurmstepd abort if malloc fails during accounting gather operation.
-- Fix nodes from being overallocated when allocation straddles multiple nodes.
* Changes in Slurm 15.08.6
==========================
......
......
......@@ -2629,8 +2629,10 @@ extern slurm_step_layout_t *step_layout_create(struct step_record *step_ptr,
if ((job_resrcs_ptr->whole_node != 1)
&& (slurmctld_conf.select_type_param
& (CR_CORE | CR_SOCKET))
&& ((job_ptr->details->cpu_bind_type !=
(uint16_t)NO_VAL)
&& (job_ptr->details->cpu_bind_type
& CPU_BIND_ONE_THREAD_PER_CORE)) {
& CPU_BIND_ONE_THREAD_PER_CORE))) {
uint16_t threads;
if (slurmctld_conf.fast_schedule)
threads = node_ptr->config_ptr->threads;
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment