Platform LSF Reference Version 6.2
lsb.params
Platform LSF Reference
383
If JOB_SPOOL_DIR is not accessible or does not exist, files are spooled to the default
job output directory
$HOME/.lsbatch.
For
bsub -is and bsub -Zs, JOB_SPOOL_DIR must be readable and writable by
the job submission user, and it must be shared by the master host and the submission
host. If the specified directory is not accessible or does not exist, and
JOB_SPOOL_DIR is specified,
bsub -is cannot write to the default directory
LSB_SHAREDIR/cluster_name/lsf_indir, and bsub -Zs cannot write to the
default directory
LSB_SHAREDIR/cluster_name/lsf_cmddir, and the job will
fail.
As LSF runs jobs, it creates temporary directories and files under JOB_SPOOL_DIR.
By default, LSF removes these directories and files after the job is finished. See
bsub(1)
for information about job submission options that specify the disposition of these files.
On UNIX, specify an absolute path. For example:
JOB_SPOOL_DIR=/home/share/lsf_spool
On Windows, specify a UNC path or a path with a drive letter. For example:
JOB_SPOOL_DIR=\\HostA\share\spooldir
or
JOB_SPOOL_DIR=D:\share\spooldir
In a mixed UNIX/Windows cluster, specify one path for the UNIX platform and one
for the Windows platform. Separate the two paths by a pipe character (|):
JOB_SPOOL_DIR=/usr/share/lsf_spool | \\HostA\share\spooldir
Valid value
JOB_SPOOL_DIR can be any valid path up to a maximum length of 256 characters.
This maximum path length includes the temporary directories and files that the LSF
system creates as jobs run. The path you specify for JOB_SPOOL_DIR should be as
short as possible to avoid exceeding this limit.
Default
Undefined
Batch job output (standard output and standard error) is sent to the
.lsbatch
directory on the execution host:
◆
On UNIX: $HOME/.lsbatch
◆
On Windows: %windir%\lsbtmpuser_id\.lsbatch
If %HOME% is specified in the user environment, uses that directory instead of
%windir% for spooled output.
JOB_TERMINATE_INTERVAL
Syntax
JOB_TERMINATE_INTERVAL=
seconds
Description
UNIX only.
Specifies the time interval in seconds between sending SIGINT, SIGTERM, and
SIGKILL when terminating a job. When a job is terminated, the job is sent SIGINT,
SIGTERM, and SIGKILL in sequence with a sleep time of
JOB_TERMINATE_INTERVAL between sending the signals. This allows the job to
clean up if necessary.
Default
10