25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Network Floating Licenses<br />

lic_starter job<br />

starter script<br />

For more information<br />

The lic_starter job starter can be coded as follows:<br />

#!/bin/sh<br />

# lic_starter: If application fails with no license, exit 99,<br />

# otherwise, exit 0. The application displays<br />

# "no license" when it fails without license available.<br />

$* 2>&1 | grep "no license"<br />

if [ $? != "0" ]<br />

then<br />

exit 0 # string not found, application got the license<br />

else<br />

exit 99<br />

fi<br />

◆<br />

◆<br />

See “Automatic Job Requeue” on page 301 for more information about<br />

configuring job requeue<br />

See Chapter 29, “Job Starters” for more information about <strong>LSF</strong> job starters<br />

284<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!