check out a license temporarily

 A quick guide to lmborrow:

For a complete list of commands enter "lmborrow -help"

% lmborrow -help

Usage: lmborrow [all|vendorname] dd-mmm-yyyy [hh:mm] (To borrow)

lmborrow -status (Report features borrowed to this node)

lmborrow -clear (Changed your mind -- do not borrow)

lmborrow -return [-c licfile] [-d display_name] [-fqdn] feature

(Return feature early)

lmborrow -help (Display usage information)

The syntax of the check out is:

lmborrow [all|vendorname] dd-mmm-yyyy [hh:mm]

Where all indicates all license vendors and vendorname indicates a specific vendor (e.g., pgroupd for PGI compilers/tools).
dd-mmm-yyyy is the date that you anticipate returning the license
and [hh:mm] is an optional return time using 24 hour notation (i.e., 11pm is 23:00). By default the return time is 23:59.

To borrow a pgcc license, using today's date, you want to do the following:

1. enter "lmborrow pgroupd 21-may-2008".

% lmborrow pgroupd 21-may-2008

output will be something like:
Setting LM_BORROW=21-may-2008:pgroupd:21-may-2008

2. Use pgcc (i.e., compile a program):

% pgcc hello.c

A license to use pgcc is now borrowed. You will need to repeat this process for each compiler and tool that you wish to "borrow". To verify that you're borrowing licenses, enter "lmborrow -status"

% lmborrow -status

You can now disconnect from the network and use the compiler and tools that you checked out in steps 1 and 2.

If you wish to return the license before the expiration date, connect to your network and use the lmborrow -return command (see -help for the complete syntax). For example,

% lmborrow -return pgi-cc-lin64

Again, to verify that the license was returned, use the "lmborrow -status" command:

% lmborrow -status