NAG Fortran Library, Mark 22

FLL3A22DFL - License Managed

Linux (x86-32), GNU Fortran, Double Precision

FLL3A22DFL Post Release Information

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

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

  1. Other Versions of GNU Fortran

    The libraries in this implementation are compatible with GNU Fortran 4.4.0, but the compiled interface-block files (nag_interface_blocks/*.mod) are not. They will need to be recompiled as follows.
    mkdir [INSTALL_DIR]/nag_interface_blocks_4.4.0
    cd [INSTALL_DIR]/nag_interface_blocks_4.4.0
    gfortran -m32 -c [INSTALL_DIR]/nag_interface_blocks/nag_precisions.f90
    gfortran -m32 -c [INSTALL_DIR]/nag_interface_blocks/nag_f77*.f90
    rm *.o
    

    Library users who require access to the recompiled .mod files should be made aware that they must specify the -I[INSTALL_DIR]/nag_interface_blocks_4.4.0 option, not -I[INSTALL_DIR]/nag_interface_blocks, on each compiler invocation.

  2. The g95 Compiler

    The libraries in this implementation are compatible with G95 0.91, but the compiled interface-block files (nag_interface_blocks/*.mod) are not. They will need to be recompiled with g95, using the steps described above for gfortran. Further, users will need to specify the location of gfortran's runtime libraries when linking with g95, in order to resolve the runtime dependencies in the gfortran NAG Libraries.

    Existing users of this implementation may already have the path to gfortran's runtime libraries set in LD_LIBRARY_PATH in their environment. Otherwise the location may be available by invoking

      gfortran -print-file-name=libgfortran.so
    
    for a gfortran compatible with this implementation. Whatever its value, it must be present in LD_LIBRARY_PATH in the user's environment for linking with g95 to be successful.

    Suppose the interface blocks have been recompiled in the directory [INSTALL_DIR]/nag_interface_blocks_g95/. Then on a system where /opt/gcc/ contains a gfortran compatible with this implementation, the command

      gfortran -I[INSTALL_DIR]/nag_interface_blocks -m32 driver.f [INSTALL_DIR]/lib/libnag_acml.so
    
    for shared linking of the ACML-enabled NAG Library with gfortran would become
      g95 -I[INSTALL_DIR]/nag_interface_blocks_g95 -m32 driver.f [INSTALL_DIR]/lib/libnag_acml.so \
        -L/opt/gcc/lib -lgfortran
    
    for shared linking with g95.

  3. The Sun Studio f95 Compiler

    The libraries in this implementation are compatible with Sun Studio 12 f95, but the compiled interface-block files (nag_interface_blocks/*.mod) are not. They will need to be recompiled with f95, using similar steps as described above for gfortran. Further, users will need to specify the location of gfortran's runtime libraries when linking with f95, in order to resolve the runtime dependencies in the gfortran NAG Libraries. To recompile the interface blocks:
    mkdir [INSTALL_DIR]/nag_interface_blocks_f95
    cd [INSTALL_DIR]/nag_interface_blocks_f95
    f95 -m32 -c [INSTALL_DIR]/nag_interface_blocks/nag_precisions.f90
    f95 -m32 -c [INSTALL_DIR]/nag_interface_blocks/nag_f77*.f90
    rm *.o
    

    Existing users of this implementation may already have the path to gfortran's runtime libraries set in LD_LIBRARY_PATH in their environment. Otherwise the location may be available by invoking

      gfortran -print-file-name=libgfortran.so
    
    for a gfortran compatible with this implementation. Whatever its value, it must be present in LD_LIBRARY_PATH in the user's environment for linking with f95 to be successful.

    Assuming that the interface blocks have been recompiled in the directory [INSTALL_DIR]/nag_interface_blocks_f95/ then on a system where /opt/gcc/ contains a gfortran compatible with this implementation, the command

      gfortran -I[INSTALL_DIR]/nag_interface_blocks -m32 driver.f [INSTALL_DIR]/lib/libnag_acml.so
    
    for shared linking of the ACML-enabled NAG Library with gfortran could be replaced by
      f95 -M[INSTALL_DIR]/nag_interface_blocks_f95 -m32 driver.f [INSTALL_DIR]/lib/libnag_acml.so \
        -L/opt/gcc/lib -lgfortran -lgcc_s
    
    for shared linking with Sun Studio f95.