5. NAg Fortran 90 Library (Release 3) on Windows 32

This library is designed for use with the NAg F90 compiler but is compatible also with the Salford FTN90 compiler.

Here at UMIST we have this Salford compiler (in M:\program files\salford); we do not have the NAg compiler.

Initial testing indicates that the Salford FTN95 compiler is not compatible with these libraries; NAg confirm that the Salford FTN95 compiler is NOT compatible with these libraries.

5.1. Available Compiled Libraries

The following compiled libraries are provided:

5.2. A Simple Example of Compilation, Static Linking and Execution

...with the Salford FTN90 compiler (remember, this library is not compatible with the Salford FTN95 compiler). This example assumes you are working from a command line (cmd.exe). It is based on one of the examples supplied with this NAg library; a statically-linked executable is produced.

First add the Salford directory to your path so that Windows can find the FTN90 compiler and its libraries. To this you can use the batch-file FTN90VAR.BAT. So type
   "M:\PROGRAM FILES\SALFORD\FTN90VAR" 

Next
   COPY M:\NAG\FNW3203D9\EXAMPLES\DATA\NAG_FFT_EX01.DAT 
  COPY M:\NAG\FNW3203D9\EXAMPLES\SOURCE\NAG_FFT_EX01.F90 

Compile:
  FTN90 /MOD_PATH M:\NAG\FNW3203D9\NAG_MOD_DIR NAG_FFT_EX01.F90

Link:
  ECHO LOAD NAG_FFT_EX01.OBJ > SLINK.LST
  ECHO LOAD M:\NAG\FNW3203D9\LIBNAGFL90.LIB >> SLINK.LST
  ECHO FILE NAG_FTT_EX01.EXE >> SLINK.LST

  SLINK SLINK.LST

Run:
  NAG_FFT_EX01 > NAG_FFT_EX01.RES
This may seem long-winded but may be automated by means of a batch file.

5.3. A Simple Example of Compilation, Dynamic Linking And Running

Exactly as above except replace LIBNAGFL90.LIB with LIBNAGFL90.DLL.

5.4. Example Programme Material

As part of the installation there is an example programme for each routine; these may be found in:

Scripts to aid in the use of these examples are provided: For example typing
     BATCH\NAGEX c06eaf
will copy the example programme and any associated input data file to the current directory, compile the programme and link it (showing you the commands used), and finally execute the resulting object. This script uses the Salford FTN90 compiler and builds a statically-linked executable. For a dynamically-linked executable type
    BATCH\NAGEXDLL c06eaf
(this uses the FTN90 compiler).

5.5. Available Further Documentation


5.5.1. On-Line Documentation: The NAg Website

NAg have a web site at www.nag.co.uk. Documentation for the F90 library is available there.


5.5.2. On-Line Documentation: At Umist

This documentation is available at on-line.


5.5.3. Hard-Copy Documentation


5.5.4. On-disk Documentation

Whilst there is no available on-disk or on-line routine-by-routine documentation as yet for the Fortran 90 library, there is a certain amount of on-disk documentation of a general nature. This can be found on Cosmos at:
    doc\FN03_index.html

All non-absolute paths quoted below are relative (on the Novell network) to:
     M:\NAG\NAGFN03D9

Users' Note
There is a users' note in
     doc\un 
This is essential reading for every user of the NAg FL90.


Essential Introduction
This document is a summary of the essential features of the design of the NAG Fortran 90 Library. It assumes that you are famiiar with Fortran 90. If you want a more informal and expansive introduction to the Library, or are unfamiliar with Fortran 90, then refer to the tutorial...


Tutorial
This tutorial describes those aspects of the Fortran 90 language that are important when calling NAG fl90 procedures. It also explains any relevant conventions that have been adopted in the design and documentation of the Library.

It is not a self-contained introduction to Fortran 90; it assumes that you already have some general knowledge of the language.


Conversion from the NAG Fortran 77 Library
This document offers guidance to users who are familiar with the NAG Fortran 77 Library and who now wish to use the NAG Fortran 90 Library, especially users who have Fortran 77 programs which call NAG Fortran 77 Library routines and who wish to convert such programs to Fortran 90 and to call NAG Fortran 90 library procedures.


List of Contents
A list of all the routines available in the Fortran 90 library and, an indication of what they do. For more details see the printed documentation.


Future Developments
A brief indication of routines which will be available in the next release.


Release 3 News
A brief indication of the routines available in this release which were not available in the previous release (Release 2).


...previousup (conts)next...



About this document:

Produced from the SGML: /home/isd/public_html/_nag/_reml_grp/nag.reml
On: 25/7/2002 at 9:59:25
Options: reml2 -i noindex -l long -o html -p multiple