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.
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
This implementation has been successfully tested using the following:
hardware: Marvell ThunderX2 aarch64 machine: centos7aarch64 operating system: Linux version 4.14.0-115.2.2.el7a.aarch64 (CentOS Linux release 7.6.1810 (AltArch)) with glibc-2.17 Fortran compiler: GNU Fortran (GCC) 7.4.0 C compiler: GNU gcc (GCC) 7.4.0 vendor library: ARMPL version 18.4.2
Note: This list is not exhaustive; other combinations of hardware, operating system and compiler may also work.
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.