Jobs use temporary directories for working files and temporary output. By default, Platform LSF uses the default operating system temporary directory. To enable and use temporary directories specific to each job, specify LSF_TMPDIR=directory_name in lsf.conf.
For regular jobs:
UNIX: $LSF_TMPDIR/jobID.tmpdir
Windows: %LSF_TMPDIR%\jobID.tmpdir
For array jobs:
UNIX: $LSF_TMPDIR/arrayID_arrayIndex.tmpdir
Windows: %LSF_TMPDIR%\arrayID_arrayIndex.tmpdir
Platform LSF can assign the value of the job-specific temporary directory to the TMPDIR environment variable, or to a custom environment variable. This allows user applications to use the job-specific temporary directory for each job. To assign the value of the job-specific temporary directory, specify LSB_SET_TMPDIR=y in lsf.conf. To assign the value of the job-specific temporary directory to a custom environment variable, specify LSB_SET_TMPDIR=env_var_name in lsf.conf.
See the IBM Platform LSF Configuration Reference for more details on LSF_TMPDIR and LSB_SET_TMPDIR.