Or just use the all_partitions job_submit plugin.

On 09/23/2014 09:52 AM, Kilian Cavalotti wrote:
Hi,

On Tue, Sep 23, 2014 at 7:18 AM, Yann Sagon <[email protected]> wrote:
To lower the problem of having to deal with two queues, you can specify the two 
queues like that when you submit a job : --partition=queue1,queue2 and the 
first one that is free is selected.
You can even define an env variable in users' environment so they
don't have to type anything. "export SLURM_PARTITION=queue1,queue2"
would do the same. Note that for sbatch, it's SBATCH_PARTITION, and
SALLOC_PARTITION for salloc.

Cheers,

Reply via email to