LSF Version 7.3 - Platform LSF Configuration Reference
Feature: External job submission and
execution controls
The job submission and execution controls feature enables you to use external, site-specific
executables to validate, modify, and reject jobs, transfer data, and modify the job execution
environment. By writing external submission (esub) and external execution (eexec) binaries
or scripts, you can, for example, prevent the overuse of resources, specify execution hosts, or
set required environment variables based on the job submission options.
Contents
•
About job submission and execution controls
•
Scope
•
Configuration to enable job submission and execution controls
•
Job submission and execution controls behavior
•
Configuration to modify job submission and execution controls
•
Job submission and execution controls commands
About job submission and execution controls
The job submission and execution controls feature uses the executables esub and eexec to control job options and
the job execution environment.
External submission (esub)
An esub is an executable that you write to meet the job requirements at your site. The following are some of the things
that you can use an esub to do:
•
Validate job options
•
Change the job options specified by a user
•
Change user environment variables on the submission host (at job submission only)
•
Reject jobs (at job submission only)
•
Pass data to stdin of eexec
When a user submits a job using bsub or modifies a job using bmod, LSF runs the esub executable(s) on the submission
host before accepting the job. If the user submitted the job with options such as -R to specify required resources or -
q to specify a queue, an esub can change the values of those options to conform to resource usage policies at your site.
An esub can also change the user environment on the submission host prior to job submission so that when LSF copies
the submission host environment to the execution host, the job runs on the execution host with the values specified by
the esub. For example, an esub can add user environment variables to those already associated with the job.
Feature: External job submission and execution controls
66 Platform LSF Configuration Reference