Limit the number of running jobs in SLURM

后端 未结 4 1199
粉色の甜心
粉色の甜心 2020-12-16 17:13

I am queuing multiple jobs in SLURM. Can I limit the number of parallel running jobs in slurm?

Thanks in advance!

4条回答
  •  悲哀的现实
    2020-12-16 17:58

    According to the SLURM Resource Limits documentation, you can limit the total number of jobs that you can run for an association/qos with the MaxJobs parameter. As a reminder, an association is a combination of cluster, account, user name and (optional) partition name.

    You should be able to do something similar to:

    sacctmgr modify user  account= set MaxJobs=10
    

    I found this presentation to be very helpful in case you have more questions.

提交回复
热议问题