Platform LSF Reference Version 6.2

lsf.conf
Platform LSF Reference
523
LSB_JOB_MEMLIMIT=n or undefined), the job will be allowed to run without
limits because the per-process limit was previously disabled.
See also LSB_MEMLIMIT_ENFORCE, LSB_MOD_ALL_JOBS, lsb.queues(5), bsub(1),
JOB_TERMINATE_INTERVAL in “lsb.params
LSB_LOCALDIR
Syntax
LSB_LOCALDIR=
path
Description
Enables duplicate logging.
Specify the path to a local directory that exists only on the first LSF master host (the first
host configured in
lsf.cluster.cluster_name). LSF puts the primary copies of the
event and accounting log files in this directory. LSF puts the duplicates in
LSB_SHAREDIR.
Example
LSB_LOCALDIR=/usr/share/lsbatch/loginfo
Default
Undefined
See also
LSB_SHAREDIR, EVENT_UPDATE_INTERVAL in “lsb.params
LSB_MAILPROG
Syntax
LSB_MAILPROG=
file_name
Description
Path and file name of the mail program used by LSF to send email. This is the electronic
mail program that LSF will use to send system messages to the user. When LSF needs
to send email to users it invokes the program defined by LSB_MAILPROG in
lsf.conf. You can write your own custom mail program and set LSB_MAILPROG
to the path where this program is stored.
LSF administrators can set the parameter as part of cluster reconfiguration. Provide the
name of any mail program. For your convenience, LSF provides the
sendmail mail
program, which supports the
sendmail protocol on UNIX.
In a mixed cluster, you can specify different programs for Windows and UNIX. You can
set this parameter during installation on Windows. For your convenience, LSF provides
the
lsmail.exe mail program, which supports SMTP and Microsoft Exchange Server
protocols on Windows. If
lsmail is specified, the parameter LSB_MAILSERVER
must also be specified.
If you change your mail program, the LSF administrator must restart
sbatchd on all
hosts to retrieve the new value.
UNIX
By default, LSF uses /usr/lib/sendmail to send email to users. LSF calls
LSB_MAILPROG with two arguments; one argument gives the full name of the sender,
and the other argument gives the return address for mail.
LSB_MAILPROG must read the body of the mail message from the standard input.
The end of the message is marked by end-of-file. Any program or shell script that
accepts the arguments and input, and delivers the mail correctly, can be used.
LSB_MAILPROG must be executable by any user.
Windows
If LSB_MAILPROG is not defined, no email is sent.
Examples
LSB_MAILPROG=lsmail.exe