These examples show and explain many of the bsub options. More detail is available through the bsub man page. Environment variables are transferred from the submitting machine.
Later examples show how to request a specific machine or queue.
Submits a job to start an interactive shell. This locally provided command is described here because it is a wrapper to bsub . It uses LSF to start a job with interactive shell support on the most appropriate machine, yet it establishes the environment differently than a bsub does to simulate an actual login. This example starts the job on the default machine of a default interactive queue. The llogin man page includes additional discussion on the environment set up by llogin.