LSF Version 7.3 - Administering Platform LSF
Using Job Groups
136 Administering Platform LSF
Delete a job groups manually (bgdel)
1 Use the bgdel command to manually remove a job group. The job group
cannot contain any jobs.
bgdel /risk_group
Job group /risk_group is deleted.
deletes the job group /risk_group and all its subgroups.
Normal users can only delete the empty groups they own that are specified by
the requested job_group_name. These groups can be explicit or implicit.
2 Run
bgdel 0 to delete all empty job groups you own. Theses groups can be
explicit or implicit.
3 LSF administrators can use
bgdel -u user_name 0 to delete all empty job
groups created by specific users. These groups can be explicit or implicit.
Run
bgdel -u all 0 to delete all the users' empty job groups and their sub
groups. LSF administrators can delete empty job groups created by any user.
These groups can be explicit or implicit.
4 Run
bgdel -c job_group_name to delete all empty groups below the requested
job_group_name including job_group_name itself.
Modify a job group
limit (bgmod)
1 Run bgmod to change a job group limit.
bgmod [-L limit | -Ln] /job_group_name
-L
limit changes the limit of job_group_name to the specified value. If the job
group has parent job groups, the new limit cannot exceed the limits of any
higher level job groups. Similarly, if the job group has child job groups, the new
value must be greater than any limits on the lower level job groups.
-Ln removes the existing job limit for the job group. If the the job group has
parent job groups, the job modified group automatically inherits any limits
from its direct parent job group.
You must provide full group path name for the modified job group. The last
component of the path is the name of the job group to be modified.
Only root, LSF administrators, or the job group creator, or the creator of the
parent job groups can use bgmod to modify a job group limit.
The following command only modifies the limit of group
/canada/projects/test1. It does not modify limits of /canada
or
/canada/projects.
bgmod -L 6 /canada/projects/test1
To modify limits of /canada or/canada/projects, you must specify the exact
group name:
bgmod -L 6 /canada
or
bgmod -L 6 /canada/projects