Using a Pseudo-terminal to launch Interactive Job
Point 1: Submit a batch interactive job using a pseudo-terminal.
$ bsub -Ip vim output.log
Submits a batch interactive job to edit output.log.
Point 2: Submit a batch interactive job and create a pseudo-terminal with shell mode support.
$ bsub -Is bash
Submits a batch interactive job that starts up bash as an interactive shell.
When you specify the -Is option, bsub submits a batch interactive job and creates a pseudo-terminal with shell mode support when the job starts.
References: