NAG C Library, Mark 26.2

CLL6I262CL - License Managed

Linux 64 (Intel 64 / AMD64), Intel C/C++, 32-bit integers

Installer's Note



Contents


1. Introduction

This document provides implementation-specific information relating to the installation of the NAG Library specified in the title.

By installing this software you agree to NAG's Terms and Conditions. Please note that these Terms and Conditions are subject to change without notice. The NAG Software Licence Terms and Conditions and details of revisions are available from https://www.nag.co.uk/content/nag-terms-conditions.

2. Implementation Provided

2.1. Applicability

This implementation is a compiled, tested, ready-to-use version of the NAG Library that is considered suitable for operation on the computer systems detailed below:

hardware:          Intel 64 systems and compatible (including AMD64)
operating system:  Linux 2.6.32 (glibc-2.12-1) and compatible
C compiler:        Intel C++ Compiler
                   Version 18.0.1.163 20171018 and compatible
Fortran compiler:  Intel Fortran Compiler
                   Version 18.0.1.163 20171018 and compatible

The definitions and sizes of the Integer and Pointer types used in this implementation are shown in Section 3.3 of the Users' Note.

2.2. Derivation and Additional Test Platforms

This implementation was produced at NAG Ltd., Oxford on the computing system detailed below:

hardware:                 Intel(R) Core(TM) i7-6800K CPU @ 3.40GHz
operating system:         Linux 2.6.32-696.6.3.el6.x86_64 (CentOS release 6.9 (Final))
                          with glibc-2.12-1
Fortran compiler:         Intel(R) Fortran Compiler Version 18.0.1.163 20171018
C compiler:               Intel(R) C++ Compiler Version 18.0.1.163 20171018
vendor library:           Intel MKL version 2018.0.1
C compiler options:       -fexceptions -axCORE-AVX2,AVX -no-fma
                          -fp-model precise -fp-speculation=safe
Fortran compiler options: -fexceptions -axCORE-AVX2,AVX -no-fma
                          -fp-model precise -fp-speculation=safe

For details of any other systems on which this implementation has been tested, please see the Supplementary Information page on our website.

2.3. Supplementary Information

Please check the following URL:

https://www.nag.co.uk/doc/inun/cl26/l6i2cl/supplementary.html

for details of any new information related to the applicability or usage of this implementation. Details of any other systems on which it has been tested may also be found on this page.

3. Distribution

The software is available to download from any of the NAG websites (see Section 6 for contact details).

3.1. Contents

