next up previous 204
Next: Alphabetical List of Routines
Up: Compiling and Linking
Previous: Unix

VMS

The current version of FIO/RIO is distributed as a shareable image. Before compiling a program that uses any of the FIO include files, or linking any program that uses FIO, type

$ FIO_DEV

The FIO shareable image is included in the STAR_LINK shareable image library, so the preferred method of linking basic FORTRAN programs is:

$ LINK progname,STAR_LINK/OPT

To link an ADAM program with FIO, type:

$ ALINK progname

The shareable libraries and object libraries are stored in FIO_DIR, so if you need to link explicitly with the shareable library, type:

$ LINK progname,FIO_LINK/OPT

or to link with the object library, type:

$ LINK progname,FIO_DIR:FIO/LIB

Linking with the object library is not recommended as it makes the size of executable files larger than using shareable libraries and it will require relinking programs to take advantage of bug fixes or updates.



next up previous 204
Next: Alphabetical List of Routines
Up: Compiling and Linking
Previous: Unix

FIO/RIO FORTRAN file I/O routines
Starlink User Note 143
P M Allan
A J Chipperfield
20 July 2001
E-mail:starlink@jiscmail.ac.uk

Copyright © 2000 Council for the Central Laboratory of the Research Councils