如何在lsf中设置最大正在运行的作业数

时间:2019-10-14 08:57:56

标签: lsf

我使用IBM lsf。我要配置最大正在运行的作业数。

例如,每个用户可以提交100000个作业,但是只能运行10个作业,其他作业处于待处理状态。

我试图在lsb.queues中设置UJOB_LIMIT

 UJOB_LIMIT:Specifies the per-user job slot limit for the queue
lp.users中的

和MAX_JOBS

MAX_JOBS: Per-user or per-group job slot limit for the cluster. Total number of job slots that

每个用户或用户组均可在集群中使用。

lsb.users中的

和MAX_PEND_JOBS

MAX_PEND_JOBS: Per-user or per-group pending job limit.

但是他们错了。我不知道该如何设置,谁可以给我帮助?

1 个答案:

答案 0 :(得分:1)

要允许用户提交100000个作业,但一次只能运行10个,请在lsb.users中进行设置:

Begin User
USER_NAME         MAX_JOBS    MAX_PEND_JOBS
myuser                  10            99990
End User

(99990 = 100000-10)。

这些限制将适用于整个集群

相关问题