To avoid hijacking the previous thread I'm starting a new one, as my question is different than the OP but relates to the suggestions given.
The use of submitting with multiple partitions is a very useful feature I had neglected to realize existed. I gave it a quick test on my system (still in "BETA" phase) and found my job_submit plugin prevents the submissions from working as expected. My job_submit plugin chooses a QOS based on the partition and default account of the user submitting a job. We have decided to not require users to specify a QOS as some of our users use software that cannot handle the --qos flag (jobs coming from Grid / OSG / etc). Has anyone used the Lua job_submit plugin and also allows multiple partitions? I'm not even user what the partition value would be in the Lua code when a job is submitted with "--partition=general,background", for example. A more broader question would be, would a QOS have to be allowed on all the partitions listed if the --qos flag is used? My job_submit.lua - https://gist.github.com/treydock/b964c5599fd057b0aa6a Thanks, - Trey ============================= Trey Dockendorf Systems Analyst I Texas A&M University Academy for Advanced Telecommunications and Learning Technologies Phone: (979)458-2396 Email: [email protected] Jabber: [email protected] ----- Original Message ----- > From: "Danny Auble" <[email protected]> > To: "slurm-dev" <[email protected]> > Sent: Tuesday, September 23, 2014 11:55:14 AM > Subject: [slurm-dev] Re: Implementing fair-share policy using BLCR > > > 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, >
