JOB_SPOOL_DIR=dir
Specifies the directory for buffering batch standard output and standard error for a job.
When JOB_SPOOL_DIR is defined, the standard output and standard error for the job is buffered in the specified directory.
Files are copied from the submission host to a temporary file in the directory specified by the JOB_SPOOL_DIR on the execution host. LSF removes these files when the job completes.
If JOB_SPOOL_DIR is not accessible or does not exist, files are spooled to the default 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 for information about job submission options that specify the disposition of these files.
JOB_SPOOL_DIR=/home/share/lsf_spool
JOB_SPOOL_DIR=\\HostA\share\spooldir
JOB_SPOOL_DIR=D:\share\spooldir
JOB_SPOOL_DIR=/usr/share/lsf_spool | \\HostA\share\spooldir
JOB_SPOOL_DIR can be any valid path.
All directory and file paths attached to the JOB_SPOOL_DIR path
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.
Not defined
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.