Skip to content
Snippets Groups Projects
Commit ca23cdcd authored by Danny Auble's avatar Danny Auble
Browse files

When a job requested nodes and can't immediately start, only report to

the user (squeue/scontrol et al) if nodes are down in the requested list.

Bug 14666
parent 33c11625
No related branches found
No related tags found
No related merge requests found
......@@ -63,6 +63,8 @@ documents those changes that are of interest to users and administrators.
-- cgroup/v2 - More robust pattern search for events.
-- Fix slurm_spank_job_[prolog|epilog] failures being masked if a Prolog or
Epilog script is defined (regression in 22.05.0rc1).
-- When a job requested nodes and can't immediately start, only report to
the user (squeue/scontrol et al) if nodes are down in the requested list.
 
* Changes in Slurm 22.05.2
==========================
......
......@@ -2570,10 +2570,7 @@ extern int select_nodes(job_record_t *job_ptr, bool test_only,
bit_not(unavail_bitmap);
bit_and_not(unavail_bitmap, future_node_bitmap);
bit_and(unavail_bitmap, part_ptr->node_bitmap);
if (job_ptr->details->req_node_bitmap &&
bit_overlap_any(unavail_bitmap,
job_ptr->details->
req_node_bitmap)) {
if (job_ptr->details->req_node_bitmap) {
bit_and(unavail_bitmap,
job_ptr->details->req_node_bitmap);
}
......
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