LSF Version 7.3 - Using Platform LSF HPC
Customizing job control actions (optional)
By default, LSF carries out job control actions by sending the appropriate signal to
suspend, terminate, or resume a job. If your jobs need special job control actions, use
the RMS
rcontrol command in the rms queue configuration for RMS jobs to change
the default job controls.
Use the JOB_CONTROLS parameter in lsb.queues to configure suspend,
terminate, or resume job controls for the queue:
JOB_CONTROLS = SUSPEND[
command
] |
RESUME[
command
] |
TERMINATE[
command
]
where command is an rcontrol command of the form:
rcontrol [suspend | kill | resume] batchid=
cluster_name
@$LSB_JOBID
Begin Queue
QUEUE_NAME=rms
...
JOB_CONTROLS = TERMINATE[rcontrol kill batchid=cluster1@$LSB_JOBID]
...
End Queue
◆
See “Sample job termination script for queue job control” on page 50 for an
example of using a script for job control
◆
See the Platform LSF Configuration Guide for more information about the
JOB_CONTROLS parameter in
lsb.queues
◆
See the RMS rcontrol command in the RMS Reference Manual for complete
syntax and usage
Configuration notes
The hostsetup script configures lsf.cluster.
cluster_name
to assign the
Boolean resource
rms to all LSF hosts that run on an RMS partition. The rms resource
is defined in the default
lsf.shared template file at installation.
By default, the maximum job slot limit is set to the number of CPUs that LIM reports.
This is specified by MXJ=! in the Host section of
LSB_CONFDIR/lsb.hosts:
Begin Host
HOST_NAME MXJ r1m pg ls tmp DISPATCH_WINDOW # Keywords
...
default ! () () () () () # Example
...
End Host
Do not change this default.