-I

Submits an interactive job.

Categories

properties

Synopsis

bsub -I [-tty]

Conflicting options

Do not use with the following options: -Ip, -IS, -ISp, -ISs, -Is, -IX, -K.

Description

Submits an interactive job. A new job cannot be submitted until the interactive job is completed or terminated.

Sends the job's standard output (or standard error) to the terminal. Does not send mail to you when the job is done unless you specify the -N option.

If the -i input_file option is specified, you cannot interact with the job's standard input via the terminal.

If the -o out_file option is specified, sends the job's standard output to the specified output file. If the -e err_file option is specified, sends the job's standard error to the specified error file.

If used with -tty, also displays output/error (except pre-exec output/error) on the screen.

Interactive jobs cannot be checkpointed.

Interactive jobs are not rerunnable (bsub -r).

Examples

bsub -I ls

Submit an interactive job that displays the output of ls at the user's terminal.