NAG C Library, Mark 26.2

CLLA8262G

Marvell ThunderX2 aarch64, Linux 64-bit, GNU gcc/gfortran, 32-bit integers

Supplementary Information



Contents

1. Introduction

This page is for supplementary information relating to the implementation described in Section 2.1 of the Installer's Note. It may be augmented over the life-time of the product if further pertinent information becomes available.

2. Applicability

This implementation is considered suitable for operation on the computer systems detailed below:
hardware:          Marvell ThunderX2 aarch64 systems and compatible
operating system:  Linux 4.14.0-115.2.2 (glibc-2.17) and compatible
Fortran compiler:  GNU gfortran 7.4.0 and compatible
C compiler:        GNU gcc 7.4.0 and compatible

3. Test Platforms

This implementation has been successfully tested using the following:

Note: This list is not exhaustive; other combinations of hardware, operating system and compiler may also work.

4. Calling the Library from GNU gfortran

This NAG Library implementation contains interfaces that allow it to be called from GNU gfortran. The supplied Fortran example programs (located in the f_examples directory) may be compiled and run via the example scripts (from the scripts directory). These illustrate the compiler commands required, but details are also given here.

We assume that the Library and the NAG include files have been installed in the directory [INSTALL_DIR].

We also assume that the ARMPL files have been installed in the directory [ARMPL_DIR]. Please contact your system administrator or the person who did the the installation to ascertain the location of these files on your system, if you wish to use the NAG Libraries that make use of the ARMPL BLAS and LAPACK routines.

Note that the environment variable LD_LIBRARY_PATH must be set correctly at link time and run time. (See Section 3.1 of the Users' Note for details.)

To use the NAG Library and the ARMPL (assuming this is installed on your system), you may link in the following manner:

  gfortran driver.f90 -I[INSTALL_DIR]/nag_interface_blocks \
    [INSTALL_DIR]/lib/libnagc_armpl.a \
    [ARMPL_DIR]/libarmpl.a \
    -lgfortran -lm -lpthread -lstdc++
where driver.f90 is your application program;

or

  gfortran driver.f90 -I[INSTALL_DIR]/nag_interface_blocks \
    [INSTALL_DIR]/lib/libnagc_armpl.so \
    -L[ARMPL_DIR] -larmpl \
    -lgfortran -lm -lpthread -lstdc++
if the shareable library is required.

However, if you prefer to link to a version of the NAG Library which does not require the use of ARMPL you may wish to use the self-contained libraries as follows:

  gfortran driver.f90 -I[INSTALL_DIR]/nag_interface_blocks \
    [INSTALL_DIR]/lib/libnagc_nag.a \
    -lgfortran -lm -lpthread -lstdc++
or
  gfortran driver.f90 -I[INSTALL_DIR]/nag_interface_blocks \
    [INSTALL_DIR]/lib/libnagc_nag.so \
    -lgfortran -lm -lpthread -lstdc++
if the shareable library is required.