MHPCC

SP Parallel Programming Workshop
Parallel Math Libraries


© Copyright Statement

Table of Contents
  1. Prerequisites

  2. Overview

  3. Linear Algebra for Dense Systems
    1. The BLAS and LAPACK
    2. ScaLAPACK, the BLACS and the PBLAS

  4. Sparse Linear Algebra
    1. The Sparse BLAS
    2. The PIM Library

  5. Other Parallel Libraries
    1. PESSL
    2. NAG PVM Library
    3. PETSc

  6. Parallel Libraries at the MHPCC

  7. Example Programs

  8. References, Acknowledgments, WWW Resources

Prerequisites


Overview



Linear Algebra for Dense Systems:
The BLAS and LAPACK



BLAS
Level
BLAS routine Ops Mem Refs Ratio
1 SAXPY
z=ax+y
2n 3n 2:3
2 SGEMV
z=aAx+by
2n**2 n**2 2:1
3 SGEMM
D=aAB+bC
2n**3 4n**2 n:2




Linear Algebra for Dense Systems:
The BLACS, the PBLAS and ScaLAPACK



BLACS (Basic Linear Algebra Communication Subroutines) - set of kernel communication routines for message passing parallel linear algebra routines with the added purposes:


PBLAS (Parallel Basic Linear Algebra Subprograms)


Sparse Linear Algebra:
The Sparse BLAS


The sparse BLAS are extensions to the BLAS

A set of sparse BLAS and a model implementation have recently been defined, no libraries based on them are yet available.


Sparse Linear Algebra:
The PIM Library


PIM (Parallel Iterative Methods) is a library of FORTRAN 77 routines to solve systems of linear equations on parallel machines using iterative techniques.

Main goals:

Mechanism to achieve goals: hide details of the following operations (user supplies the routines)

PIM components:


Other Parallel Libraries:
PESSL


PESSL (Parallel Engineering and Scientific Subroutine Library) is IBM's parallel analogue of its serial library ESSL.

PESSL components:


Other Parallel Libraries:
NAG PVM Library


The NAG Numerical PVM Library is the parallel analogue of the NAG Fortran Library.

NAG library components:


Other Parallel Libraries:
PETSc


PETSc (Portable, Extensible Toolkit for Scientific computation)is for both uni- and parallel-processor scientific computing:

PETSc components:


Parallel Libraries at the MHPCC


General guidelines:

Where they are: Documentation:

Example Programs


LU Factor and Solve

DESCRIPTION:

These programs demonstrate the use of the LU factor and solve routines to solve a dense system of linear equations. A serial example calling the routines from LAPACK is given together with a parallel example that using the ScaLAPACK library routines. The programs are written in Fortran 90.

FILES:


References, Acknowledgments, WWW Resources


Additional Information on the WWW

References and Acknowledgments


© Copyright 1995 Maui High Performance Computing Center. All rights reserved.

Documents located on the Maui High Performance Computing Center's WWW server are copyrighted by the MHPCC. Educational institutions are encouraged to reproduce and distribute these materials for educational use as long as credit and notification are provided. Please retain this copyright notice and include this statement with any copies that you make. Also, the MHPCC requests that you send notification of their use to help@mail.mhpcc.edu.

Commercial use of these materials is prohibited without prior written permission.

Revised: 03 July 1996 blaise@mhpcc.edu