Parallel Linear Algebra Routines

SCALAPACK is a directory of FORTRAN90 programs which demonstrate the use of the SCALAPACK linear algebra library for parallel computers.

Routines are available to solve the linear system A*x=b, or to find the matrix eigensystem, for a variety of matrix types. SCALAPACK is automatically available on many high performance computing systems such as the Cray T3E and the IBM SP-2, SP-3 and SP-4.

SCALAPACK is a parallel implementation of the block-oriented LAPACK linear algebra library>, adding the PBLACS special set of communication routines to copy blocks of data between processors as needed, and the PBLAS Parallel Basic Linear Algebra Subprograms. As with LAPACK, a single subroutine call typically carries out the requested computation.

SCALAPACK requires the the user to configure the processors and distribute the matrix data, before the problem can be solved. A beginning user may find these tasks daunting.


The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.


SCALAPACK is available in a FORTRAN90 version.

Related Data and Programs:

BLACS, FORTRAN90 programs which illustrate how to use the Basic Linear Algebra Communication Subroutines for linear algebra computations on a distributed memory machine.

LAPACK_EXAMPLES, a FORTRAN90 program which demonstrates the use of the LAPACK linear algebra library.

MPI, FORTRAN90 programs which demonstrate the use of MPI for parallel computing in distributed memory systems.

OPENMP, FORTRAN90 programs which illustrate the use of the OpenMP application program interface for carrying out parallel computations in a shared memory environment.


  1. Edward Anderson, Zhaojun Bai, Christian Bischof, Susan Blackford, James Demmel, Jack Dongarra, Jeremy DuCroz, Anne Greenbaum, Sven Hammarling, Alan McKenney, Danny Sorensen,
    LAPACK User's Guide,
    Third Edition,
    SIAM, 1999,
    ISBN: 0898714478,
    LC: QA76.73.F25L36.
  2. Susan Blackford, Jaeyoung Choi, Andrew Cleary, Eduardo D'Azevedo, James Demmel, Inderjit Dhillon, Jack Dongarra, Sven Hammarling, Greg Henry, Antoine Petitet, Ken Stanley, David Walker, Clinton Whaley,
    The ScaLAPACK User's Guide,
    SIAM, 1997,
    ISBN13: 978-0-898713-97-8.
  3. The ScaLAPACK web page.

Examples and Tests:

LAPACK_PRB is a sample program that sets up and solves a linear system using LAPACK. Files you may copy include:

SCALAPACK_PRB1 is a demonstration of the use of SCALAPACK:

SCALAPACK_PRB2 is a demonstration of the use of SCALAPACK:

You can go up one level to the FORTRAN90 source codes.

Last revised on 06 April 2008.