HP MLIB for Itanium Linux Version 9.6.1 Release Note
HP MLIB for Itanium Linux Version 9.6.1 Release Note
Compatibility Information
HP MLIB for Itanium Linux Version 9.6.1 Release Note 21
If your program uses subprograms from both ScaLAPACK and SuperLU_DIST, specify
both libscalapack.a and libsuperlu_dist.a on the compiler command line.
• The following command line examples show how to compile and link your programs for
use with the VECLIB8 libraries:
For the Intel V8.1 or V9.1 compiler for Fortran:
% ifort -i8 [options] file ... -L/opt/mlib/[intel_8.1|intel_9.1]/
hpmpi_2.2/lib/64 -lveclib8 -openmp
For the Intel V8.1 or V9.1 compiler for C/C++:
% icc [options] file ... -L/opt/mlib/[intel_8.1|intel_9.1]/
hpmpi_2.2/lib/64 -lveclib8 -openmp
If you want to link LAPACK8, replace -lveclib8 with -llapack8.
If you want to link SOLVERS8, replace -lveclib8 with -lsolvers8.
If you want to link VMATH8, replace -lveclib8 with -lvmath8.
If you want to link VECLIBSC8, replace -lveclib8 with -lveclibsc8.
If you want to link LAPACKSC8, replace -lveclib8 with -llapacksc8.
If you want to link with shared libraries, use -lveclib8.so, -llapack8.so,
-lsolvers8.so, -lvmath8.so, -lveclibsc8.so, or -llapacksc8.so.
NOTE DO NOT mix subprograms from the two types of 64-bit address libraries
(those with 32-bit integers and those with 64-bit integers) in the same
program.
For ScaLAPACK8 with Intel V8.1 or V9.1 compilers for Fortran use:
% mpif90 -i8 [options] file ... -L/opt/mlib/[intel_8.1|intel_9.1]/
hpmpi_2.2/lib/64 -lscalapack8 -openmp
For ScaLAPACK with Intel V8.1 or V9.1 compilers for C/C++ use:
% mpicc [options] file ... -L/opt/mlib/[intel_8.1|intel_9.1]/
hpmpi_2.2/lib/64 -lscalapack8 -openmp
If you want to link SuperLU_DIST8, replace -lscalapack8 with -lsuperlu_dist8.
If your program uses subprograms from both ScaLAPACK8 and SuperLU_DIST8, specify
both -lscalapack8 and -lsuperlu_dist8 on the compiler command line.