Platform LSF Administration Guide Version 6.2
Network Floating Licenses
Administering Platform LSF
236
#!/bin/sh
# lic_starter: If application fails with no license, exit 99,
# otherwise, exit 0. The application displays
# "no license" when it fails without license available.
$* 2>&1 | grep "no license"
if [ $? != "0" ]
then
exit 0 # string not found, application got the license
else
exit 99
fi
For more information
◆
See “Automatic Job Requeue” on page 387 for more information about configuring
job requeue
◆
See Chapter 32, “Job Starters” for more information about LSF job starters