25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 22<br />

Job Requeue and Job Rerun<br />

Automatic Job Requeue<br />

About automatic job requeue<br />

You can configure a queue to automatically requeue a job if it exits with a<br />

specified exit value.<br />

◆ The job is requeued to the head of the queue from which it was<br />

dispatched, unless the LSB_REQUEUE_TO_BOTTOM parameter in<br />

lsf.conf is set.<br />

◆ When a job is requeued, <strong>LSF</strong> does not save the output from the failed run.<br />

◆ When a job is requeued, <strong>LSF</strong> does not notify the user by sending mail.<br />

◆ A job terminated by a signal is not requeued.<br />

Configuring automatic job requeue<br />

Example<br />

To configure automatic job requeue, set REQUEUE_EXIT_VALUES in the queue<br />

definition (lsb.queues) and specify the exit codes that will cause the job to<br />

be requeued.<br />

Begin Queue<br />

...<br />

REQUEUE_EXIT_VALUES = 99 100<br />

...<br />

End Queue<br />

This configuration enables jobs that exit with 99 or 100 to be requeued.<br />

<strong>Administering</strong> <strong>Platform</strong> <strong>LSF</strong> 301

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!