Description

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.

-cwdnsets the current working directory for the job to the directory where bmod is running.

-Epncancels 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.

-rnresets the rerunnable job setting specified by bsub –rnor bsub -r.The application profile and queue level rerunnable job setting if any is used. bmod -rndoes not disable or override job rerun if the job was submitted to a rerunnable queue or application profile with job rerun configured. bmod –rnis different from bsub -rn, which does override the application profile and queue level rerunnable job setting.

-ulnsets the user shell limits for pending jobs to their default values. -ulnis not supported on Windows.

-Wencancels the estimated job runtime. The runtime estimate does not take effect for the job.

-Qdoes not affect running jobs. For rerunnable and requeue jobs, -Qaffects 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 (-Wrun_limit[/host_name /host_model])

120Platform LSF Command Reference