The following shows the directory and file organization of the implementation materials after installation.
                    |- in.html  (Installer's Note - this document)
            |- doc -|- un.html  (Users' Note)
            |       |- nag_tsandcs.txt  (NAG Software Licence Ts & Cs)
            |
            |       |- libnagc_nag.a     (static self-contained library
            |       |                     including NAG BLAS/LAPACK)
            |       |- libnagc_nag.so.26.2  (shareable self-contained library
            |       |                        including NAG BLAS/LAPACK)
            |       |- libnagc_nag.so    (symbolic link pointing at
            |- lib -|                     libnagc_nag.so.26.2)
            |       |- libnagc_mkl.a     (static library requiring
            |       |                     MKL BLAS/LAPACK)
            |       |- libnagc_mkl.so.26.2  (shareable library requiring
            |       |                        MKL BLAS/LAPACK)
            |       |- libnagc_mkl.so    (symbolic link pointing at
            |                             libnagc_mkl.so.26.2)
cll6i262cl -|
            |- include -|- *.h
            |
            |- nag_interface_blocks -|- * (Fortran interface blocks for NAG
            |                              Library routines)
            |        
            |            |- source --|- ??????e.c
            |            |
            |- examples -|- data ----|- ??????e.d
            |            |           |- ??????e.opt
            |            |
            |            |- results -|- ??????e.r
            |
            |              |- source --|- ??????e.f90
            |              |
            |- f_examples -|- data ----|- ??????e.d
            |              |           |- ??????e.opt
            |              |
            |              |- results -|- ??????e.r
            |
            |           |- nagc_example*  (scripts to compile and run
            |- scripts -|                  NAG example programs)
            |           |
            |           |- nag_recompile_mods  (script to recompile
            |                                   Fortran interface blocks)
            |
            |- c_headers -|- * (C/C++ header file and information)
            |
            |- mkl_intel64_2018.0.1 -|- *  (Intel Math Kernel Library)
            |
            |- rtl -|- *  (Intel compiler run-time libraries)
            |
            |           |- bin -|- *  (directories of license management
            |           |              binaries for supported platforms)
            |- license -|- README.txt
                        |
                        |- doc -|- *  (license management documentation)

The following shows the directory and file organization of the Library Manual materials after installation.

             |- nagdoc_cl26.2
nagdoc_26.2 -|
             |- nagdoc_fl26.2
             |
             |- index.html


nagdoc_cl26.2 -|- index.html
               |
               |- examples -|- baseresults -|- *.r.html
               |            |- source      -|- *.c.html (syntax highlighted
               |            |                            source files)
               |            |- data        -|- *.d.html
               |            |               |- *.opt.html
               |            |- replaced    -|- *.c.html
               |
               |- html  -|- frontmatter -|- manconts.html  (main HTML index)
                         |               |- copyright.html (copyright notice)
                         |
                         |- genint -|- *.html  (general introductory material)
                         |
                         |- [a00-x07] -|- *conts.html  (chapter contents)
                         |             |- *intro.html  (chapter introduction)
                         |             |- *c.html      (routine documents)
                         |
                         |- figures -|- *.png  (figures and plotfiles)
                         |
                         |- styles -|- *.css  (CSS stylesheets)
                                    |- *.js   (JavaScript)

nagdoc_fl26.2 -|- index.html
               |
               |- examples -|- baseresults -|- *.r.html
               |            |- source      -|- *.f90.html (syntax highlighted
               |            |                              source files)
               |            |- data        -|- *.d.html
               |                            |- *.opt.html
               |
               |- html  -|- frontmatter -|- manconts.html  (main HTML index)
               |         |               |- *.html         (foreword &
               |         |                                  copyright notice)
               |         |
               |         |- genint -|- *.html  (general introductory material)
               |         |
               |         |- [a00-x10] -|- *conts.html  (chapter contents)
               |         |             |- *intro.html  (chapter introduction)
               |         |             |- *f.html      (routine documents)
               |         |
               |         |- figures -|- *.png  (figures and plotfiles)
               |         |
               |         |- styles -|- *.css  (CSS stylesheets)
               |                    |- *.js   (JavaScript)
               |
               |- adexamples -|- baseresults -|- *.r.html
               |              |- source      -|- *.cpp.html (syntax highlighted
               |              |               |              C++ source files)
               |              |               |- *.f90.html (syntax highlighted
               |              |                              Fortran source files)
               |              |- data        -|- *.d.html
               |
               |- adhtml-|- index.html  (AD Library index)
                         |
                         |- [c05-s] -|- *_ad_f.html  (routine documents)
                         |
                         |- styles -|- *.css  (CSS stylesheet)

Details of the software are given in the Users' Note (un.html).

4. Installation

4.1. Installation of Library Software and Manual

Assuming you have downloaded the Library materials from our website as a tar gzip file (cll6i262cl.tgz), cd to the directory where the file is located and extract the installation materials using the following command:

  tar xvzf cll6i262cl.tgz
This will extract the files install.sh, cl26.tgz, nag_tsandcs.txt, in.html and un.html.

If you have downloaded the Library Manual as a tar gzip file (mk26-2_doc.tgz), move the file into the same location as the Library materials. You can then install the materials from the download directory by executing the shell script install.sh in a command window as:

  ./install.sh
By default, the materials will be installed under $HOME/NAG/, or if the directory $HOME does not exist, under /opt/NAG/. However, you may choose a different location. In this document we refer to the directory $HOME/NAG/cll6i262cl or /opt/NAG/cll6i262cl as [INSTALL_DIR]. This convention is also used in the Users' Note.

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. Alternatively, the Library Manual may be viewed from the NAG website (https://www.nag.co.uk/content/nag-c-library-manual).

4.1.1. Silent Installation

It is also possible to run install.sh in unattended or silent modes. The installer takes command line switches for this purpose:

4.1.2. License Management

The use of this product is controlled by the Kusari license management system. This release of the Library uses version 2.2-88 of Kusari.

In order to enable the software, NAG will issue you with a license key as follows. The license key is contained in a text file consisting of details of the software that will be enabled. For evaluation purposes a trial license may be used. Before obtaining a full license you need to know the Kusari hostid of the system on which you intend to use this product. How to do this is described below.

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 CLL6I262CL), by email 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:

  CLL6I262C TRIAL 2017/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 typically include the word NODE or FULL instead of the word TRIAL above and may contain extra fields.

Once you have obtained one of the above license keys, the easiest way to install it is to store the text in a file,

  $HOME/nag.key
or
  /opt/NAG/nag.key
or
  /usr/local/NAG/nag.key
The license software in this implementation automatically looks for these particular files and reads the first one found, so no further 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.lic
or 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: https://www.nag.co.uk/content/kusari-frequently-asked-questions.

4.2. Further Information

4.2.1. Checking the Installation

Access to the Library materials can be checked by running a few example programs following the advice given in the Users' Note, Section 3.1; a suitable sample would be d01sjc, f07adc and g05sjc. The installation can also be tested using the scripts nagc_example* (see Users' Note, Section 3.2).

5. Support from NAG

Please see

https://www.nag.co.uk/content/nag-technical-support-service

for information about the NAG Technical Support Service, including details of the NAG Technical Support Service contact points. We would also be delighted to receive your feedback on NAG's products and services.

6. Contact Addresses

Please see

https://www.nag.co.uk/content/worldwide-contact-information

for worldwide contact details for the Numerical Algorithms Group.