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

missed mod from last ci

parent f9dc0d16
No related branches found
No related tags found
No related merge requests found
...@@ -160,6 +160,11 @@ static int _setup_job_start_msg(dbd_job_start_msg_t *req, ...@@ -160,6 +160,11 @@ static int _setup_job_start_msg(dbd_job_start_msg_t *req,
/* since we could be sending this after the job is over we /* since we could be sending this after the job is over we
need the original bitmap */ need the original bitmap */
if(job_ptr->job_resrcs)
req->alloc_cpus = job_ptr->job_resrcs->ncpus;
else
req->alloc_cpus = job_ptr->total_cpus;
if(job_ptr->job_resrcs && job_ptr->job_resrcs->node_bitmap) { if(job_ptr->job_resrcs && job_ptr->job_resrcs->node_bitmap) {
req->node_inx = bit_fmt(temp_bit, sizeof(temp_bit), req->node_inx = bit_fmt(temp_bit, sizeof(temp_bit),
job_ptr->job_resrcs->node_bitmap); job_ptr->job_resrcs->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