NAG Fortran Compiler Release 7.0 Technical Information Note (TECHINFO) 1. Introduction The following implementations of the NAG Fortran Compiler Release 7.0 are available on CDROM or by download from the NAG web site. Product code Target platform Distribution directory ------------ --------------- ---------------------- NPL6A70NA x86-64 Linux (AMD64 or Intel 64) NAG_Fortran-amd64 NPMI670NA Apple Intel Mac OS 64 bit NAG_Fortran-macx64 NPMA870NA Apple Arm Mac OS 64 bit NAG_Fortran-macarm64 NPW3270NA Microsoft Windows (x86 and x86_64) Not Applicable The following implementation of the NAG Fortran Compiler Release 6.2 is also available. Product code Target platform Distribution directory ------------ --------------- ---------------------- NPLUX62NA x86 Linux NAG_Fortran-rh90 The following implementation of the NAG Fortran Compiler Release 5.3 is also available. Product code Target platform Distribution directory ------------ --------------- ---------------------- NPSOL53NA Sun SPARC (Solaris, SunC) NAG_Fortran-sparc 2. Installation for Linux (1) From an internet distribution: Unpack the gzipped tar file into an area with sufficient space. Connect to the distribution directory and type INSTALL.sh. For example, tar zxf npl6a70na_amd64.tgz cd NAG_Fortran-amd64 ./INSTALL.sh A script is also supplied for performing unattended installations in this form: tar zxf npl6a70na_amd64.tgz cd NAG_Fortran-amd64 sudo sh -c "INSTALL_TO_BINDIR=/usr/local/bin && \ export INSTALL_TO_BINDIR && \ INSTALL_TO_LIBDIR=/usr/local/lib/NAG_Fortran && \ export INSTALL_TO_LIBDIR && \ sh INSTALLU.sh" Please see the notes in the preamble commentary of INSTALLU.sh for more details. (2) From CDROM: Connect to the distribution directory on the CD and type INSTALL.sh. E.g. cd /cdrom/NAG_Fortran-amd64 ./INSTALL.sh A script is also supplied for performing unattended installations in this form: cd /cdrom/NAG_Fortran-amd64 sudo sh -c "INSTALL_TO_BINDIR=/usr/local/bin && \ export INSTALL_TO_BINDIR && \ INSTALL_TO_LIBDIR=/usr/local/lib/NAG_Fortran && \ export INSTALL_TO_LIBDIR && \ sh INSTALLU.sh" Please see the notes in the preamble commentary of INSTALLU.sh for more details. (3) To run directly from CDROM or an unpacked tar distribution: Connect to the distribution directory and type RUN.sh. E.g. cd /cdrom/NAG_Fortran-amd64 ./RUN.sh A script is also supplied for performing unattended installations in this form: cd /cdrom/NAG_Fortran-amd64 sudo sh -c "INSTALL_TO_BINDIR=/usr/local/bin && \ export INSTALL_TO_BINDIR && sh RUNU.sh" Please see the notes in the preamble commentary of RUNU.sh for more details. 3. Installation for Mac You will need to log in to an administrator account, or use the sudo command, to carry out the installation. (1) From an internet distribution: In Finder, double click on the dmg file that you downloaded, then from a Terminal window type the following commands: cd /Volumes/NAG_Fortran-macx64 ./INSTALL.sh A script is also supplied for performing unattended installations in this form: cd /Volumes/NAG_Fortran-macx64 sudo sh -c "INSTALL_TO_BINDIR=/usr/local/bin && \ export INSTALL_TO_BINDIR && \ INSTALL_TO_LIBDIR=/usr/local/lib/NAG_Fortran && \ export INSTALL_TO_LIBDIR && \ sh INSTALLU.sh" Please see the notes in the preamble commentary of INSTALLU.sh for more details. (2) From CDROM: Insert the CD into the drive and wait for it to mount, then from a Terminal window type the following commands: cd /Volumes/NAG_Fortran-macx64 ./INSTALL.sh A script is also supplied for performing unattended installations in this form: cd /Volumes/NAG_Fortran-macx64 sudo sh -c "INSTALL_TO_BINDIR=/usr/local/bin && \ export INSTALL_TO_BINDIR && \ INSTALL_TO_LIBDIR=/usr/local/lib/NAG_Fortran && \ export INSTALL_TO_LIBDIR && \ sh INSTALLU.sh" Please see the notes in the preamble commentary of INSTALLU.sh for more details. (3) To run directly from CDROM: Insert the CD into the drive and wait for it to mount, then from a Terminal window type the following commands: E.g. cd /Volumes/NAG_Fortran-macx64 ./RUN.sh A script is also supplied for performing unattended installations in this form: cd /Volumes/NAG_Fortran-macx64 sudo sh -c "INSTALL_TO_BINDIR=/usr/local/bin && \ export INSTALL_TO_BINDIR && sh RUNU.sh" Please see the notes in the preamble commentary of RUNU.sh for more details. NOTE 1: It is strongly recommended that the compiler libraries are installed to the default directory (/usr/local/lib/NAG_Fortran). Failure to do so may result in problems in accessing the dynamic libraries; this may be alleviated by setting the DYLD_LIBRARY_PATH environment variable to include the compiler library directory. NOTE 2: The Mac implementation of the NAG Fortran Compiler uses Apple's version of gcc and associated tools and these are no longer installed by default. Gcc is part of Xcode, which is a large download, most of which is not needed for NAG Fortran, so you are recommended only to download and install the "Command Line Tools for Xcode" package, unless you need Xcode for other development work. If you install Xcode itself, the "Command Line Tools" are installed in a second step. After installation, run Xcode and select Preferences from the Xcode menu. Click on the Downloads button, locate "Command Line Tools" and click Install. These packages can be downloaded free of charge from the Apple Developer web site. https://developer.apple.com/downloads/index.action You need to register to access this site. Other builds of gcc are available for the Mac, but NAG only supports use of the NAG Fortran Compiler with the version obtained from the Apple Developer web site. 4. Machine-specific Details Details of the product specific to each machine are given below. The products were tested on the specified operating system version and so should work on fully compatible later releases of the operating system. Details are also given as to whether the runtime garbage collector is supported and whether 128-bit reals are supported. Which debugger is used and any restrictions have also been documented. NPL6A70NA - AMD64/Intel 64 Linux glibc2.4 or compatible ------------------------------------------------------- Machine: AMD x86_64 (Opteron) or Intel 64 (Xeon) Operating System: Kernel version 2.6.16.46 or compatible glibc: 2.4.x or compatible C Compiler: gcc 4.7.3 or compatible Space Required: 98 MB Garbage Collection: Yes 128-bit reals: Yes Debugger: dbx90 Licence management: Kusari 2.2 Note: This implementation contains several ABIs, selected with the -abi= option; this is explained in detail in the compiler manual. NPMI670NA - Apple Intel Mac OS 64-bit ------------------------------------- Machine: Apple Intel Mac 64-bit Operating System: Mac OS version 10.7 (Lion)---10.15 (Catalina) or compatible C Compiler: gcc 4.2.1 or compatible Space Required: 52 MB Garbage Collection: No 128-bit reals: Yes Debugger: None Licence management: Kusari 2.2 Note: This implementation does not support 32-bit applications. NPMA870NA - Apple Arm Mac OS 64-bit ------------------------------------- Machine: Apple Arm Mac 64-bit Operating System: Mac OS version 11.0 (Big Sur) or compatible C Compiler: gcc 4.2.1 or compatible Space Required: 48 MB Garbage Collection: No 128-bit reals: Yes Debugger: None Licence management: Kusari 2.2 Note: This implementation does not support 32-bit applications. This implementation does not support IEEE exception halting control. NPLUX62NA - Linux (x86) RedHat 9.0 or compatible ------------------------------------------------ Machine: Intel Pentium 4 or compatible Operating System: Kernel version 2.4.20 or compatible glibc: 3.2.x or compatible C Compiler: gcc 4.7.3 or compatible Space Required: 42 MB Garbage Collection: YES 128-bit reals: Yes Debugger: dbx90 Licence management: Kusari 2.2 NPSOL53NA - Sun SPARC Solaris (Sun C) ------------------------------------- Machine: Sun SPARC Ultra or compatible Operating System: SunOS 5.10 (Solaris 10) or compatible C Compiler: Sun C 5.9 or compatible Space Required: 26 MB Garbage Collection: YES 128-bit reals: Yes Debugger: dbx90 Licence management: Kusari 2.2 Note: Release 5.3 on this platform is binary-compatible with Release 5.2, but not with Release 5.1 or earlier.