#language en = NAG-library = == License Key == The license keys expire after one year. NAG sends a new key, unrequested, to Stefan Braun and Thomas Loimer. Usually, the new key is valid for the newest version. To install the new key, append the lines between ! NAG key begin and ! NAG key end to the file /usr/local/NAG/nag.key. Avoid blank lines! The e-mail contains an ID number for the machine on which the license is valid. The ID-number can be obtained by running, as root,[[BR]] ` /usr/local/share/NAG/cll6i26dcl/license/bin/linux_x64/khostid`.[[BR]] The license status, here for the product cll6i26dcl, can be queried by calling[[BR]] ` /usr/local/share/NAG/cll6i26dcl/license/bin/linux_x64/klcheck cll6i26dcl`. == Installation == Unpack the tar-file, e.g., into /usr/local/src/NAG, and run the install-script therein, {{{ /usr/local/src/NAGnll6i271bl/install.sh -installdir=/usr/local/share/NAG }}} After installation, try to compile an example, from some temporary directory, and not as root, {{{ /usr/local/share/NAG/nll6i30dbl/scripts/nag_example -gnu a00aac # library identification, implementation details /usr/local/share/NAG/nll6i30dbl/scripts/nag_example -gnu a00acc # availability of license key }}} Enviroment variables to ease linking with the library can be set by sourcing nagvars.sh,[[BR]] ` . /usr/local/share/NAG/nll6i271bl/scripts/nagvars.sh` Documentation is downloaded to /usr/local/src/NAG/mk27-1_doc.tgz. Users should also set the environment variable OMP_NUM_THREADS to sensible values, e.g.,[[BR]] ` export OMP_NUM_THREADS=6`[[BR]] depending also on the value contained in `OMP_NESTED`.