Your attention is drawn to the terms and conditions of the Software License regarding the use of NAG software. Requests for information about the availability of other implementations must be referred to NAG.
This implementation is a compiled, tested, ready-to-use version of the NAG C Library that is considered suitable for operation on the computer systems detailed below:
hardware: AMD 64-bit systems and compatible (including Intel systems, EM64T) operating system: Linux 22.214.171.124-57 (glibc-2.7-2) and compatible C compiler: Intel(R) C Intel(R) 64 Compiler XE, Version 126.96.36.1996 Build 20111011 and compatible
This implementation was produced at NAG Ltd., Oxford on the computing system detailed below:
hardware: Intel Xeon E5310 1.60GHz operating system: Linux 188.8.131.52-47.fc8 (Fedora release 8 (Werewolf)) with glibc-2.7-2 C compiler: Intel(R) C Intel(R) 64 Compiler XE, Version 184.108.40.2066 Build 20111011 Compiler Options: -m64 -fPIC -fexceptions
This implementation was also tested on the AMD system described below:
hardware: AMD Opteron Processor 6174 operating system: Linux 220.127.116.11-0.7-desktop (openSUSE 11.3 (x86_64)) with glibc-2.11-2 C compiler: Intel C/C++ version 12.1.0 (gcc version 4.1.1 compatibility)
It has also been tested using Intel C/C++ listed above with glibc-2.4.
It has also been tested using Intel C/C++, version 11.0 with glibc-2.7.2.
This library has also been tested on the build and test systems listed above with the following gcc, glibc combinations:
gcc version 4.1.2, glibc-2.4 gcc version 4.2, glibc-2.7-2 gcc version version 4.5.0, glibc-2.11.2
The NAG C Library, Mark 23, was compiled with the highest level of optimization that enabled the functionality provided by the library to be verified and validated (-O3).
This library has been tested using the Basic Linear Algebra Subprograms (BLAS) and Linear Algebra PACKage (LAPACK) routines provided by NAG (see the Chapter Introductions for f07, f08 and f16 in the NAG Mark 23 Library Manual, which we will refer to as the Library Manual).
The library has also been tested with version 10.3 of the Intel ® Math Kernel Library for Linux (MKL) which is supplied as a part of this product (see contents). Please see the Intel web site for further information about MKL (http://www.intel.com/software/products/mkl).
Please check the following URL:
for details of any new information related to the applicability or usage of this implementation.
|- doc -|- in.html (Installer's Note, (this document)) | |- un.html (Users' Note) | | |- libnagc_nag.a (static self-contained library | | including NAG BLAS/LAPACK) | |- libnagc_nag.so.23 (shareable self-contained library | | including NAG BLAS/LAPACK) | |- libnagc_nag.so (symbolic link pointing at |- lib -| libnagc_nag.so.23) | |- libnagc_mkl.a (static library requiring | | vendor BLAS/LAPACK) | |- libnagc_mkl.so.23 (shareable library requiring | | vendor BLAS/LAPACK) | |- libnagc_mkl.so (symbolic link pointing at | | libnagc_mkl.so.23) | | | |-libmxlin64.so.2.6.0 (ancillary library required | | to support the NAG Kusari | | Licence System). | |-libmxlin64.so.2.6 (symbolic link pointing at | libmxlin64.so.2.6.0) | |- rtl -|- *.so Intel C runtime libraries | |- *.a cll6i23dcl -| |- include -|- *.h | | |- source --|- ??????e.c | | |- examples -|- data ----|- ??????e.d | | |- ??????e.opt | | | |- results -|- ??????e.r | |- scripts -|- nagc_example* | |- mkl_intel64 -|- * (Intel Math Kernel Library) | | |- bin -|- * (directories of binaries | | for supported platforms) |- license -|- README.TXT | |- doc -|- * (End User Guide)
libnagc_mkl.a and libnagc_mkl.so do not contain the NAG versions of the BLAS and LAPACK routines, apart from dggevx, dsbev, dsbevx, dstedc, zggev, zggevx, zhpr, zhbev, zhbevx, zhpsv, zspsv, zsptrf, zhpsv, zhpsvx, zhptrf, zspsvx and zsptrf which were found to cause problems during testing.
The Intel C runtime libraries have been provided to facilitate the use of the NAG Libraries from older versions of the Intel compilers as well as the use of other compilers such as gcc.
The following shows the directory/file organization of the Library Manual materials as they will be installed.
The files require approximately the following disk space:
Library software: 660 MB Library Manual: 220 MB
If you have downloaded the Library materials from our website as a tar gzip file (cll6i23dcl.tgz), cd to the directory where the file is located and extract the installation materials using the following commands:
gunzip cll6i23dcl.tgz tar xvf cll6i23dcl.tarThis will extract the files install.sh, cl23.tar, lic_agr.txt, in.html and un.html.
If you have downloaded the Library Manual as a tar gzip file (cl23_doc.tgz) run the command
gunzip cl23_doc.tgzto extract the file cl23_doc.tar.
If you are logged in as root then by default, the materials will be installed in /opt/NAG/ or /usr/local/NAG/ depending on your system. However, you may choose a different location. In this document we refer to the directory /opt/NAG/cll6i23dcl or /usr/local/NAG/cll6i23dcl as [INSTALL_DIR]. This convention is also used in the Users' Note (un.html).
The directory [INSTALL_DIR]/scripts contains several scripts to show how to use the libraries provided with this implementation. See Users' Note, Section 3.2. Subsequent to the installation, if you move the library to some other location then these scripts must be changed to reflect that fact.
Each library is provided in both static and shareable format. You also have a choice of libraries; self-contained libraries which use NAG supplied BLAS and LAPACK or libraries which require the use of vendor supplied BLAS and LAPACK.
To simplify access to the libraries you may wish to create symbolic links in a system location such as /usr/lib pointing at the installed libraries. They would then be in the default search path of the linker during the link phase, and be available for execution at run time (in the case of shareable libraries). Note that if both the static and shareable version of a library are placed in a directory then the shareable version is usually used by default.
The include files should be moved to a directory such as /usr/include so that they can be accessed during compilation, e.g.
mv include/*.h /usr/include
The install script can install the Library Manual in the same location as the NAG Library material or at some other location of your choice.
You may wish to move the Library Manual to the same location as that for other NAG products. You are encouraged to make it readily available to users.
In order to enable the software, NAG will issue you with a license key. The license key is contained in a text file consisting of details of the software that will be enabled.
To request a license key, run the program khostid located in the license/bin/linux_x64/ subdirectory of the software distribution. This utility must be run from a command prompt. Return the information that it displays, together with the product code (in this case CLL6I23DCL), by e-mail (or FAX) to NAG. Alternatively, direct the output from this utility to a file and send both the file and the product code to NAG.
A short term (demonstration or trial) license key contains one or more lines like the following:
CLL6I23DC TRIAL 2012/11/12 "EMnxidA3oeoj0F1Yvi5ibxPjB7"Specifically, it has a line containing the word TRIAL. Longer term license keys must be locked to a specific computer, i.e. they will enable the software on one computer only. These license keys include the word NODE instead of the word TRIAL above.
Once you have obtained one of the above license keys, the easiest way to install it is to store the text in a file,
/usr/local/NAG/nag.keyThe license software in this implementation automatically looks for these particular files and reads the first one found, so no other action is necessary. Alternatively, store the license in a file with a name and location of your choice, say,
[INSTALL_DIR]/license.lic.The location of the license file, if it is not one of the default places listed above, must be made known to the NAG application by setting the environment variable NAG_KUSARI_FILE to the full pathname of the file before the application is invoked.
For example, in the C-shell, type:
setenv NAG_KUSARI_FILE [INSTALL_DIR]/license.licor in the Bourne shell, type:
NAG_KUSARI_FILE=[INSTALL_DIR]/license.lic export NAG_KUSARI_FILE
Further details about Kusari and how it may be configured to suit your local circumstances (e.g. how to install the license key on a server) are included in the Kusari License Management documentation in the license/doc/ subdirectory of the software distribution. See also the Kusari FAQ: http://www.nag.co.uk/Kusari/kusari_faq.html.
The following material should also be made accessible to users:
The nagdoc_cl23 directory contains the Library Manual.
libnagc_nag.a libnagc_nag.so (symbolic link pointing at libnagc_nag.so.23) libnagc_mkl.a libnagc_mkl.so (symbolic link pointing at libnagc_mkl.so.23) MKL libraries supplied by NAGinclude files:
include/*.hexample program material:
examples/source/??????e.c examples/data/??????e.d examples/data/??????e.opt examples/results/??????e.r scripts/nagc_example*
Note that the example material has been adapted, if necessary, from that published in the Library Manual, so that programs are suitable for execution with this implementation with no further changes (but see Section 3.2 of the Users' Note for comments about possible differences in results obtained). Making the example material directly available to users provides them with easily adaptable templates for their own problems.
The NAG Response Centres are available for general enquiries from all users and also for technical queries from sites with an annually licensed product or support service.
The Response Centres are open during office hours, but contact is possible by fax, email and phone (answering machine) at all times.
When contacting a Response Centre, it helps us deal with your enquiry quickly if you can quote your NAG site reference or account number and NAG product code (in this case CLL6I23DCL).
The NAG websites provide information about implementation availability, descriptions of products, downloadable software, product documentation and technical reports. The NAG websites can be accessed at the following URLs:
NAG Ltd Wilkinson House Jordan Hill Road OXFORD OX2 8DR NAG Ltd Response Centre United Kingdom email: firstname.lastname@example.org Tel: +44 (0)1865 511245 Tel: +44 (0)1865 311744 Fax: +44 (0)1865 310139 Fax: +44 (0)1865 310139 NAG Inc 801 Warrenville Road Suite 185 Lisle, IL 60532-4332 NAG Inc Response Center USA email: email@example.com Tel: +1 630 971 2337 Tel: +1 630 971 2337 Fax: +1 630 971 2706 Fax: +1 630 971 2706 Nihon NAG KK Hatchobori Frontier Building 2F 4-9-9 Hatchobori Chuo-ku Tokyo 104-0032 Nihon NAG Response Centre Japan email: firstname.lastname@example.org Tel: +81 3 5542 6311 Tel: +81 3 5542 6311 Fax: +81 3 5542 6312 Fax: +81 3 5542 6312 NAG Taiwan Branch Office 5F.-5, No.36, Sec.3 Minsheng E. Rd. Taipei City 10480 NAG Taiwan Response Centre Taiwan email: email@example.com Tel: +886 2 25093288 Tel: +886 2 25093288 Fax: +886 2 25091798 Fax: +886 2 25091798