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
27
Compile and link with the +DD64 option to specify memory addresses are 64-bit values
on Itanium-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 Itanium-based systems:
% f90 +DD64 +i8
[options] file
... –Wl,–aarchive_shared [-lveclib8|
-lveclibsc8|-llapack8|-llapacksc8|-lsolvers8|-lvmath8]
% cc +DD64
[options] file
... –Wl,–aarchive_shared [-lveclib8|
-lveclibsc8|-llapack8|-llapacksc8|-lsolvers8|-lvmath8] -lcl -lm
% aCC +DD64
[options] file
... –Wl,–aarchive_shared [-lveclib8|
-lveclibsc8|-llapack8|-llapacksc8|-lsolvers8|-lvmath8] -lcl -lm
For ScaLAPACK8 and SuperLU_DIST8:
On Itanium-based systems:
% mpif90 +DD64 +i8
[options] file
... –Wl,–aarchive_shared
[-lscalapack8|-lsuperlu_dist8]
% mpicc +DD64
[options] file
... –Wl,–aarchive_shared [-lscalapack8|
-lsuperlu_dist8] /opt/mpi/lib/hpux64/hpmpautodbl_isi8.o -lcl -lm
% mpiCC +DD64W
[options] file
... –Wl,–aarchive_shared [-lscalapack8|
-lsuperlu_dist8] /opt/mpi/lib/hpux64/hpmpautodbl_isi8.o -lcl -lm
To select the shared library, either omit the -aarchive_shared flag or use the
-ashared_archive flag instead.