Data collection
The following new features affect IBM Spectrum LSF data collection.
Send email notification when job exits
Earlier versions of LSF allow you to enable email notification so that LSF sends an email notification whenever a job finishes. You can now enable LSF to send an email notification only when the job exits (that is, when the job is in Exit status). This ensures that you only receive an email notification when there is a job error. This feature only affects email that is sent by the sbatchd daemon.
To enable the job to send an email notification when the job exits, define LSB_JOB_REPORT_MAIL=ERROR in the lsf.conf file. You can also enable this feature at the job level by using the bsub -Ne, brestart -Ne, or bmod -Ne command options. You cannot use -Ne with the -N command option. Running the bmod -Nn command option cancels both the -N and -Ne options.
Request notification for specific job states
You can now request that LSF notifies the job submission user when the job reaches any of the specified states (EXIT, DONE, START, or SUSPEND).
To enable this feature, use the bsub -notify command option or the LSF_AC_JOB_NOTIFICATION environment variable:
bsub -notify "[exit ] [done ] [start ] [suspend]"
LSF_AC_JOB_NOTIFICATION="[exit ] [done ] [start ] [suspend]"