Search
Support & Downloads
All of Support
This Category
This Product
Software Products
Intel® Math Kernel Library (Intel® MKL)
LAPACK Routines

Page Contents:


Is there a C interface to LAPACK routines like the one for the regular BLAS?
No.There is no such convenience available for the LAPACK routines. You must observe C-Fortran rules when calling LAPACK routines. For more information, see Compiling and Linking with Intel® MKL with Microsoft Visual C/C++*.

Calling LAPACK Routines from C
LAPACK is a Fortran package and C/Fortran rules must be observed. For more information, see Compiling and Linking with Intel® MKL with Microsoft Visual C/C++*.

Case Sensitivity Issue in Calling LAPACK Routines
LAPACK is a Fortran package and the Intel® MKL initial implementation made no provisions for calling these routines from C. In the BLAS, Intel MKL provides both upper case and lower case names to the routines. However, in LAPACK, all names are upper case only. If you have a utility tool like NM* or DUMPBIN* you can list the entry points in the library using "find" or "grep," searching for any particular entry point. Doing this for both dgemm and dpotrf, for instance, will show that for dgemm, both _DGEMM and _dgemm are defined, but for dpotrf, only _DPOTRF is defined. For more information on calling LAPACK routines from C Programs, see Compiling and Linking with Intel® MKL with Microsoft Visual C/C++*.

Which matrix comes first (P or Q) in making consecutive calls to SORGBR using the same matrix A in the parameter list?
When using SORGBR to extract P or Q, the original matrix holding some of the information necessary to construct P and Q is overwritten to return the P or Q requested. If both P and Q are required, the input matrix A must first be copied (to B, for example); then matrix A can be used to extract P or Q and the matrix B can be used to extract the other.

This applies to:
Intel® Math Kernel Library (Intel® MKL) for Linux*
Intel® Math Kernel Library (Intel® MKL) for Windows*
Intel® Math Kernel Library for Mac OS*

Solution ID: CS-017178
Date Created: 22-Nov-2004
Last Modified: 19-Jun-2006
Back to Top