Skip to content
Snippets Groups Projects
Commit a4acdb0b authored by Moe Jette's avatar Moe Jette
Browse files

Fix in logic for select/linear with --contiguous and --nodelist

options both in use.
parent dde00ea1
No related branches found
No related tags found
No related merge requests found
...@@ -983,7 +983,7 @@ static int _job_test(struct job_record *job_ptr, bitstr_t *bitmap, ...@@ -983,7 +983,7 @@ static int _job_test(struct job_record *job_ptr, bitstr_t *bitmap,
if (job_ptr->details->contiguous && if (job_ptr->details->contiguous &&
job_ptr->details->req_node_bitmap && job_ptr->details->req_node_bitmap &&
(consec_req[i] == -1)) (consec_req[i] == -1))
break; /* not required nodes */ continue; /* no required nodes here */
sufficient = (consec_cpus[i] >= rem_cpus) && sufficient = (consec_cpus[i] >= rem_cpus) &&
_enough_nodes(consec_nodes[i], rem_nodes, _enough_nodes(consec_nodes[i], rem_nodes,
......
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