Next: Example 1
Up: Documentation Design and Program
Previous: Design of Interfaces for
  Contents
  Index
How to call an LAPACK95 Routine
Let the object code libraries associated with
the BLAS and LAPACK be libblas.a and liblapack.a, respectively.
The compilation of the LAPACK95 source code produces a library
and four modules. The library, liblapack95.a,
contains the LAPACK95 driver interface routines described in Part II.
The modules are as follows:
- la_precision.mod:
This concerns the use of single or double precision.
- f95_lapack.mod: This contains interfaces between
calls to LAPACK95 driver routines and the liblapack95.a library.
- f77_lapack.mod: This contains interfaces between
calls to LAPACK95 computational routines and the liblapack.a
library.
- la_auxmod.mod:
This contains LAPACK95 auxiliary routines
(which are not described in this Users' Guide).
The user's program must refer to the appropriate modules
via the Fortran 95 USE statement, and it must also
link to the appropriate libraries. The appropriate
choices are as follows:
- The user's program calls one or more LAPACK95 driver routines:
- Modules: la_precision.mod, f95_lapack.mod
- Libraries: liblapack95.a, liblapack.a, libblas.a
- The user's program calls one or more LAPACK95 computational routines:
- Modules: la_precision.mod, f77_lapack.mod
- Libraries: liblapack.a, libblas.a
Subsections
Next: Example 1
Up: Documentation Design and Program
Previous: Design of Interfaces for
  Contents
  Index
Susan Blackford
2001-08-19