Your attention is drawn to the terms and conditions of the Software License regarding the use of NAG software. Requests for information about the availability of other implementations must be referred to NAG.
This implementation is a compiled, tested, ready-to-use version of the NAG Fortran Library that is considered suitable for operation on the computer systems detailed below:
hardware: Linux x86-32 systems and compatible operating system: Linux 2.6.16.46-0.10-smp and compatible Fortran compiler: GNU Fortran (GCC) 4.3.2 and compatiblePlease note that this product will NOT work with earlier versions of the compiler (such as version 4.1.x or 4.2.x) and may not work with future versions of the compiler (such as version 4.4.x).
This implementation was produced at NAG Ltd., Oxford on the computing system detailed below:
hardware: AMD64 2.2GHz
operating system: Linux 2.6.16.46-0.10-smp (SUSE Linux Enterprise Server 10 (x86_64))
with glibc-2.4-31.30
Fortran compiler: GNU Fortran (GCC) 4.3.2
compiler flags: -O3 -DUSE_F90_ALLOCATE -Wall -W -Wno-unused -Wno-uninitialized -fPIC
-fno-second-underscore -m32
This implementation has been tested at NAG Ltd., Oxford on the computing system detailed below:
hardware: Intel ® Xeon ® E5310 1.60GHz
operating system: Linux 2.6.25.10-47.fc8 (Fedora release 8 (Werewolf))
with glibc-2.7-2
Fortran compiler: GNU Fortran (GCC) 4.3.1 and GNU Fortran (GCC) 4.3.3
The NAG Fortran Library, Mark 22, was compiled with the highest level of optimization that enabled the functionality provided by the library to be verified and validated.
Most files were compiled with compiler flags:
-O3 -DUSE_F90_ALLOCATE -Wall -W -Wno-unused -Wno-uninitialized -fPIC -fno-second-underscore -m32 -c
It was necessary to compile some code without full optimization.
These files were compiled with compiler flags -O0 -DUSE_F90_ALLOCATE -Wall -W -Wno-unused -Wno-uninitialized -fPIC -fno-second-underscore -m32 -c:
f06bcfn.fThese files were compiled with compiler flags -O1 -DUSE_F90_ALLOCATE -Wall -W -Wno-unused -Wno-uninitialized -fPIC -fno-second-underscore -m32 -c:
e04abzn.f
This library has been tested using the Basic Linear Algebra Subprograms (BLAS) and linear algebra routines (LAPACK) provided by NAG (see the Chapter Introductions for F06, F07 and F08 in the NAG Mark 22 Library Manual, which we will refer to as the Library Manual).
This library has been also tested with version 4.2.0 of the AMD Core Math Library (ACML), which is supplied as a part of this product (see contents). Please see the AMD web site for further information about ACML (http://developer.amd.com/acml).
Please check the following URL:
http://www.nag.co.uk/doc/inun/fl22/l3adfl/postrelease.html
for details of any new information related to the applicability or usage of this implementation.
|- doc -|- in.html (Installer's Note, (this document))
| |- un.html (Users' Note)
|
| |- libnag_nag.a (static self-contained library
| | including NAG BLAS/LAPACK)
|- lib -|- libnag_nag.so (shareable self-contained library
| | including NAG BLAS/LAPACK)
| |- libnag_acml.a (static library requiring
| | vendor BLAS/LAPACK)
| |- libnag_acml.so (shareable library requiring
| vendor BLAS/LAPACK)
fll3a22dfl -|
|- nag_interface_blocks -|- *
|
| |- source --|- ??????e.f
|- examples -|- data ----|- ??????e.d
| |- results -|- ??????e.r
|
|- scripts -|- nag_example*
|
|- acml -|- * (AMD Core Math Library)
|
| |- bin -|- * (directories of binaries
| | for supported platforms)
|- license -|- README.TXT
|
|- doc -|- * (End User Guide)
libnag_acml.a and libnag_acml.so do not contain the NAG version of Basic Linear Algebra Subprograms (BLAS) nor the linear algebra functions (LAPACK).
The following shows the directory/file organization of the Library Manual materials as they will be installed.
nagdoc_fl22 -|- examples -|- baseresults -|- ??????*.r
| |- source -|- ??????*.f
| |- data -|- ??????*.d
|
|- html -|- FRONTMATTER -|- manconts.html (main HTML index)
| | |- *.html (foreword & copyright)
| |
| |- [A00-X05] -|- *conts.html (chapter contents)
| |
| |- GENINT -|- *.html (general introductory material)
| |
| |- INDEXES -|- GAMS -|- gams.html (GAMS index)
| | | |- *.html (GAMS files)
| | |
| | |- KWIC -|- kwic.html (KWIC index)
| | |- *.html (KWIC files)
| |
| |- styles -|- libdoc.css (main CSS stylesheet)
|
|- pdf -|- FRONTMATTER -|- manconts.pdf (NAG copyright and main
| | | pdf page)
| | |- foreword.pdf
| |
| |- [A00-X05] -|- *conts.pdf (chapter contents)
| | |- *intro.pdf (chapter introduction)
| | |- *f.pdf (routine documents)
| |
| |- GENINT -|- *.pdf (general introductory material)
| |
| |- INDEXES -|- *.pdf (bookmarked file containing links
| | to kwic.xml and gams.xml)
| |
| |- INUNs -|- usersnote.pdf (implementation specific note)
|
|- xhtml -|- FRONTMATTER -|- manconts.xml (main XHTML index)
| |- *.xml (foreword & copyright)
|
|- [A00-X05] -|- *conts.xml (chapter contents)
|
|- figures -|- *.png (figures and plotfiles)
|
|- GENINT -|- *.xml (general introductory material)
|
|- INDEXES -|- GAMS -|- gams.xml (GAMS index)
| | |- *.xml (GAMS files)
| |
| |- KWIC -|- kwic.xml (KWIC index)
| |- *.xml (KWIC files)
|
|- styles -|- libdoc.css (main CSS stylesheet)
The files require approximately the following disk space:
Library software:
libnag_nag.a: 25MB
libnag_nag.so: 15MB
libnag_acml.a: 24MB
libnag_acml.so: 15MB
NAG interface blocks: 6MB
ACML libraries: 25MB
example-program material: 16MB
scripts: 20KB
implementation-specific documentation: 64KB
Library Manual: 310MB
If you have downloaded the Library materials from our web site as a tar gzip file (fll3a22dfl.tgz), cd to the directory where the file is located and extract the installation materials using the following commands:
gunzip fll3a22dfl.tgz tar xvf fll3a22dfl.tarThis will extract the files install.sh, fl22.tar, in.html and un.html.
If you have downloaded the Library Manual as a tar gzip file (mk22_doc.tgz) run the command
gunzip mk22_doc.tgzto extract the file mk22_doc.tar.
Then follow one of the sets of instructions below to complete the installation.
./install.shBy default, the materials will be installed in /opt/NAG/ or /usr/local/NAG/ depending on your system. You may choose a different location. In this document we refer to the directory /opt/NAG/fll3a22dfl or /usr/local/NAG/fll3a22dfl as [INSTALL_DIR]. This convention is also used in the Users' Note (un.html).
The directory [INSTALL_DIR]/scripts contains one or more scripts to show how to use the libraries provided with this implementation. See Users' Note, Example Programs. Subsequent to the installation, if you move the library to some other location then these scripts must be changed to reflect that fact.
Each library is provided in both static and shareable format. You also have a choice of libraries; self contained libraries which use NAG supplied BLAS and LAPACK or libraries which require the use of vendor supplied BLAS and LAPACK.
To simplify access to the libraries you may wish to create symbolic links in a system location such as /usr/lib pointing at the installed libraries. They would then be in the default search path of the linker during the link phase, and be available for execution at run time (in the case of shareable libraries). Note that if both the static and shareable version of a library are placed in a directory then the shareable version is usually used by default.
The NAG Fortran Library interface blocks define the type and arguments of each user callable NAG Fortran Library routine. These are not essential to calling the NAG Fortran Library from Fortran programs. Their purpose is to allow the Fortran compiler to check that NAG Fortran Library routines are called correctly.
The interface block files (nag_interface_blocks/*) are supplied in both source form and pre-compiled module form. (The source form is only required if the precompiled form is incompatible with the compiler in use.)
The -Ipathname option should then be specified on each compiler invocation (where pathname is [INSTALL_DIR]/nag_interface_blocks) to tell the compiler where to find the modules (see Users' Note, Interface Blocks).
The install script can install the Library Manual in the same location as the NAG Library material or at some other location of your choice.
You may wish to move the Library Manual to the same location as that for other NAG products. You are encouraged to make it readily available to users.
The libraries can be installed manually by following the instructions below:
Move to the directory where you wish to install the product and use the tar utility to extract the materials, e.g.
tar xvf /cdrom/fl22.tarif you are installing from a CD and the CD-ROM has been mounted as /cdrom, or
tar xvf /full path to download directory/fl22.tarif you downloaded the installation from our web site.
Each library is provided in both static and shareable format. You also have a choice of libraries; self contained libraries which use NAG supplied BLAS and LAPACK or libraries which require the use of vendor supplied BLAS and LAPACK.
To simplify access to the libraries you may wish to create symbolic links in a system location such as /usr/lib pointing at the installed libraries. Then they would be in the default search path of the linker during the link phase, and be available for execution at run time (in the case of shareable libraries). Note that if both the static and shareable version of a library are placed in a directory then the shareable version is usually used by default.
The NAG Fortran Library interface blocks define the type and arguments of each user callable NAG Fortran Library routine. These are not essential to calling the NAG Fortran Library from Fortran programs. Their purpose is to allow the Fortran compiler to check that NAG Fortran Library routines are called correctly.
The interface block files (nag_interface_blocks/*) are supplied in both source form and pre-compiled module form. (The source form is only required if the precompiled form is incompatible with the compiler in use.)
The -Ipathname option should then be specified on each compiler invocation (where pathname is [INSTALL_DIR]/nag_interface_blocks) to tell the compiler where to find the modules (see Users' Note, Interface Blocks).
The directory [INSTALL_DIR]/scripts contains one or more scripts to show how to use the libraries provided with this implementation. These scripts refer to the local directory containing the example programs. The files should be copied to (for example) /usr/local/bin, modified to reflect the local installation, and their protection set to world execute.
To install the Library Manual, move to the directory where you wish to install it and use the tar utility, e.g.
tar xvf /cdrom/mk22_doc.tarif you are installing from a CD and the CD-ROM has been mounted as /cdrom, or
tar xvf /full path to download directory/mk22_doc.tarif you downloaded the installation from our web site.
You may wish to move the Library Manual to the same location as that for other NAG products. You are encouraged to make it readily available to users.
In order to enable the software, NAG will issue you with a license key. The license key is a simple text file containing details of the software that will be enabled.
To request a license key, run the program khostid located in the license/bin/linux/ subdirectory of the software distribution. This utility must be run from a command prompt. Return the information that it displays by e-mail (or FAX) to NAG.
A short term (demonstration or trial) license key contains one or more lines like the following:
FLL3A22DFL TRIAL 2005/11/12 "EMnxidA3oeoj0F1Yvi5ibxPjB7"Specifically, it has a line containing the word TRIAL and is referred to here as an uncounted license key. Longer term uncounted license keys must be locked to a specific computer, i.e. they will enable the software on one computer only. These license keys include the word NODE instead of the word TRIAL above. Other types of keys may also be issued.
Once you have obtained the license key, store the text of it in a file, say [INSTALL_DIR]/license.lic.
For an uncounted license, the location of the license file must be made known to the NAG application by setting the environment variable NAG_KUSARI_FILE to the full pathname of the file before the application is invoked.
For example, in the C-shell, type:
setenv NAG_KUSARI_FILE [INSTALL_DIR]/license.licor in the Bourne shell, type:
NAG_KUSARI_FILE=[INSTALL_DIR]/license.lic export NAG_KUSARI_FILENo other actions are required to install an uncounted license.
Further details about Kusari and how it may be configured to suit your local circumstances are included in the Kusari Licence Management User Guide.
The following material should also be made accessible to users:
documentation files:
The nagdoc_fl22 directory contains the Library Manual. This should be made available to users.
compiled libraries:
libnag_nag.a libnag_nag.so libnag_acml.a libnag_acml.so ACML libraries supplied by NAGinterface block files:
nag_interface_blocks/*example program material:
examples/source/??????e.f examples/data/??????e.d examples/results/??????e.r scripts/nag_example*
Note that the example material has been adapted, if necessary, from that published in the Library Manual, so that programs are suitable for execution with this implementation with no further changes (but see Section 3.3 of the Users' Note for comments about possible differences in results obtained). Making the example material directly available to users provides them with easily adaptable templates for their own problems.
The NAG Response Centres are available for general enquiries from all users and also for technical queries from sites with an annually licensed product or support service.
The Response Centres are open during office hours, but contact is possible by fax, email and phone (answering machine) at all times.
When contacting a Response Centre, it helps us deal with your enquiry quickly if you can quote your NAG site reference and NAG product code (in this case FLL3A22DFL).
The NAG websites provide information about implementation availability, descriptions of products, downloadable software, product documentation and technical reports. The NAG websites can be accessed at the following URLs:
http://www.nag.co.uk/, http://www.nag.com/ or http://www.nag-j.co.jp/
NAG Ltd Wilkinson House Jordan Hill Road OXFORD OX2 8DR NAG Ltd Response Centre United Kingdom email: support@nag.co.uk Tel: +44 (0)1865 511245 Tel: +44 (0)1865 311744 Fax: +44 (0)1865 310139 Fax: +44 (0)1865 310139 NAG Inc 801 Warrenville Road Suite 185 Lisle, IL 60532-4332 NAG Inc Response Center USA email: support@nag.com Tel: +1 630 971 2337 Tel: +1 630 971 2337 Fax: +1 630 971 2706 Fax: +1 630 971 2706 Nihon NAG KK Hatchobori Frontier Building 2F 4-9-9 Hatchobori Chuo-ku Tokyo 104-0032 Japan email: help@nag-j.co.jp Tel: +81 (0)3 5542 6311 Fax: +81 (0)3 5542 6312