HP MLIB for Itanium Linux Version 9.6 Release Note
Table Of Contents
- Announcement
- What’s in This Version
- Known Problems and Workarounds
- Fortran I/O dependencies in SOLVERS library
- Default OpenMP library stack is too small for MLIB
- Incorrect math library link order for the Intel Fortran compiler
- Dealing with Underscore Compatibility and Duplicated Symbols
- User and Library Subprogram Name Conflicts
- Work length for LAPACK standard eigensolver routine ZHEEVD
- Compatibility Information
- Installation Requirements
- Software Availability in Native Languages
- Associated Documentation
- Support Information

HP MLIB for Itanium Linux Version 9.6 Release Note
Compatibility Information
HP MLIB for Itanium Linux Version 9.6 Release Note 19
Compatibility Information
Compiling and Linking
This section outlines compiling and linking information for MLIB libraries.
HP MLIB 9.6 can be used as archive or shared libraries.
•Use the -Bstatic flag on your compiler command line to link with archive libraries.
•Use the -Bdynamic flag to link with shared libraries.
The following command line examples demonstrate how to compile and link your programs
for use with MLIB libraries:
NOTE Unlike other MLIB libraries, executable files using the ScaLAPACK library
and the SuperLU_DIST library must be linked using mpif90, mpicc or mpiCC,
instead of the Intel Fortran or C compilers.
On the Intel V8.1 or V9.1 compiler
• You can use the following compile line commands to link VECLIB on the Intel V8.1 or
V9.1 compiler for Fortran.
% ifort [options] file ... -L/opt/mlib/[intel_8.1|intel_9.1]/hpmpi_2.2/
lib/64 -lveclib -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 -lveclib -openmp
If you want to link LAPACK, replace -lveclib with -llapack.
If you want to link SOLVERS, replace -lveclib with -lsolvers.
NOTE When you use the Intel C compiler to link the SOLVERS library, you may
require one or more of -lifcore, -lifport, or -ldl.
If you want to link VMATH, replace -lveclib with -lvmath.