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

set cpu count for single node bgl jobs (needed for Moab)

parent 8a1176be
No related branches found
No related tags found
No related merge requests found
...@@ -1761,6 +1761,8 @@ extern void build_node_details(struct job_record *job_ptr) ...@@ -1761,6 +1761,8 @@ extern void build_node_details(struct job_record *job_ptr)
job_ptr->cpus_per_node[cpu_inx] = job_ptr->cpus_per_node[cpu_inx] =
job_ptr->num_procs; job_ptr->num_procs;
job_ptr->cpu_count_reps[cpu_inx] = 1; job_ptr->cpu_count_reps[cpu_inx] = 1;
job_ptr->alloc_lps[0] = job_ptr->num_procs;
job_ptr->used_lps[0] = 0;
goto cleanup; goto cleanup;
} }
#endif #endif
......
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