LSF Version 7.3 - Administering Platform LSF
Submitting Interactive Jobs
592 Administering Platform LSF
Interactive queues
You can configure a queue to be interactive-only, batch-only, or both interactive
and batch with the parameter INTERACTIVE in
lsb.queues.
See the Platform LSF Configuration Reference for information about configuring
interactive queues in the
lsb.queues file.
Interactive jobs with non-batch utilities
Non-batch utilities such as lsrun, lsgrun, etc., use LIM simple placement advice
for host selection when running interactive tasks. For more details on using
non-batch utilities to run interactive tasks, see Running Interactive and Remote
Tasks on page 603.
Submitting Interactive Jobs
Use the bsub -I option to submit batch interactive jobs, and the bsub -Is and -Ip
options to submit batch interactive jobs in pseudo-terminals.
Pseudo-terminals are not supported for Windows.
For more details, see the
bsub command.
Finding out which queues accept interactive jobs
Before you submit an interactive job, you need to find out which queues accept
interactive jobs with the
bqueues -l command.
If the output of this command contains the following, this is a batch-only queue.
This queue does not accept interactive jobs:
SCHEDULING POLICIES: NO_INTERACTIVE
If the output contains the following, this is an interactive-only queue:
SCHEDULING POLICIES: ONLY_INTERACTIVE
If none of the above are defined or if SCHEDULING POLICIES is not in the output of
bqueues -l, both interactive and batch jobs are accepted by the queue.
You configure interactive queues in the
lsb.queues file.
Submit an interactive job
1 Use the bsub -I option to submit an interactive batch job.
For example:
bsub -I ls
Submits a batch interactive job which displays the output of ls at the user’s
terminal.
% bsub -I -q interactive -n 4,10 lsmake
<<Waiting for dispatch ...>>
This example starts Platform Make on 4 to 10 processors and displays the
output on the terminal.
A new job cannot be submitted until the interactive job is completed or
terminated.