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

CRAY - Fix for check when having jobs pending, waiting for other jobs

using gang scheduling to finish.  Before the pending jobs would fail
waiting for all other time slicing jobs to finish.
parent 6ee6d687
No related branches found
No related tags found
No related merge requests found
......@@ -171,7 +171,12 @@ extern int basil_inventory(void)
debug("BASIL %s INVENTORY: %d/%d batch nodes available",
bv_names_long[version], inv->batch_avail, inv->batch_total);
if (!inv->f->node_head || !inv->batch_avail || !inv->batch_total)
/* Avoid checking for inv->batch_avail here since if we are
gang scheduling returning an error for a full system is
probably the wrong thing to do. (the schedule() function
in the slurmctld will never run ;)).
*/
if (!inv->f->node_head || !inv->batch_total)
rc = ESLURM_REQUESTED_NODE_CONFIG_UNAVAILABLE;
for (node = inv->f->node_head; node; node = node->next) {
......
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