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

set a job's total_procs variable at allocation time (previously not set).

parent b9005da2
No related branches found
No related tags found
No related merge requests found
......@@ -1614,7 +1614,7 @@ alloc_job:
if ((mode != SELECT_MODE_WILL_RUN) && (job_ptr->part_ptr == NULL))
error_code = EINVAL;
if ((error_code == SLURM_SUCCESS) && (mode == SELECT_MODE_WILL_RUN)) {
if (error_code == SLURM_SUCCESS) {
if (job_ptr->details->shared == 0) {
job_ptr->total_procs = 0;
for (i = 0; i < cr_node_cnt; i++) {
......
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