Command Reference Guide

Description
120 Platform LSF Command Reference
Options related to file names and job spooling directories support paths that
contain up to 4094 characters for UNIX and Linux, or up to 255 characters for
Windows.
Options related to command names and job names can contain up to 4094
characters for UNIX and Linux, or up to 255 characters for Windows.
You can modify all options of a pending job, even if the corresponding
bsub option
was not specified.
Modifying a job that is pending in a chunk job queue (CHUNK_JOB_SIZE)
removes the job from the chunk to be scheduled later.
Like
bsub, bmod calls the master esub (mesub), which invokes any mandatory esub
executables configured by an LSF administrator, and any executable named
esub
(without .application) if it exists in
LSF_SERVERDIR. Only esub executables invoked
by
bsub can change the job environment on the submission host. An esub invoked
by
bmod cannot change the job environment.
-cwdn sets the current working directory for the job to the directory where bmod is
running.
-Epn cancels the setting of job-level post-execution commands. The job-level
post-execution commands do not run. Application-level post-execution
commands run if they exist.
-rn resets the rerunnable job setting specified by bsub –rn or bsub -r. The
application profile and queue level rerunnable job setting if any is used.
bmod -rn
does not disable or override job rerun if the job was submitted to a rerunnable
queue or application profile with job rerun configured.
bmod –rn is different from
bsub -rn, which does override the application profile and queue level rerunnable
job setting.
-uln sets the user shell limits for pending jobs to their default values. -uln is not
supported on Windows.
-Wen cancels the estimated job runtime. The runtime estimate does not take effect
for the job.
-Q does not affect running jobs. For rerunnable and requeue jobs, -Q affects the
next run.
Modifying running jobs
By default, you can modify resource requirements for running jobs (-R "res_req").
To modify additional job options for running jobs, define
LSB_MOD_ALL_JOBS=Y in
lsf.conf.
When LSB_MOD_ALL_JOBS=Y is set, the following are the only
bmod options that
are valid for running jobs. You cannot make any other modifications after a job has
been dispatched.
CPU limit (-c [hour:]minute[/host_name |/host_model])
Memory limit (-M mem_limit)
Rerunnable jobs (-r | -rn)
Resource reservation (-R "res_req")
Run limit (-W run_limit[/host_name |/host_model])