HP MLIB for PA-RISC and Itanium HP-UX Version 9.5.6 Release Note
HP MLIB for PA-RISC and Itanium HP-UX Version 9.5.6 Release Note
Compatibility Information
23
For ScaLAPACK or SuperLU_DIST use the -lscalapack or the -lsuperlu_dist option
on the compiler command line that links your program:
% mpif90
[options] file
...[–lscalapack|-lsuperlu_dist]
% mpicc
[options] file
...[–lscalapack|-lsuperlu_dist] -lcl -lm
% mpiCC
[options] file
...[–lscalapack|-lsuperlu_dist] -lcl -lm
• When you use the VECLIB8, VECLIBSC8, LAPACK8, LAPACKSC8, SOLVERS8,
VMATH8, ScaLAPACK8, and SuperLU_DIST8 libraries:
— Compile and link with the +DA2.0W option to specify memory addresses are 64-bit
values on PA-based systems.
— Compile Fortran applications with the +i8, +autodbl, or +autodbl4 option where:
— +i8 promotes 4-byte integer or logical constants, intrinsics, and user variables
(declared as integer or logical) to 8-byte quantities.
— +autodbl promotes all integer, logical, and real items to 8 bytes, and all
double-precision and complex items to 16 bytes.
— +autodbl4 promotes all integer, logical, and real items to 8 bytes, and complex
items to 16 bytes. The +autodbl4 option does not promote the size of
double-precision and double-complex items.
Link ScaLAPACK8 and SuperLU_DIST8 libraries using mpif90. The HP-MPI Fortran
compiler automatically links additional supporting objects for 8-byte integers when any of
the command line options +i8, +r8, +autodbl4, or +autodbl are detected. If mpicc or
mpiCC is used for linking, the additional objects must be specified as described in the
following examples.
For VECLIB8, VECLIBSC8, LAPACK8, LAPACKSC8, SOLVERS8, and VMATH8:
On PA-based systems:
% f90 +DA2.0W +i8
[options] file
... –Wl,–aarchive_shared [-lveclib8|
-lveclibsc8|-llapack8|-llapacksc8|-lsolvers8|-lvmath8]
% cc +DA2.0W
[options] file
... –Wl,–aarchive_shared [-lveclib8|
-lveclibsc8|-llapack8|-llapacksc8|-lsolvers8|-lvmath8] -lcl -lm
% aCC +DA2.0W
[options] file
... –Wl,–aarchive_shared [-lveclib8|
-lveclibsc8|-llapack8|-llapacksc8|-lsolvers8|-lvmath8] -lcl -lm
For ScaLAPACK8 and SuperLU_DIST8:
On PA-based systems: