LSF Version 7.3 - Platform LSF Configuration Reference
Where defined
Set internally within by LSF
LSF_JOB_STARTER
Syntax
LSF_JOB_STARTER=binary
Description
Specifies an executable program that has the actual job as an argument.
Default
Not defined
Notes
Interactive Jobs
If you want to run an interactive job that requires some preliminary setup, LSF provides a job
starter function at the command level. A command-level job starter allows you to specify an
executable file that will run prior to the actual job, doing any necessary setup and running the
job when the setup is complete.
If LSF_JOB_STARTER is properly defined, RES will invoke the job starter (rather than the
job itself), supplying your commands as arguments.
Batch Jobs
A job starter can also be defined at the queue level using the JOB_STARTER parameter,
although this can only be done by the LSF administrator.
Where defined
From the command line
Example
UNIX
The job starter is invoked from within a Bourne shell, making the command-line equivalent:
/bin/sh -c "$LSF_JOB_STARTER command [argument...]"
where command [argument...] are the command line arguments you specified in
lsrun, lsgrun, or ch.
If you define LSF_JOB_STARTER as follows:
setenv LSF_JOB_STARTER "/bin/csh -c"
and run a simple C-shell job:
lsrun "'a.out; echo hi'"
The following will be invoked to correctly start the job:
/bin/sh -c "/bin/csh -c 'a.out; echo hi'"
Environment variables
588 Platform LSF Configuration Reference