LSF Version 7.3 - Platform LSF Configuration Reference
output. To prevent large job output files from interfering with your mail system, use
LSB_MAILSIZE_LIMIT to set the maximum size in KB of the email containing the job
information. Specify a positive integer.
If the size of the job output email exceeds LSB_MAILSIZE_LIMIT, the output is saved to a
file under JOB_SPOOL_DIR or to the default job output directory if JOB_SPOOL_DIR is not
defined. The email informs users of where the job output is located.
If the -o option of bsub is used, the size of the job output is not checked against
LSB_MAILSIZE_LIMIT.
If you use a custom mail program specified by the LSB_MAILPROG parameter that can use
the LSB_MAILSIZE environment variable, it is not necessary to configure
LSB_MAILSIZE_LIMIT.
Default
By default, LSB_MAILSIZE_LIMIT is not enabled. No limit is set on size of batch job output
email.
See also
LSB_MAILPROG, LSB_MAILTO
LSB_MAILTO
Syntax
LSB_MAILTO=mail_account
Description
LSF sends electronic mail to users when their jobs complete or have errors, and to the LSF
administrator in the case of critical errors in the LSF system. The default is to send mail to the
user who submitted the job, on the host on which the daemon is running; this assumes that
your electronic mail system forwards messages to a central mailbox.
The LSB_MAILTO parameter changes the mailing address used by LSF. LSB_MAILTO is a
format string that is used to build the mailing address.
Common formats are:
•
!U : Mail is sent to the submitting user's account name on the local host. The substring !
U, if found, is replaced with the user’s account name.
•
!U@company_name.com : Mail is sent to user@company_name.com on the mail server.
The mail server is specified by LSB_MAILSERVER.
•
!U@!H : Mail is sent to user@submission_hostname. The substring !H is replaced with the
name of the submission host. This format is valid on UNIX only. It is not supported on
Windows.
All other characters (including any other ‘!’) are copied exactly.
If this parameter is modified, the LSF administrator must restart sbatchd on all hosts to retrieve
the new value.
Default
!U
lsf.conf
418 Platform LSF Configuration Reference