Licensing for the NAG Fortran Compiler -------------------------------------- 1. Introduction --------------- The use of the NAG Fortran Compiler on Unix is controlled by the Kusari Licence Management System. This document contains brief instructions on how to install a single-machine licence needed to run the software. 2. How to get a licence ----------------------- 2.1 Evaluation ("trial") licences --------------------------------- For evaluation purposes, a trial licence may be used. To get a trial licence contact our support team. 2.2 Finding the Kusari host id ------------------------------ Before obtaining a full licence you need to know the Kusari hostid of the system on which you intend to use the NAG Fortran Compiler. Execute the command 'khostid' on that system, and send the output of this command to our support team. The 'khostid' command may be found in the compiler library directory (usually /usr/local/lib/NAG_Fortran). 3. How to use the licence ------------------------- 3.1 Installing the licence key ------------------------------ Put the licence key into a file accessible from the machine for which the software is licensed; if this is a single-user machine or you are the only user of the compiler on the machine, the file "nag.key" in your home directory is preferred. For a multi-user machine, the file "nag.key" in /opt/NAG may be preferable. 3.2 Setting the environment variable ------------------------------------ If the file is not "nag.key", "nag.licence" or "nagware.licence" in /opt/NAG, your home directory, or the current working directory, you need to set the environment variable NAG_KUSARI_FILE to the full pathname of the licence file. For example, in the C-shell, type: setenv NAG_KUSARI_FILE /usr/local/lib/NAG_Fortran/my.licence in the Bourne shell or bash, type: export NAG_KUSARI_FILE=/usr/local/lib/NAG_Fortran/my.licence