NAG Library, Mark 27

NLL6I27DB

Linux, 64-bit, Intel C/C++ or Intel Fortran

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 4.11.12-100.fc24.x86_64
(GNU C Library (GNU libc) stable release version 2.23) and compatible [Note: requires libstdc++ from GCC 5.1.0 or later] Fortran compiler: Intel Fortran Compiler
version 19.0.3.199 and compatible C compiler: Intel C Compiler
version 19.0.3.199 and compatible vendor library: Intel MKL version 2019.0.3 and compatible NAG dco/c++: version 3.3.0

The NAG AD Library is included in this implementation.

The definitions and sizes of the C Integer and Pointer types used in this implementation are shown in Section 3.5 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) Xeon(R) E5-2603 v4 
operating system:  Linux 4.11.12-100.fc24.x86_64
with GNU C Library (GNU libc) stable release version 2.23 and 3.4.22
(Fedora 24 (Twenty Four)) Fortran compiler: Intel Fortran Compiler
version 19.0.3.199 20190206 C compiler: Intel C Compiler
version 19.0.3.199 20190206 vendor library: Intel MKL version 2019.0.3 NAG dco/c++: version 3.3.0 Fortran compiler options: -O3 -axCORE-AVX2,AVX -no-fma -fp-model precise -fp-speculation=safe -auto -fPIC -threads -fexceptions (with -i8 for 64-bit integers) C compiler options : -O3 -axCORE-AVX2,AVX -no-fma -fp-model precise -fp-speculation=safe -fPIC -m64 -fexceptions
This implementation includes libraries (and associated files) for use with both 32-bit integers (denoted by lp64) and 64-bit integers (denoted by ilp64). The flags listed above were chosen to be conservative in terms of performance optimization to prioritize consistency of numerical results. However key computational kernels in the NAG Library have been compiled and tested with higher levels of optimization.

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

Please see the Intel website for further information about MKL (https://software.intel.com/intel-mkl).

2.3. Supplementary Information

Please check the following URL:

https://www.nag.co.uk/doc/inun/nl27/l6idb/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

By agreement from NAG, the software may be downloaded from our secure website.

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)
            |       |- alt_c_interfaces.html (Advice on calling FL interface from C and C++)
            |
            |         |          (Files for 32-bit integer libraries)
            |         |
            |         |       |- libnag_nag.a     (static self-contained library
            |         |       |                    including NAG BLAS/LAPACK)
            |         |       |- libnag_nag.so.27 (shareable self-contained library
            |         |       |                    including NAG BLAS/LAPACK)
            |         |       |- libnag_nag.so    (symbolic link pointing at
            |         |- lib -|                    libnag_nag.so.27)
            |         |       |- libnag_mkl.a     (static library requiring
            |         |       |                    MKL BLAS/LAPACK)
            |         |       |- libnag_mkl.so.27 (shareable library requiring
            |-  lp64 -|       |                    MKL BLAS/LAPACK)
            |         |       |- libnag_mkl.so    (symbolic link pointing at
            |         |       |                    libnag_mkl.so.27)
            |         |       |- libnag_nag_ad.a      (static companion AD library)
            |         |       |- libnag_nag_ad.so.27  (shareable companion AD library)
            |         |       |- libnag_nag_ad.so     (symbolic link pointing at
            |         |       |                        libnag_nag_ad.so.27)
            |         |       |- libnag_mkl_ad.a      (static companion AD library)
            |         |       |- libnag_mkl_ad.so.27  (shareable companion AD library)
            |         |       |- libnag_mkl_ad.so     (symbolic link pointing at
            |         |       |                        libnag_mkl_ad.so.27)
            |         |       |- libnag_dcof.a (dcof interface layer, static library only)
            |         |
            |         |- include -|- *.h   (C include files for NAG Library
            |         |           |- *.hpp  routines)
            |         |
            |         |- nag_interface_blocks -|- * (Fortran interface blocks for
            |         |                              NAG Library routines)
