HP MLIB User's Guide Vol. 1 7th Ed.

Chapter 1 Introduction to VECLIB 5
Accessing VECLIB
Only 64-bit addressing is supported in the VECLIB8 library.
The file name of the archive VECLIB and VECLIB8 libraries are libveclib.a
and libveclib8.a respectively. The VECLIB shared library for PA is libveclib.sl
and is libveclib.so for all other operating systems.
Performance of your applications is better when you use archive libraries.
However, if you need to keep executable files to a minimum size, you can use
shared libraries. See “Linking with libisamstub.a” on page 8 if your application
calls Fortran77 routines from C language code, and you are linking with the
VECLIB archive library.
The HP VECLIB library contains parallelized subprograms. Refer to Appendix
C, “Parallelized Subprograms,” for details. If your program is run on an HP-UX
system with multiple processors, see “Parallel processing” on page 17 for
additional information about linking your program.
Compiling and linking (VECLIB)
There are several ways to link your program with the version of VECLIB tuned
for the machine on which the program runs. By default, the lveclib option on
the f90, cc, or c89 command line that links your program selects the library that
corresponds to 32-bit addressing on the machine on which you link.
cc is the HP C compiler and c89 is the HP POSIX-conforming C compiler. The
remainder of this book refers to the cc and f90 compilers. cc and f90 examples
also apply to c89.
Itanium 2
HP XC6000
Intel V7.1
Compiler
64-bit /opt/mlib/intel_7.1/hpmpi_2.1/lib/64
libveclib.a
libveclib.so
libveclib8.a
libveclib8.so
Itanium 2
HP XC4000
PGI V5.1
Compiler
64-bit /opt/mlib/intel_5.1/hpmpi_2.1/lib/64
libveclib.a
libveclib.so
libveclib8.a
libveclib8.so
Itanium 2
Opteron
PGI V5.1
Compiler
64-bit /opt/mlib/intel_5.1/hpmpi_2.1/lib/64
libveclib.a
libveclib.so
libveclib8.a
libveclib8.so
Processor
Type
OS
Version
Address
Width
Installation Directory Libraries