NAG Fortran Library for Win32 Applications, Mark 23

FLDLL234ML - License managed

Windows XP/Vista/7 DLL, Intel Visual Fortran

Installer's Note

Post Release Information

This implementation is applicable to computer systems described in section 2.1 of the Installer's Notes (see Installer's Notes, Applicability).

Any additional information related to this implementation, that came to light after the release of this product, is described below.

  1. Using Intel Fortran 12.1

    The libraries in this implementation have been tested with a newer version of Intel Fortran
      Intel(R) Visual Fortran Compiler XE for applications running on IA-32,
      Version Build 20110811
      Copyright (C) 1985-2011 Intel Corporation.  All rights reserved.
    and found to work correctly.

  2. Using the NAG Fortran Library Mark 23 DLLs with Fortran Builder Release 5.2

    1. Re-compile the module files as detailed in the Users' Note Section 4.3.

      Thereafter the directory containing your newly created module files should be made available via the Project Settings\Directory tab.

      Do not be disturbed by any warning messages relating to the length of the long_names. These are produced as helpful hints that other less modern compilers may not accept more than 31 characters. NAG's does.

    2. After you have installed the NAG Compiler and the Fortran Builder IDE, the NAG Library DLLs you have already installed will work with the NAG compiler. Release 5.2 of the Fortran Builder IDE pre-dates the Mark 23 NAG Library and so does not automatically link to it. Consequently it has to be added to the link command. Fortunately this is very straightforward:
      1. Add the compiled *.mod files (above) to a new directory, say C:\NAGMODS.
      2. Create a Console Project.
      3. Go to Project Settings via the Project menu.
      4. Tick the boxes to pause at the end of execution and the Release Mode button visible from the Basic Settings tab.
      5. Click the Fortran Compiler tab and tick the DLL compatibility box.
      6. The directory containing your newly created module files (C:\NAGMODS) should be made available via the Project Settings\Directory tab.
      7. Now move to the Link tab. From here we add the lib file corresponding to the library we are using. You do this by clicking the Add button and browsing for the lib file.

        It will be FLDLL234M_nag.lib or FLDLL234M_mkl.lib which will probably be under C:\Program Files\NAG\FLDLL234ML\lib\ if you have installed in the suggested location. Recall that either library will work: the MKL version uses Intel's Math Kernel Library for greater speed. The NAG version uses high level code for these functions and may be used for verification of the results.

    You should now be in a position to run your program using Fortran Builder. You won't have to insert the string length arguments either, so the routine calls will be exactly as described in the manual and example programs. Two tips:

  3. Using the NAG Fortran Library Mark 23 DLLs with the Absoft Fortran Compiler

    This implementation may be used with the Absoft compiler version 11.5. Further details, examples and revised interface blocks (source and compiled files) may be found at The source of the interface blocks differs from that distributed with the implementation. It has STDCALL statements inserted.

    The Absoft compiler does not currently handle the very long names suggested as an alternative to the traditional NAG names. If this is inconvenient then you may adjust the nag_long_names.f90 file to have shorter names and compile this.

    Alternatively Fortran 90 allows a very convenient renaming facility via the USE statement. For example:

    allows the user to refer to the NAG routine E04UCA as NAGMIN.