From e941364920a5f910144d2564ee14f91a61c1b3cb Mon Sep 17 00:00:00 2001 From: Morris Jette Date: Tue, 12 Aug 2014 11:05:31 -0700 Subject: [PATCH] Enable srun to submit job to multiple partition Previously job would only run in first listed partition. --- NEWS | 1 + src/slurmctld/job_mgr.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 5503fecdc37..c2fd2145082 100644 --- a/NEWS +++ b/NEWS @@ -59,6 +59,7 @@ documents those changes that are of interest to users and admins. -- Update the acct_gather.conf.5 man page removing the reference to InfinibandOFEDFrequency. -- Fix gang scheduling for jobs submitted to multiple partitions. + -- Enable srun to submit job to multiple partitions. * Changes in Slurm 14.03.6 ========================== diff --git a/src/slurmctld/job_mgr.c b/src/slurmctld/job_mgr.c index 54ab81b04e2..91f6464942f 100644 --- a/src/slurmctld/job_mgr.c +++ b/src/slurmctld/job_mgr.c @@ -3301,7 +3301,8 @@ static int _select_nodes_parts(struct job_record *job_ptr, bool test_only, rc = select_nodes(job_ptr, test_only, select_node_bitmap); if ((rc != ESLURM_REQUESTED_NODE_CONFIG_UNAVAILABLE) && - (rc != ESLURM_REQUESTED_PART_CONFIG_UNAVAILABLE)) + (rc != ESLURM_REQUESTED_PART_CONFIG_UNAVAILABLE) && + (rc != ESLURM_NODES_BUSY)) break; } list_iterator_destroy(iter);