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.
FIO/RIO FORTRAN file I/O routines