Compute Canada

Where do the Libraries Reside?

Please note: The FAQ pages at the HPCVL website are continuously being revised. Some pages might pertain to an older configuration of the system. Please let us know if you encounter problems or inaccuracies, and we will correct the entries.

Like most "optional" software on SUN systems, the libraries are located in the /opt directory hierarchy. The directory root is:


The different library distributions are located in the directories

clsol08dcl clso608dcl explorer flso621dcl flsol21dcl fnso604db
fnsol04dcl fsso621dcl fsso621dcl license

"explorer" contains the Iris Explorer visualization software, "license" contains the license file and manager, and the other directories contain various libraries.

How do I Setup my Environment to use NAG?

For the libraries, no special setup is required. The required routines are just linked to the software by the standard -l option to the compiler (linker). However, usage of programs that were linked to the NAG libraries requires a valid license to be present on the system. To this end a license file needs to be located by the license manager.

For the HPCVL SunFire Cluster, this license file is


Some of the libraries require a separate license file called


If you intend to run programs that use the NAG libraries or the accompanying software, you should set the environment variables LM_LICENSE_FILE and NAG_KUSARI_FILE in your setup files to enable the license managers to find the above files.

For csh or tcsh add this line in your .cshrc or .tcshrc file:

setenv LM_LICENSE_FILE /opt/nag/license/license.dat setenv NAG_KUSARI_FILE

For ksh, bash, etc add this line in your in .profile or .bashrc:

LM_LICENSE_FILE=/opt/nag/license/license.dat; export
LM_LICENSE_FILE NAG_KUSARI_FILE=/opt/nag/license/kusari.dat; export NAG_KUSARI_FILE

Alternatively, you may leave the setup for the NAG libraries to the usepackage facility, and simply type

use nag

from your command prompt, or include this command in your setup files (.login or .profile).

Using the Iris Explorer requires the execution of additional setup files, which will be discussed elsewhere.