Rate This Document
Findability
Accuracy
Completeness
Readability

Migrating a Library for Linear Algebra Operations (SCALAPACK)

Replaceability

Table 1 describes the mapping between alternative interfaces and Fortran interfaces of MKL_SCALAPACK. Only optimized interfaces are provided.

Table 1 Replacement mapping of SCALAPACK

MKL Interface

KML Interface

Data Type

Description

p?getrf

p?getrf

s, d, c, z

Computes the LU factorization of matrix A, allowing partial pivoting.

p?potrf

p?potrf

s, d, c, z

Computes the Cholesky decomposition of a symmetric positive definite matrix or Hermitian positive definite matrix.

p?geqrf

p?geqrf

s, d, c, z

Computes the QR factorization of a matrix, that is, .

p?gels

p?gels

s, d, c, z

Solves an overdetermined or underdetermined real linear system involving full-rank matrix A or its transpose by using QR factorization or LQ factorization of matrix A.

Migrating the C-based Library

  1. MKL_SCALAPACK provides the Fortran and SCALAPACK (encapsulated in the C language) interfaces. The Fortran interfaces provided by KML_SCALAPACK are the same as those provided by MKL. When the C language is used, replace the header file #include "mkl.h" with #include "kscalapack.h".

Migrating the Fortran-based Library

The Fortran interfaces are the same as those of MKL. The code does not need to be modified.