DEFAULT_JOB_OUTDIR=directory
Set this parameter for LSF to create a cluster wide output directory for the job. Once set, the system starts using the new directory and always tries to create the directory if it does not exist. The directory path can be absolute or relative to the submission directory with dynamic patterns.
The output directory can include the following dynamic patterns (which are case sensitive):
%J - job ID
%JG - job group (if not specified, it will be ignored)
%I - job index (default value is 0)
%EJ - execution job ID
%EI - execution job index
%P - project name
%U - user name
%G – User group new for the job output directory
Unsupported patterns are treated as text.
For example:
DEFALUT_JOB_OUTDIR=/scratch/%U/%J | \\samba\scratch\%U\%J
LSF creates the output directory even if the path does not include dynamic patterns. LSF checks the directories from the beginning of the path. If a directory does not exist, the system tries to create that directory. If it fails to create that directory then the system deletes all created directories and uses the submission directory for output. LSF creates all directories under the 700 permissions with the ownership of a submission user.
DEFAULT_JOB_OUTDIR supports all LSF path conventions such as UNIX, UNC and Windows formats. A mixed UNIX/Windows cluster can be specified with one value for UNIX and another value for Windows separated by a pipe character (|). For example:
DEFAULT_JOB_OUTDIR=unix_path|windows_path
The first part of the path must be for UNIX and the second part must be for Windows. Both paths must be full paths.
An output directory can also be created for a checkpointed job.
Not defined. The system uses the submission directory for job output.