Platform LSF Reference Version 6.2
lsb.queues Structure
Platform LSF Reference
410
Default
Undefined (the queue uses JOB_ACCEPT_INTERVAL defined in lsb.params,
which has a default value of 1)
JOB_ACTION_WARNING_TIME
Syntax
JOB_ACTION_WARNING_TIME=
[hour:]minute
Description
Specifies the amount of time before a job control action occurs that a job warning action
is to be taken. For example, 2 minutes before the job reaches run time limit or
termination deadline, or the queue's run window is closed, an URG signal is sent to the
job.
Job action warning time is not normalized.
A job action warning time must be specified with a job warning action in order for job
warning to take effect.
The warning time specified by the
bsub -wt option overrides
JOB_ACTION_WARNING_TIME in the queue.
JOB_ACTION_WARNING_TIME is used as the default when no command line
option is specified.
Example
JOB_ACTION_WARNING_TIME=2
Default
Undefined
JOB_CONTROLS
Syntax
JOB_CONTROLS=SUSPEND
[signal | command | CHKPNT] RESUME[signal | command]
TERMINATE[signal | command | CHKPNT]
◆
signal is a UNIX signal name (for example, SIGTSTP or SIGTERM). The specified
signal is sent to the job.
The same set of signals is not supported on all UNIX systems. To display a list of
the symbolic names of the signals (without the SIG prefix) supported on your
system, use the
kill -l command.
◆
command specifies a /bin/sh command line to be invoked.
Do not quote the command line inside an action definition.
Do not specify a signal followed by an action that triggers the same signal (for
example, do not specify
JOB_CONTROLS=TERMINATE[bkill] or
JOB_CONTROLS=TERMINATE[brequeue]). This will cause a deadlock between
the signal and the action.
◆
CHKPNT is a special action, which causes the system to checkpoint the job.
Only valid for SUSPEND and TERMINATE actions:
❖
If the SUSPEND action is CHKPNT, the job is checkpointed and then stopped
by sending the SIGSTOP signal to the job automatically.
❖
If the TERMINATE action is CHKPNT, then the job is checkpointed and
killed automatically.
Description
Changes the behavior of the SUSPEND, RESUME, and TERMINATE actions in LSF.
◆
The contents of the configuration line for the action are run with /bin/sh -c so
you can use shell features in the command.