Platform LSF Administration Guide Version 6.2
Chapter 35
Interactive Jobs with bsub
Administering Platform LSF
527
For example:
%
bsub
bsub> # This is a comment line. This tells the system to use
/bin/csh to
bsub> # interpret the script.
bsub>
bsub> setenv DAY ‘date | cut -d" " -f1‘
bsub> myjob
bsub> ^D
Job <1234> is submitted to default queue <normal>.
If running jobs under a particular shell is required frequently, you can specify an alternate
shell using a command-level job starter and run your jobs interactively. See “Controlling
Execution Environment Using Job Starters” on page 492 for more details.