nll6i27db  -|
            |         |          (Files for 64-bit integer libraries)
            |         |
            |         |       |- libnag_nag.a     (static self-contained library
            |         |       |                    including NAG BLAS/LAPACK)
            |         |       |- libnag_nag.so.27 (shareable self-contained library
            |         |       |                    including NAG BLAS/LAPACK)
            |         |       |- libnag_nag.so    (symbolic link pointing at
            |         |- lib -|                    libnag_nag.so.27)
            |         |       |- libnag_mkl.a     (static library requiring
            |         |       |                    MKL BLAS/LAPACK)
            |         |       |- libnag_mkl.so.27 (shareable library requiring
            |- ilp64 -|       |                    MKL BLAS/LAPACK)
            |         |       |- libnag_mkl.so    (symbolic link pointing at
            |         |       |                    libnag_mkl.so.27)
            |         |       |- libnag_nag_ad.a      (static companion AD library)
            |         |       |- libnag_nag_ad.so.27  (shareable companion AD library)
            |         |       |- libnag_nag_ad.so     (symbolic link pointing at
            |         |       |                        libnag_nag_ad.so.27)
            |         |       |- libnag_mkl_ad.a      (static companion AD library)
            |         |       |- libnag_mkl_ad.so.27  (shareable companion AD library)
            |         |       |- libnag_mkl_ad.so     (symbolic link pointing at
            |         |       |                        libnag_mkl_ad.so.27)
            |         |       |- libnag_dcof.a (dcof interface layer, static library only)
            |         |
            |         |- include -|- *.h   (C and C++ include files for NAG Library
            |         |           |- *.hpp  routines)
            |         |
            |         |- nag_interface_blocks -|- * (Fortran interface blocks for
            |         |                              NAG Library routines)
            |
            |              |- source --|- *.c       (Example programs for CL
            |              |                         interface routines)
            |- c_examples -|- data ----|- *.d
            |              |           |- *.opt
            |              |
            |              |- results -|- *.r
            |
            |              |- source --|- *.f90     (Example programs for FL
            |              |                         interface routines)
            |- f_examples -|- data ----|- *.d
            |              |           |- *.opt
            |              |
            |              |- results -|- *.r
            |
            |               |- source --|- *.c      (Example programs for AD
            |               |           |- *.cpp     routines)
            |               |           |- *.f90
            |               |
            |- ad_examples -|- data ----|- *.d
            |               |
            |               |- results -|- *.r
            |
            |             |- c_examples ---|- *.c   (Example programs (subset)
            |             |                          for alternative C interface
            |- c_headers -|- cpp_examples -|- *.cpp  to FL routines)
            |             |
            |             |- data ---------|- *.d
            |
            |           |- nag_example  (script to compile and run
            |- scripts -|                NAG example programs)
            |           |
            |           |- nagvars.{sh,csh}    (scripts to set environment variables
            |           |                       to location of NAG libraries, etc.)
            |           |
            |           |- nag_recompile_mods  (script to recompile
            |                                   Fortran interface blocks)
            |
            |- mkl -|- * (Intel Math Kernel Library)
            |
            |- rtl -|- * (Intel compiler run-time libraries)

libnag_dcof.a contains a dcof interface layer through which calls are made to contained components of NAG dco/c++, a separate AD software product for computing sensitivities of C++ codes. This has been provided as a separate library to accommodate using the NAG AD Library with different versions of dco/c++. Different versions of the dcof library can be provided for such cases. Please contact NAG if you require this (see Section 6 for contact details).

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

nagdoc_27   -|- index.html
             |
             |- nlhtml   Generic Documentation of the NAG Library
             |- flhtml   Documentation of FL Interfaces
             |- clhtml   Documentation of CL Interfaces
             |- adhtml   Documentation of AD Library
             |
             |- figures  Figures
             |
             |- styles   CSS and JavaScript used by the documentation
             |
             |- examples -|- baseresults HTML display of example results
                          |- source      HTML display of example sources
                          |- data        HTML display of example data files

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 (nll6i27db.tgz), cd to the directory where the file is located and extract the installation materials using the following command:

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

If you have downloaded the Library Manual as a tar gzip file (mk27_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/nll6i27db or /opt/NAG/nll6i27db 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/numeric/nl/nagdoc_27/).

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.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 d01auf, e04uca, f07adf, d01sjc, f07adc and g05sjc. The installation can also be tested using the script nag_example (see Users' Note, Section 3.3). You may also wish to check the AD routines; a suitable example would be s01ba_a1w_hcpp.

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.