[slurm-users] Limit a partition or host to jobs less than 4 cores?
Renfro, Michael
Renfro at tntech.edu
Wed Sep 30 15:54:32 UTC 2020
Untested, but a combination of a QOS with MaxTRESPerJob=cpu=X and a partition that allows or denies that QOS may work. A job_submit.lua should be able to adjust the QOS of a submitted job, too.
On 9/30/20, 10:50 AM, "slurm-users on behalf of Paul Edmon" <slurm-users-bounces at lists.schedmd.com on behalf of pedmon at cfa.harvard.edu> wrote:
External Email Warning
This email originated from outside the university. Please use caution when opening attachments, clicking links, or responding to requests.
________________________________
Probably the best way to accomplish this is via a job_submit.lua
script. That way you can reject at submission time. There isn't a
feature in the partition configurations that I am aware that can
accomplish this but a custom job_submit script certainly can.
-Paul Edmon-
On 9/30/2020 11:44 AM, Jim Kilborn wrote:
> Does anyone know if there is a way to limit a partition (or a host in
> a partition) to only allow jobs less than x number of cores. It would
> be preferable to not have to move the host to a seperate partition,
> but we could if necessary. I just want to have a place that only small
> jobs can run. I cant find a parameter in slurm.conf that allows this,
> or I am overlooking something.
>
> Thanks in advance!
>
More information about the slurm-users
mailing list