SERC

SERC Computing Facility: Softwares

MLIB: Mathematical Software Library
version 4.0 for HPUX 10.20
HP MLIB is a package of high-performance mathematical software in the form of subroutine libraries. The MLIB product is designed for use by software engineers who develop, convert, or optimize engineering or scientific programs that rely heavily on computational kernels such as the Basic Linear Algebra Subprograms, linear algebra computations such as solving linear equations or eigenvalue problems, discrete Fourier transforms, or convolutions. Using MLIB will save you the effort of developing, testing, or optimizing these algorithms. Although MLIB is specifically optimized for each system type but is usage-compatible, promoting portability while retaining efficiency across HP's different workstation and server lines.
Three libraries are available in this release of HP MLIB:
VECLIB (libveclib.a)
SCILIB (libscilib.a)
LAPACK (liblapack.a)
In which systems is MLIB available ?
 
All HP machines with hostnames starting with hpc2_* hosted in SERC
terminal bays.
  Software PATH:
/opt/mlib/lib/pa2.0
How to use MLIB?
 
HP MLIB subprograms must be loaded by the Fortran 77 or Fortran 90
compiler, and the resulting executable must be executed under the HP-UX
10.20 operating system.

There are several ways to specify to link your program with VECLIB,
SCILIB, or LAPACK:

1. specify the entire path of the library file on the f77 or f90 command
line that links your program. For example, to use VECLIB with the
f77 compiler on a C-Class PA-8000 system, use

f77 [options] file /opt/mlib/lib/pa2.0/libveclib.a

2. use the -l option on the f77 or f90 command line that links your
program, preceded by the option -Wl,-L<path>, where <path> is the
path to the installation directory. For example, the above f77
command line could be written as:

f77 [options] file -Wl,-L/opt/mlib/lib/pa2.0 -lveclib

3. set the LDOPTS environment variable to include -L<path>, and use the
-l option on the f77 or f90 command line that links your program.
For example, with the f90 compiler, use


f90 [options] file -lveclib

   
Where do I get help ?
 
HP MLIB V4.0 documents is available at the following locations:
Release Notice for this version available at
/opt/mlib/newconfig/RelNotes/mlib.4.0
HP MLIB VECLIB User's Guide
HP MLIB SCILIB User's Guide
HP MLIB LAPACK User's Guide
  Above three documents available at
  Online Help
The MLIB Man Pages
  MANPATH = /opt/mlib/share/man

man mlib
man 3m veclib
man 3m lapack
man 3m scilib

For latest updates on mlib, veclib, lapack and scilib lookup link:

http://www.hp.com/go/mlib

For further assistance, please contact HelpDesk@SERC by E-mail or phone (#444 within SERC).