If your submitted jobs are pending (bjobs shows the job in PEND state), you can modify job submission parameters. You can also modify entire job arrays or individual elements of a job array.
You can attach or detach a service class of a job after the job has been submitted.
Use -sla with other bmod options
Move job array elements from one service class to another, only entire job arrays
Modify the service class of jobs already attached to a job group
You can modify your own job groups and job groups that other users create under your job groups. The LSF administrator can modify job groups of all users.
The command bmod -g cannot be combined with other bmod options. It can only operate on pending jobs.
It cannot operate on running or finished jobs.
You cannot move job array elements from one job group to another, only entire job arrays. A job array can only belong to one job group at a time.
You cannot modify the job group of a job attached to a service class.
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.
If a queue swap limit is defined, the value here cannot be greater than the value set for the queue.
If the job uses more than the new swap limit, the job is killed.