The table shows the libraries installed with the compilers.
Table 4-1 Major Libraries Provided With the Compilers
Library |
Name |
Options Needed |
f77 functions, nonmath |
libF77 |
None |
f77 functions, nonmath, multithread safe |
libF77_mt |
-parallel |
f77 math library |
libM77 |
None |
f90 support intrinsics |
libfsu |
None |
f90 interface |
libfui |
None |
f90 array intrinsics libraries |
libf*ai |
None |
f90/f77 I/O compatibility library |
libf77compat |
-lf77compat |
VMS library |
libV77 |
-lV77 |
Library used with Pascal, Fortran, and C |
libpfc |
None |
Library of Sun math functions |
libsunmath |
None |
POSIX bindings |
libFposix |
-lFposix |
f90 POSIX interface |
libposix9 |
-lposix9 |
POSIX bindings for extra runtime checking |
libFposix_c |
-lFposix_c |
See also the math_libraries README file for more information.
The libV77 library is the VMS library, which contains two special VMS routines, idate and time.
To use either of these routines, include the -lV77 option.
For idate and time, there is a conflict between the VMS version and the version that traditionally is available in UNIX environments. If you use the -lV77 option, you get the VMS compatible versions of the idate and time routines.
See the Fortran Library Reference Manual and the FORTRAN 77 Language Reference Manual for details on these routines.
There are two versions of POSIX bindings provided with FORTRAN 77:
libFposix, which is just the bindings (-lFposix)
libFposix_c, which does some runtime checking to make sure you are passing correct handles (-lFposix_c)
If you pass bad handles:
libFposix_c returns an error code (ENOHANDLE).
libFposix core dumps with a segmentation fault.
Of course, the checking is time-consuming, and libFposix_c is several times slower.
Both POSIX libraries come in static and dynamic forms.
The POSIX bindings provided are for IEEE Standard 1003.9-1992.
IEEE 1003.9 is a binding of 1003.1-1990 to FORTRAN (X3.8-1978).
For more information, see these POSIX.1 documents:
ISO/IEC 9945-1:1990
IEEE Standard 1003.1-1990
IEEE Order number SH13680
IEEE CS Catalog number 1019
To find out precisely what POSIX is, you need both the 1003.9 and the POSIX.1 documents.
The POSIX library for f90 is libposix9.