HP-UX Floating-Point Guide
Chapter 1 25
Introduction
Overview of HP-UX Math Libraries
Table 1-1 HP-UX Math Libraries
Math Libraries and System Architecture
At Release 11.0, HP-UX systems provide math libraries that run on two
different architectures:
• PA-RISC 1.1 (a 32-bit architecture), abbreviated PA1.1
• PA-RISC 2.0 (a 64-bit architecture), which can run in both narrow
mode (32-bit mode, abbreviated PA2.0N) and wide mode (64-bit mode,
abbreviated PA2.0W)
The HP-UX math libraries in the directory /usr/lib are 32-bit libraries
targeted to PA1.1 and PA2.0 systems. The math libraries in the directory
/usr/lib/pa20_64 are 64-bit libraries targeted to PA2.0 systems, and
run only on those systems.
The HP Fortran 90 and HP FORTRAN/9000 products supply two
versions of the BLAS library, one specially tuned for PA1.1 systems, the
other specially tuned for PA2.0 narrow mode.
Library
Name
Description Linker Option
libm C math library; ANSI C,
POSIX, XPG4.2, and SVID
specifications
-lm
libcl Fortran and Pascal library Linked in
automatically by f90,
f77, and pc
commands; use -lcl
with other compiler
commands
libblas Basic Linear Algebra
Subroutine (BLAS) library
(provided with the HP
Fortran 90 and HP
FORTRAN/9000 products
only)
-lblas