LSF Version 7.3 - Administering Platform LSF
Using esub
580 Administering Platform LSF
Use multiple esub (mesub)
LSF provides a master esub (LSF_SERVERDIR/mesub) to handle the invocation of
individual application-specific
esub executables and the job submission
requirements of your applications.
1 Use the -a option of bsub to specify the application you are running through
LSF.
For example, to submit a FLUENT job:
bsub -a fluent bsub_options fluent_command
The method name fluent, uses the esub for FLUENT jobs
(
LSF_SERVERDIR/esub.fluent), which sets the checkpointing method
LSB_ECHKPNT_METHOD="fluent" to use the echkpnt.fluent and
erestart.fluent.
LSB_ESUB_METHOD (lsf.conf)
To specify a mandatory esub method that applies to all job submissions, you can
configure LSB_ESUB_METHOD in
lsf.conf.
LSB_ESUB_METHOD specifies the name of the
esub method used in addition to
any methods specified in the
bsub -a option.
For example,
LSB_ESUB_METHOD="dce fluent" defines DCE as the mandatory
security system, and FLUENT as the mandatory application used on all jobs.
Compatibility note
RESTRICTION: After LSF version 5.1, the value of -a and LSB_ESUB_METHOD must correspond to
an actual esub file in LSF_SERVERDIR. For example, to use bsub -a fluent, the file esub.fluent must
exist in LSF_SERVERDIR.
How master esub invokes application-specific esubs
bsub invokes mesub at job submission, which calls esub programs in this order:
1 Mandatory
esub programs defined by LSB_ESUB_METHOD
2 Any existing executable named
LSF_SERVERDIR/esub
3 Application-specific esub programs in the order specified in the bsub -a
option