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

change squeue to update the number of nodes in an allocation still active

parent ac30ff4d
No related branches found
No related tags found
No related merge requests found
...@@ -1493,8 +1493,11 @@ static int _adjust_completing (job_info_t *job_ptr, node_info_msg_t **ni) ...@@ -1493,8 +1493,11 @@ static int _adjust_completing (job_info_t *job_ptr, node_info_msg_t **ni)
hostlist_uniq(hl); hostlist_uniq(hl);
hostlist_ranged_string (hl, 8192, buf); hostlist_ranged_string (hl, 8192, buf);
hostlist_destroy(hl); hostlist_destroy(hl);
job_ptr->num_nodes = MAX(job_ptr->num_nodes, /* if we decrement the nodelist why not the num_nodes? this
_nodes_in_list(job_ptr->nodes)); * code will set the number to the total number of nodes in
* the list */
/* job_ptr->num_nodes = MAX(job_ptr->num_nodes, */
/* _nodes_in_list(job_ptr->nodes)); */
xfree (job_ptr->nodes); xfree (job_ptr->nodes);
job_ptr->nodes = xstrdup (buf); job_ptr->nodes = xstrdup (buf);
return (0); return (0);
......
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