Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I suppress an LSF job report without sending mail?

Tags:

lsf

I would like to submit a job with Platform LSF and have the output placed in a file (bsub -o), without a job report at the end of it. Using bsub -N removes the job report from the file, but instead sends the report via e-mail. Is there a way to suppress it completely?

like image 381
Michael Hoffman Avatar asked Jan 27 '12 18:01

Michael Hoffman


People also ask

How do you cancel BSUB?

If the batch job is not given on the command line, bsub reads the job commands from standard input. If the standard input is a controlling terminal, the user is prompted with «bsub>» for the commands of the job. The input is terminated by entering CTRL-D on a new line.

What is LSF and BSUB?

The bsub command is used to submit a batch script to LSF. It is designed to reject the job at submission time if there are requests or constraints that LSF cannot fulfill as specified. This gives the user the opportunity to examine the job request and resubmit it with the necessary corrections.


1 Answers

As explained in http://www-01.ibm.com/support/knowledgecenter/SSETD4_9.1.2/lsf_admin/email_notification.dita , you can set the environment variable LSB_JOB_REPORT_MAIL=N at job submission to disable email notification, e.g.:

LSB_JOB_REPORT_MAIL=N bsub -N -o command.stdout command options

like image 181
Nicola Soranzo Avatar answered Nov 13 '22 06:11

Nicola Soranzo