LSF Version 7.3 - Running Jobs With Platform LSF
Modifying Pending Jobs (bmod)
If your submitted jobs are pending (bjobs shows the job in PEND state), use the bmod
command to modify job submission parameters. You can also modify entire job arrays
or individual elements of a job array.
See the
bmod command in the Platform LSF Command Reference for more details.
Replacing the job command-line
To replace the job command line, use the bmod -Z "
new_command
" option. The
following example replaces the command line option for job 101 with
"myjob file":
bmod -Z "myjob file" 101
Changing a job parameter
To change a specific job parameter, use bmod with the bsub option used to specify the
parameter. The specified options replace the submitted options. The following example
changes the start time of job 101 to 2:00 a.m.:
bmod -b 2:00 101
Resetting to default submitted value
To reset an option to its default submitted value (undo a bmod), append the n character
to the option name, and do not include an option value. The following example resets
the start time for job 101 back to its default value:
bmod -bn 101
Resource reservation can be modified after a job has been started to ensure proper
reservation and optimal resource utilization.
Modifying a job submitted to a service class
Use the -sla option of bmod to modify the service class a job is attached to, or to attach
a submitted job to a service class. Use
bmod -slan to detach a job from a service class.
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.
You cannot:
◆
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
See Administering Platform LSF for more information about submitting jobs to service
classes for SLA-driven scheduling.