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

BGQ - add creation of bitmap if it does not already exist

parent 010570f4
No related branches found
No related tags found
No related merge requests found
......@@ -2881,6 +2881,10 @@ extern int select_p_fail_cnode(struct step_record *step_ptr)
ba_mp = ba_inx2ba_mp(i);
xassert(ba_mp);
if (!ba_mp->cnode_err_bitmap)
ba_mp->cnode_err_bitmap =
bit_alloc(bg_conf->mp_cnode_cnt);
if (jobinfo->units_avail) {
bit_or(ba_mp->cnode_err_bitmap,
step_jobinfo->units_used);
......
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