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.

Dependency Conditions<br />

Advanced dependency conditions<br />

Job arrays<br />

Job dependency examples<br />

If you use job arrays, you can specify additional dependency conditions that<br />

only work with job arrays.<br />

To use other dependency conditions with array jobs, specify elements of a job<br />

array in the usual way.<br />

◆<br />

◆<br />

◆<br />

The simplest kind of dependency expression consists of only one<br />

dependency condition. For example, if JobA depends on the successful<br />

completion of JobB, submit the job as shown:<br />

bsub -J "JobA" -w 'done(JobB)' command<br />

-w 'done(312) && (started(Job2)||exit("99Job"))'<br />

The submitted job will not start until the job with the job ID of 312 has<br />

completed successfully, and either the job named Job2 has started, or the<br />

job named 99Job has terminated abnormally.<br />

-w '"210"'<br />

The submitted job will not start unless the job named 210 is finished. The<br />

numeric job name should be doubly quoted, since the UNIX shell treats<br />

-w "210" the same as -w 210, which would evaluate the job with the job<br />

ID of 210.<br />

294<br />

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

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

Saved successfully!

Ooh no, something went wrong!