Any additional information related to this implementation, that came to light after the release of this product, will be described below.
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.
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.sofor 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.sofor 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.
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.sofor 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.sofor 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.