Two things:
1. So your users are okay with specifying a partition, but specifying a
QOS is a bridge too far?
2. Have your job_submit.lua script filter the jobs into the correct QOS.
You can check the partition and set the QOS accordingly.
First, you need to have this set in your slurm.conf:
JobSubmitPlugins=job_submit/lua
But I'm pretty sure that's the default setting.
Since it looks like your partitions and corresponding QOSes have the
same names, you can just add this line to the slurm_job_submit function
body in your job_submit.lua script:
job_desc.qos = job_desc.partition
And voila! Problem solved.
After editing job_submit.lua, you'll need to restart slurmctld for the
changes to take effect. Also, it's a good idea to 'tail -f'
slurmctld.log while restarting - any errors with the syntax will be
printed there, and if there's any errors in that file, slumctld won't
start.
--
Prentice
--
Prentice Bisbal
Lead Software Engineer
Research Computing
Princeton Plasma Physics Laboratory
http://www.pppl.gov