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

BGQ - correct check for sub-block allocation request

parent f710a33e
No related branches found
No related tags found
No related merge requests found
......@@ -1611,7 +1611,8 @@ extern int submit_job(struct job_record *job_ptr, bitstr_t *slurm_block_bitmap,
for (dim=1; dim<SYSTEM_DIMENSIONS; dim++)
jobinfo->conn_type[dim] = SELECT_NAV;
}
} else if (bg_conf->sub_blocks && (min_nodes < bg_conf->mp_cnode_cnt)) {
} else if (bg_conf->sub_blocks
&& (job_ptr->details->max_cpus < bg_conf->cpus_per_mp)) {
for (dim=0; dim<SYSTEM_DIMENSIONS; dim++)
jobinfo->conn_type[dim] = SELECT_NAV;
}
......
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