LSF Version 7.3 - Administering Platform LSF
Administering Platform LSF 129
Managing Jobs
For example, a default job group name specified by
DEFAULT_JOBGROUP=/canada/%p/%u is expanded to the value for the LSF project
name and the user name of the job submission user (for example,
/canada/projects/user1).
Job group names must follow this format:
◆ Job group names must start with a slash character (/). For example,
DEFAULT_JOBGROUP=/A/B/C is correct, but DEFAULT_JOBGROUP=A/B/C is not
correct.
◆ Job group names cannot end with a slash character (/). For example,
DEFAULT_JOBGROUP=/A/ is not correct.
◆ Job group names cannot contain more than one slash character (/) in a row. For
example, job group names like
DEFAULT_JOBGROUP=/A//B or
DEFAULT_JOBGROUP=A////B are not correct.
◆ Job group names cannot contain spaces. For example,
DEFAULT_JOBGROUP=/A/B C/D is not correct.
◆ Project names and user names used for macro substitution with %p and %u
cannot start or end with slash character (
/).
◆ Project names and user names used for macro substitution with %p and %u
cannot contain spaces or more than one slash character (
/) in a row.
◆ Project names or user names containing slash character (/) will create separate
job groups. For example, if the project name is
canada/projects,
DEFAULT_JOBGROUP=/%p results in a job group hierarchy /canada/projects.
Job group limits
Job group limits specified with bgadd -L apply to the job group hierarchy. The job
group limit is a positive number greater than or equal to zero (0), specifying the
maximum number of running and suspended jobs under the job group (including
child groups). If limit is zero (0), no jobs under the job group can run.
By default, a job group has no limit. Limits persist across
mbatchd restart and
reconfiguration.
You cannot specify a limit for the root job group. The root job group has no job
limit. Job groups added with no limits specified inherit any limits of existing parent
job groups. The
-L option only limits the lowest level job group created.
The maximum number of running and suspended jobs (including USSUP and
SSUP) in a job group cannot exceed the limit defined on the job group and its
parent job group.
The job group limit is based on the number of running and suspended jobs in the
job group. If you specify a job group limit as 2, at most 2 jobs can run under the
group at any time, regardless of how many jobs or job slots are used. If the currently
available job slots is zero (0), even if the job group job limit is not exceeded, LSF
cannot dispatch a job to the job group.
If a parallel job requests 2 CPUs (
bsub -n 2), the job group limit is per job, not per
slots used by the job.
A job array may also be under a job group, so job arrays also support job group
limits.