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 20<br />

Job Dependencies<br />

◆ In Windows, enclose the dependency expression in double quotes (")<br />

when the expression contains a space. For example:<br />

❖ bsub -w "exit(678, 0)" requires double quotes in Windows.<br />

❖ bsub -w 'exit(678,0)' can use single quotes in Windows.<br />

◆ In the job name, specify the wildcard character (*) at the end of a string, to<br />

indicate all jobs whose name begins with the string. For example, if you<br />

use jobA* as the job name, it specifies jobs named jobA, jobA1,<br />

jobA_test, jobA.log, etc.<br />

Multiple jobs with the same name<br />

By default, if you use the job name to specify a dependency condition, and<br />

more than one of your jobs has the same name, all of your jobs that have that<br />

name must satisfy the test.<br />

To change this behavior, set JOB_DEP_LAST_SUB in lsb.params to 1. Then,<br />

if more than one of your jobs has the same name, the test is done on the one<br />

submitted most recently.<br />

<strong>Administering</strong> <strong>Platform</strong> <strong>LSF</strong> 291

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

Saved successfully!

Ooh no, something went wrong!