Platform LSF Reference Version 6.2

bmod
Platform LSF Reference
103
- Overwrite standard output (stdout) file name (-oo output_file)
- Overwrite standard error (
stderr) file name (-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 will be rejected if
one of your previous arrays has the same name but a different index.
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].
Modifying advance reservations
If advance reservations are enabled, administrators can use the -U option of bmod
to change a job to another reservation ID. For example:
% bmod -U user1#0 1234
To cancel the reservation, use the -Un option of bmod. For example:
% bmod -Un 1234
Closed reservations
LSF administrators can prevent running jobs from being killed when the reservation
expires by changing the termination time of the job using the reservation
(
bmod -t) before the reservation window closes.
For example:
% bmod -t 15:0 1234
You can only modify the termination time of an advance reservation job while the
reservation is active. When the reservation expires or is deleted, the job is killed and
you can no longer make any modifications.
Open reservations
LSF users can modify the termination time of their open advance reservations
without interfering with current job scheduling policies. For example, you specify
two open advance reservations as follows:
% brsvadd -o -n 1 -m hostA -u user1 -b 15:10 -e 15:30
Reservation user1#17 is created
% brsvadd -o -n 1 -m hostA -u user1 -b 15:35 -e 15:50
Reservation user1#18 is created