LSF Version 7.3 - Platform LSF Configuration Reference

File Parameter and syntax Description
lsf.sudoers
LSB_PRE_POST_EXEC_USER=
user_name
Specifies the user account under which
pre- and post-execution commands run
(UNIX only)
This parameter applies only to pre- and
post-execution commands configured at
the application and queue levels; pre-
execution commands defined at the job
level with bsub -E run under the account
of the user who submits the job
If the pre-execution or post-execution
commands perform privileged operations
that require root permissions on UNIX
hosts, specify a value of root
You must edit the lsf.sudoers file on
all UNIX hosts within the cluster and
specify the same user account
Configuration to control how many times pre-execution retries
By default, if job pre-execution fails, LSF retries the job automatically. The job remains in the
queue and pre-execution is retried 5 times by default, to minimize any impact to performance
and throughput.
Limiting the number of times LSF retries job pre-execution is configured cluster-wide
(lsb.params), at the queue level (lsb.queues), and at the application level
(lsb.applications). MAX_PREEXEC_RETRY in lsb.applications overrides
lsb.queues, and lsb.queues overrides lsb.params configuration.
Configuration file
Parameter and syntax Behavior
lsb.params
MAX_PREEXEC_RETRY=
integer
Controls the maximum number of times to attempt
the pre-execution command of a job.
Specify an integer greater than 0
By default, the number of retries is 5.
lsb.queues
MAX_PREEXEC_RETRY=
integer
Controls the maximum number of times to attempt
the pre-execution command of a job.
Specify an integer greater than 0
By default, the number of retries is 5.
lsb.applications
MAX_PREEXEC_RETRY=
integer
Controls the maximum number of times to attempt
the pre-execution command of a job.
Specify an integer greater than 0
By default, the number of retries is 5.
When MAX_PREEXEC_RETRY is set, if a job pre-execution fails and exits with non-zero
value, the number of pre-exec retries is set to 1. When the pre-exec retry limit is reached, the
job is suspended with PSUSP status.
Feature: Pre-execution and post-execution processing
Platform LSF Configuration Reference 43