LSF Version 7.3 - Administering Platform LSF

Administering Platform LSF 681
C HAPTER
47
Job Email and Job File Spooling
Contents
Mail Notification When a Job Starts on page 681
File Spooling for Job Input, Output, and Command Files on page 684
Mail Notification When a Job Starts
When a batch job completes or exits, LSF by default sends a job report by electronic
mail to the submitting user account. The report includes the following information:
Standard output (stdout) of the job
Standard error (stderr) of the job
LSF job information such as CPU, process and memory usage
The output from
stdout and stderr are merged together in the order printed, as if
the job was run interactively. The default standard input (
stdin) file is the null
device. The null device on UNIX is
/dev/null.
bsub mail options
-B Sends email to the job submitter when the job is dispatched and begins running.
The default destination for email is defined by LSB_MAILTO in
lsf.conf.
-u user_name If you want mail sent to another user, use the -u user_name option to the bsub
command. Mail associated with the job will be sent to the named user instead of to
the submitting user account.
-N If you want to separate the job report information from the job output, use the -N
option to specify that the job report information should be sent by email.
Output and error file options (-o output_file, -e error_file, -oo output_file, and -eo error_file)
The output file created by the -o and -oo options to the bsub command normally
contains job report information as well as the job output. This information includes
the submitting user and host, the execution host, the CPU time (user plus system
time) used by the job, and the exit status.