Command Reference Guide
Platform LSF Command Reference 121
◆ Standard output (stdout) file name up to 4094 characters for UNIX and Linux
or 255 characters for Windows (-o output_file)
◆ Standard error (stderr) file name up to 4094 characters for UNIX and Linux
or 255 characters for Windows (-e error_file)
◆ Overwrite standard output (stdout) file name up to 4094 characters for UNIX
and Linux or 255 characters for Windows (-oo output_file)
◆ Overwrite standard error (stderr) file name up to 4094 characters for UNIX
and Linux or 255 characters for Windows (-eo error_file)
Modified resource usage limits cannot exceed limits defined in the queue.
To modify the CPU limit or the memory limit of running jobs, the parameters
LSB_JOB_CPULIMIT=Y and LSB_JOB_MEMLIMIT=Y must be defined in
lsf.conf.
If you want to specify array dependency by array name, set JOB_DEP_LAST_SUB
in
lsb.params. If you do not have this parameter set, the job is rejected if one of
your previous arrays has the same name but a different index.
By default, options for the following resource usage limits are specified in KB:
◆ Core limit (-C)
◆ Memory limit (-M)
◆ Stack limit (-S)
◆ Swap limit (-v)
Use LSF_UNIT_FOR_LIMITS in
lsf.conf to specify a different unit for the limit
(MB, GB, TB, PB, or EB).
Modifying resource requirements
The -R option of bmod completely replaces any previous resource requirement
specification. It does not add the modification to the existing specification. For
example, if you submit a job with
bsub -R "rusage[res1=1]"
then modify it with
bmod -R "rusage[res2=1]"
the new resource usage requirement for the job is [res2=1], not
[res1=1; res2=1].
bmod does not support the OR (||) operator on the -R option.
To remove all of the string input specified using the
bsub command, use the -Rn
option.
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.