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

fix for hostlist support

parent 7b09cc99
No related branches found
No related tags found
No related merge requests found
...@@ -457,6 +457,7 @@ _pick_step_nodes (struct job_record *job_ptr, ...@@ -457,6 +457,7 @@ _pick_step_nodes (struct job_record *job_ptr,
/* set the nodes_avail to be the new set */ /* set the nodes_avail to be the new set */
FREE_NULL_BITMAP(nodes_avail); FREE_NULL_BITMAP(nodes_avail);
nodes_avail = selected_nodes; nodes_avail = selected_nodes;
step_spec->node_count = bit_set_count(nodes_avail);
} }
} }
...@@ -496,8 +497,8 @@ _pick_step_nodes (struct job_record *job_ptr, ...@@ -496,8 +497,8 @@ _pick_step_nodes (struct job_record *job_ptr,
bit_not(nodes_idle); bit_not(nodes_idle);
bit_and(nodes_idle, nodes_avail); bit_and(nodes_idle, nodes_avail);
} }
/* temp = bitmap2node_name(nodes_avail); */ /* temp = bitmap2node_name(nodes_avail); */
/* info("can pick from %s", temp); */ /* info("can pick from %s %d", temp, step_spec->node_count); */
/* xfree(temp); */ /* xfree(temp); */
/* temp = bitmap2node_name(nodes_idle); */ /* temp = bitmap2node_name(nodes_idle); */
/* info("can pick from %s", temp); */ /* info("can pick from %s", temp); */
......
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