Platform LSF Administration Guide Version 6.2
Mail Notification When a Job Starts
Administering Platform LSF
580
Specifying a directory for job output
Make the final character in the path a slash (/) on UNIX, or a double backslash (\\) on
Windows. If you omit the trailing slash or backslash characters, LSF treats the
specification as a file name.
If the specified directory does not exist, LSF creates it on the execution host when it
creates the standard error and standard output files.
By default, the output files have the following format:
Standard output output_directory/job_ID.out
Standard error error_directory/job_ID.err
Example
The following command creates the directory /usr/share/lsf_out if it does not
exist, and creates the standard output file
job_ID.out in this directory when the job
completes:
%
bsub -o /usr/share/lsf_out/ myjob
The following command creates the directory C:\lsf\work\lsf_err if it does not
exist, and creates the standard error file
job_ID.err in this directory when the job
completes:
%
bsub -e C:\lsf\work\lsf_err\\ myjob
For more information
See the Platform LSF Reference for information about the LSB_MAILSIZE
environment variable and the LSB_MAILTO, LSB_MAILSIZE_LIMIT parameters in
lsf.conf, and JOB_SPOOL_DIR in lsb.params.