NAG Fortran Compiler Release 5.3.1 Technical Information Note (TECHINFO) 1. Introduction The following implementations of the NAG Fortran Compiler Release 5.3.1 are available on CDROM or by download from the NAG web site. Product code Target platform Distribution directory ------------ --------------- ---------------------- NPL6A53NA x86-64 Linux (AMD64 or Intel 64) NAG_Fortran-amd64 NPLUX53NA x86 Linux NAG_Fortran-rh90 NPMI653NA Apple Intel Mac OS X 64 bit NAG_Fortran-macx64 The following implementations of the NAG Fortran Compiler Release 5.3 are also available. Product code Target platform Distribution directory ------------ --------------- ---------------------- NPSOL53NA Sun SPARC (Solaris, SunC) NAG_Fortran-sparc NPW3253NA Microsoft Windows (x86 and x86_64) 2. Installation for unix (1) From CDROM: Connect to the distribution directory on the CD and type CDINSTALL. E.g. cd /cdrom/NAG_Fortran-amd64 ./CDINSTALL.sh (2) From an internet distribution: Unpack the gzipped tar file into an area with sufficient space. install as per the CD distribution, e.g. Connect to the distribution directory and type INSTALL. E.g. gunzip NAG_Fortran-amd64.tgz tar xf NAG_Fortran-amd64.tar cd NAG_Fortran-amd64 ./INSTALL.sh (3) To run directly from CDROM or an unpacked tar distribution: Connect to the distribution directory and type CDRUN. E.g. cd /cdrom/NAG_Fortran-amd64 ./CDRUN.sh 3. Installation for Mac (1) 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 ./CDINSTALL.sh (2) 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 (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 ./CDRUN.sh NB: 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. NPL6A53NA - 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.1.2 or compatible Space Required: 52 MB Garbage Collection: Yes 128-bit reals: Yes Debugger: dbx90 Licence management: Kusari 2.2 Note: This implementation supports object sizes greater than 2 GB. The default ABI of this version is incompatible with previous releases. In order to generate code compatible with 5.1(346) or earlier, please use the -abi=64 option. (The -abi=64 option will be withdrawn in a future release of NAG Fortran.) In order to run dynamic executables linked with 5.1(346) or earlier, the environment variable LD_LIBRARY_PATH must be set to ensure the compatible shareable library is picked up from the subdirectory x86_64f of the compiler lib directory, default /usr/local/lib/NAG_Fortran/x86_64f. NPLUX53NA - Linux (x86) RedHat 9.0 or compatible ------------------------------------------------ Machine: Intel 486 or compatible Operating System: Kernel version 2.4.20 or compatible glibc: 3.2.x or compatible C Compiler: gcc 3.2.2 or compatible Space Required: 29 MB Garbage Collection: YES 128-bit reals: Yes Debugger: dbx90 Licence management: Kusari 2.2 NPMI653NA - Apple Intel Mac OS X 64-bit -------------------------- Machine: Apple Intel Mac 64-bit Operating System: Mac OS X version 10.5, 10.6, 10.7 or compatible C Compiler: gcc 4.2 or compatible Space Required: 42 MB Garbage Collection: NO 128-bit reals: Yes Debugger: dbx90 Licence management: Kusari 2.2 Note: 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. 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. NPW3253NA - Microsoft Windows (x86 and x86_64) ------------------------------------------- Machine: Intel, AMD or compatible, x86 or x86_64. Operating System: Microsoft Windows Vista, 7, 8 or compatible C Compilers supplied: x86: MinGW gcc 3.4.5 x86_64: MinGW gcc 4.5.3 Space Required: 1.4 GB 64-bit integers: YES Garbage Collection: YES 128-bit reals: YES Licence management: Kusari 2.2 IDE and debugger: Fortran Builder (FortranBuilder.exe)