LSF Version 7.3 - Administering Platform LSF

Administering Platform LSF 131
Managing Jobs
When a job is submitted to a job group, LSF checks the limits for the entire job
group. For example, for a job is submitted to job group
/canada/qa/auto, LSF
checks the limits on groups
/canada/qa/auto, /canada/qa and /canada. If
any one limit in the branch of the hierarchy is exceeded, the job remains
pending
The zero (0) job limit for job group /canada/qa/manual means no job in the
job group can enter running status
Create a job group
1 Use the bgadd command to create a new job group.
You must provide full group path name for the new job group. The last
component of the path is the name of the new group to be created:
bgadd /risk_group
The above example creates a job group named risk_group under the root
group
/.
bgadd /risk_group/portfolio1
The above example creates a job group named portfolio1 under job group
/risk_group.
bgadd /risk_group/portfolio1/current
The above example creates a job group named current under job group
/risk_group/portfolio1.
If the group hierarchy
/risk_group/portfolio1/current does not exist, LSF
checks its parent recursively, and if no groups in the hierarchy exist, all three job
groups are created with the specified hierarchy.
Add a job group
limit (bgadd)
1 Run bgadd -L limit /job_group_name to specify a job limit for a job group.
Where limit is a positive number greater than or equal to zero (0), specifying
the maximum the 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.
For example:
bgadd -L 6 /canada/projects/test
If /canada is existing job group, and /canada/projects and
/canada/projects/test are new groups, only the job group
/canada/projects/test is limited to 6 running and suspended jobs. Job
group
/canada/projects will have whatever limit is specified for its parent job
group /canada. The limit of /canada does not change.