LSF Version 7.3 - Administering Platform LSF

Using Job Groups
128 Administering Platform LSF
Root job group
LSF maintains a single tree under which all jobs in the system are organized. The
top-most level of the tree is represented by a top-level “root” job group, named “
/”.
The root group is owned by the primary LSF Administrator and cannot be
removed. Users and administrators create new groups under the root group. By
default, if you do not specify a job group path name when submitting a job, the job
is created under the top-level “root” job group, named “
/”.
The root job group is not displayed by job group query commands, and you cannot
specify the root job in commands.
Job group owner
Each group is owned by the user who created it. The login name of the user who
creates the job group is the job group owner. Users can add job groups into a groups
that are owned by other users, and they can submit jobs to groups owned by other
users. Child job groups are owned by the creator of the job group and the creators
of any parent groups.
Job control under job groups
Job owners can control their own jobs attached to job groups as usual. Job group
owners can also control any job under the groups they own and below.
For example:
Job group /A is created by user1
Job group /A/B is created by user2
Job group /A/B/C is created by user3
All users can submit jobs to any job group, and control the jobs they own in all job
groups. For jobs submitted by other users:
user1 can control jobs submitted by other users in all 3 job groups: /A, /A/B,
and
/A/B/C
user2 can control jobs submitted by other users only in 2 job groups: /A/B and
/A/B/C
user3 can control jobs submitted by other users only in job group /A/B/C
The LSF administrator can control jobs in any job group.
Default job group
You can specify a default job group for jobs submitted without explicitly specifying
a job group. LSF associates the job with the job group specified with
DEFAULT_JOBGROUP in
lsb.params. The LSB_DEFAULT_JOBGROUP
environment variable overrrides the setting of DEFAULT_JOBGROUP. The
bsub -g job_group_name option overrides both LSB_DEFAULT_JOBGROUP and
DEFAULT_JOBGROUP.
Default job group specification supports macro substitution for project name (
%p)
and user name (
%u). When you specify bsub -P project_name, the value of %p is the
specified project name. If you do not specify a project name at job submission,
%p
is the project name defined by setting the environment variable
LSB_DEFAULTPROJECT, or the project name specified by DEFAULT_PROJECT
in
lsb.params. the default project name is default.