LSF Version 7.3 - Platform LSF Configuration Reference
At the application level:
File Parameter and syntax Description
lsb.applications
JOB_INCLUDE_POSTPRO
C=Y
•
Enables completion of post-execution processing
before LSF reports a job finish status of DONE or
EXIT
•
Prevents a new job from starting on a host until post-
execution processing is finished on that host
•
sbatchd sends both job finish status (DONE or EXIT) and post-execution processing status
(POST_DONE or POST_ERR) to mbatchd at the same time
•
The job remains in the RUN state and holds its job slot until post-execution processing
has finished
•
Job requeue happens (if required) after completion of post-execution processing, not when
the job itself finishes
•
For job history and job accounting, the job CPU and run times include the post-execution
processing CPU and run times
•
The job control commands bstop, bkill, and bresume have no effect during post-
execution processing
•
If a host becomes unavailable during post-execution processing for a rerunnable job,
mbatchd sees the job as still in the RUN state and reruns the job
•
LSF does not preempt jobs during post-execution processing
Configuration to modify the post-execution processing time
Controlling the length of time post-execution processing can run is configured at the
application level.
File
Parameter and syntax Description
lsb.applications
JOB_POSTPROC_TIMEOUT=
minutes
•
Specifies the length of time, in minutes, that
post-execution processing can run.
•
The specified value must be greater than zero.
•
If post-execution processing takes longer than
the specified value, sbatchd reports post-
execution failure—a status of POST_ERR—
and kills the process group of the job’s post-
execution processes. This kills the parent
process only.
•
If JOB_INCLUDE_POSTPROC=Y and
sbatchd kills the post-execution process
group, post-execution processing CPU time is
set to zero, and the job’s CPU time does not
include post-execution CPU time.
Configuration to modify the pre- and post-execution processing
user account
Specifying a user account under which the pre- and post-execution commands run is
configured at the system level. By default, both the pre- and post-execution commands run
under the account of the user who submits the job.
Feature: Pre-execution and post-execution processing
42 Platform LSF Configuration Reference