Platform LSF Reference Version 6.2

bmod
Platform LSF Reference
104
At 15:15, while job 122 in user1#17 is running, you modify its termination time
as follows:
% bmod -t 15:40 122
This termination time overlaps the reservation window of user1#18, in which job
245 started at 15:35. After modifying the termination time of job 122, the following
events occur:
At 15:50, both Job 122 in reservation
user#17 and Job 245 in reservation
user#18 are suspended. At this point, the existing scheduling policies determine
which job runs; in this example, Job 122 in reservation
user#17 runs.
bmod -t will not change the termination time of a pending job.
Modifying job groups
Use the -g option of bmod and specify a job group path to move a job or a job array
from one job group to another. For example:
% bmod -g /risk_group/portfolio2/monthly 105
moves job 105 to job group /risk_group/portfolio2/monthly.
Like
bsub -g, if the job group does not exist, LSF creates it.
bmod -g cannot be combined with other bmod options. It can operate on finished,
running, and pending jobs.
You can modify your own job groups and job groups that other users create under
your job groups. LSF administrators can modify job groups of all users.
You cannot move job array elements from one job group to another, only entire job
arrays.
You cannot modify the job group of a job attached to a service class.
Modifying jobs in service classes
The -sla option modifies a job by attaching it to the specified service class. The
-slan option detaches the specified job from a service class. If the service class
does not exist, the job is not modified. For example:
% bmod -sla Kyuquot 2307
attaches job 2307 to the service class Kyuquot.
% bmod -slan 2307
detaches job 2307 from the service class Kyuquot.
At this time ... These events occur ...
15:35
Job 122 in reservation user1#17 suspends
Job 245 in reservation user1#18 starts
15:40
Job 122 in reservation user#17 is still suspended
Job 245 in reservation user#18 continues to run
15:50
Job 122 in reservation user1#17 suspends
Job 245 in reservation user1#18 suspends
15:51
Job 122 in reservation user1#17 runs
Job 245 in reservation user1#18 suspends