Your attention is drawn to the terms and conditions of the Software Licence regarding the use of NAG software. Any request to use this software other than on the licensed computer must be referred to NAG, as should requests for information about the availability of other implementations.
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: AMD64 systems operating system: Linux Fortran compiler: NAGWare f95 v4.2 or compatible C compiler: gcc v3.3 or compatible
The NAG libraries provided in this implementation use the Basic Linear Algebra Subprograms (BLAS) and linear algebra routines (LAPACK) in the AMD Core Math Library (ACML). Specifically, the version of ACML for the GNU g77 compiler is required. To use this version of ACML, the g77 runtime library (libg2c.a/libg2c.so) must also be installed. Version 1.0.3 of ACML for GNU g77 is included with this NAG Library implementation. Later releases of ACML may be available at www.amd.com. (Refer to the Chapter Introductions for F06, F07 and F08 in the NAG Fortran Library Manual for more information about the BLAS and LAPACK.)
This implementation was produced at NAG Ltd., Oxford on the computing system detailed below:
hardware: AMD Opteron MP operating system: SuSE Linux 8.1 Fortran compiler: NAGWare f95 Release 4.2(528) compiler options: -64 -PIC -f77 -dusty -dcfuns -u -ieee=full -w=uda -w=ulv -w=x77 -w=obs -nan -thread_safe C compiler: gcc v3.3-hammer 20030205 (prerelease)
The entire NAG Fortran Library, Mark 20, was compiled with optimization
(
C06NXS (-O2) D01EAZ (-O0) D01FCF (-O0) D02TGZ (-O2) E01SBY (-O2) E04NKQ (-O0) E04UHV (-O0) E54NKQ (-O0) E54UHV (-O0) F01ACZ (-O2) G03CAX (-O2) G10CAQ (-O2) G13AUF (-O2)
The following shows the directory/file organization of the library materials as they will be installed.
|-- in.html |-- un.html |-- doc --|-- nag_fl_un.3 | |-- blas_lapack_to_nag | |-- nag_to_blas_lapack | |-- lib --|-- libnag.a | |-- libnag.so | |-- acml --|-- acmlversion.c | |-- libacml.a | |-- libacml.so fll6a20d9l--| |-- interface_blocks --|-- *.mod | | |-- source ---|-- ??????e.f |-- examples --|-- data -----|-- ??????e.d | |-- results --|-- ??????e.r | |-- scripts ---|-- * | |-- bin --|-- * | | |-- bin ------|-- * (directories of FLEXlm binaries | | for supported platforms) |-- license ---|-- README.TXT | |-- htmlman --|-- flexuser --|-- * (End User Guide)
The following shows the directory/file organization of the PDF documentation materials as they will be installed.
Manual --|-- html --|-- mark20.html | | | |-- frontmatter --|-- foreword.html | |-- genint -------|-- *.html | |-- images -------|-- *.* | |-- indexes ------|-- *.* | |-- toc ----------|-- *.html | |-- libdoc.css | |-- pdf ---|-- * ------------|-- *.pdf
compiled libraries: libnag.a: 22 Mb libnag.so: 16 Mb interface blocks: 801 Kb example program material: 14 Mb scripts: 36 Kb library documentation files: 64 Kb PDF documentation files: 105 Mb licensing materials: 37 Mb acml: 20 Mb bin: 448 Kb
To install all material use the Unix tar utility, e.g.
tar xvf /cdrom/fl20.tar(assuming the CD-ROM has been mounted as /cdrom).
If the version 1.0.3 or later of ACML is available elsewhere on your system, then you may delete acml/*.
Symbolic links to the static (.a) and dynamic (.so) libraries should be a created in a directory, such as /usr/lib64, in the default search path of the linker, if possible, so that linkage is convenient.
The script nagexample refers to the local directory containing the example programs. The script should be copied to (for example) /usr/local/bin, modified to reflect the local installation, and its protection set to world execute.
The man page, which directs users to the HTML form of the Users' Note, should be modified to reflect the local installation, and moved to a directory in the man search path, e.g.
cd doc mv nag_fl_un.3 /usr/local/man/man3The 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 90/95 programs. Their purpose is to allow the Fortran 90/95 compiler to check that NAG Fortran Library routines are called correctly.
The interface block files (interface_blocks/*.mod) are supplied in pre-compiled module form. They should be moved to a suitable location so that access is convenient, e.g.
mkdir /usr/local/lib/fl77_modules mv interface_blocks/* /usr/local/lib/fl77_modules
The
The use of the NAG Fortran Library is controlled by the FLEXlm network license management system (FLEXlm is a registered trademark of Macrovision Corporation). This release of the NAG Fortran Library uses version 9.2 of FLEXlm.
In order to enable the software, NAG will issue you with a license key. The license key is a simple text file (usually called license.dat), containing details of the software that will be enabled.
A short term (demonstration or trial) license key contains one or more lines like the following:
FEATURE NAG_FL NAG 20.000 10-apr-2002 0 CBDA2041DC1BC45D2B68 "ANY" DEMOSpecifically, it does not have any lines starting with the word SERVER 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 FLEXlm hostid of the computer instead of the word DEMO above.
To apply for a longer term license key, contact one of the NAG Response Centres quoting the product to be licensed and the FLEXlm hostid for the computer. To obtain the FLEXlm hostid, select the appropriate lmutil program from the platform specific directory under the license/bin/ subdirectory, and run it with argument lmhostid:
./license/bin/i86_r6/lmutil lmhostid
On systems without an ethernet card, use the arguments lmhostid -long.
Once you have obtained the license key, store the text of it in a file, say /usr/local/lib/nag/license.dat.
The location of this file must be made known to the NAG application by setting the environment variable LM_LICENSE_FILE to the full pathname of the file before the application is invoked. The application must also be able to refer to the location of the installed NAG library materials, using the environment variable NAGLIBDIR.
For example, in the C-shell, type:
setenv LM_LICENSE_FILE /usr/local/lib/nag/license.dat setenv NAGLIBDIR /opt/NAG/fll6a20d9lor in the Bourne shell, type:
LM_LICENSE_FILE=/usr/local/lib/nag/license.dat NAGLIBDIR=/opt/NAG/fll6a20d9l export LM_LICENSE_FILE NAGLIBDIRIf an invalid licence has been used when attempting to run an application linked with the NAG library, it may be necessary to run the command "$NAGLIBDIR/bin/holdNAGlics -stop" before a valid licence can be recognised.
No other actions are required to install an uncounted license.
Further details about FLEXlm and how it may be configured to suit your local circumstances are included in the FLEXlm End Users Guide supplied in the license/htmlman/flexuser/ subdirectory.
tar xvf /cdrom/pdf.tar(assuming the CD-ROM has been mounted as /cdrom).
You may wish to move the PDF documentation files to the same location as that for other NAG products. You are encouraged to make them readily available to users, but in such a way that they are not generally accessible from outside your site. Further information is contained in the readme file on the distribution medium.
The following material should also be made accessible to users:
documentation files:
The NAGdoc directory contains the online documentation. This should be made available to users, in addition to the following:
doc/blas_lapack_to_nag doc/nag_to_blas_lapack bin/holdNAGlicslibraries - one or more of: compiled library:
libnag.a libnag.sointerface block files:
interface_blocks/*.modexample program material:
examples/source/??????e.f examples/data/??????e.d examples/results/??????e.r scripts/nagexample
Note that the example material has been adapted, if necessary, from that published in the NAG Fortran Library Manual, so that programs are suitable for execution with this implementation with no further changes (but see Section 4.4.2 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 "example programs" for the routines in the F06 chapter are not typical example programs and they are not in the Library Manual. They are test programs, which are supplied to sites for use in an installation test of the Library. Some of them take much longer to run than other example programs. Routines which are equivalent to BLAS, are tested twice: once when called by their NAG F06 names, and once when called by their BLAS names.
Online documentation is bundled with this implementation. Please see Section 4.2.
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 FLL6A20D9L).
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
http://www.nag.co.uk/, http://www.nag.com/ (in North America) or http://www.nag-j.co.jp/ (in Japan)
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 1431 Opus Place, Suite 220 Downers Grove IL 60515-1362 NAG Inc Response Center USA email: infodesk@nag.com Tel: +1 630 971 2337 Tel: +1 630 971 2345 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