LSF Version 7.3 - Platform LSF Configuration Reference

When LSF_TMPDIR is defined in lsf.conf, LSF creates a temporary directory under the
directory specified by LSF_TMPDIR on the execution host when a job is started and sets the
temporary directory environment variable (TMPDIR) for the job.
The name of the temporary directory has the following format:
$LSF_TMPDIR/job_ID.tmpdir
On UNIX, the directory has the permission 0700 and is owned by the execution user.
After adding LSF_TMPDIR to lsf.conf, use badmin hrestart all to reconfigure your
cluster.
If LSB_SET_TMPDIR= Y, the environment variable TMPDIR will be set equal to the path
specified by LSF_TMPDIR.
If the path specified by LSF_TMPDIR does not exist, the value of TMPDIR is set to the default
path /tmp/job_ID.tmpdir.
Valid values
Specify any valid path up to a maximum length of 256 characters. The 256 character maximum
path length includes the temporary directories and files that the system creates as jobs run.
The path that you specify for LSF_TMPDIR should be as short as possible to avoid exceeding
this limit.
UNIX
Specify an absolute path. For example:
LSF_TMPDIR=/usr/share/lsf_tmp
Windows
Specify a UNC path or a path with a drive letter. For example:
LSF_TMPDIR=\\HostA\temp\lsf_tmp
LSF_TMPDIR=D:\temp\lsf_tmp
Temporary directory for tasks launched by blaunch
By default, LSF creates a temporary directory for a job only on the first execution host. If
LSF_TMPDIR is set in lsf.conf, the path of the job temporary directory on the first
execution host is set to LSF_TMPDIR/job_ID.tmpdir.
If LSB_SET_TMPDIR= Y, the environment variable TMPDIR will be set equal to the path
specified by LSF_TMPDIR.
Tasks launched through the blaunch distributed application framework make use of the LSF
temporary directory specified by LSF_TMPDIR:
When the environment variable TMPDIR is set on the first execution host, the blaunch
framework propagates this environment variable to all execution hosts when launching
remote tasks
The job RES or the task RES creates the directory specified by TMPDIR if it does not already
exist before starting the job
The directory created by the job RES or task RES has permission 0700 and is owned by the
execution user
If the TMPDIR directory was created by the task RES, LSF deletes the temporary directory
and its contents when the task is complete
lsf.conf
496 Platform LSF Configuration Reference