SP Parallel Programming Workshop
p a r a l l e l     m a t h     l i b r a r i e s



  Table of Contents
  1. Overview
  2. Linear Algebra for Dense Systems
    1. The BLAS
    2. LAPACK
    3. BLACS
    4. PBLAS
    5. ScaLAPACK
  3. Sparse Linear Algebra
    1. The Sparse BLAS
    2. The PIM Library
  4. Other Parallel Libraries
    1. PESSL
    2. NAG Parallel Libraries
    3. PETSc
  5. Summary of Features
  6. Parallel Libraries at the MHPCC
  7. Example Programs
  8. References and More Information


 
Overview


 
Linear Algebra for Dense Systems
The BLAS


 
Linear Algebra for Dense Systems
LAPACK


 
Linear Algebra for Dense Systems
BLACS


 
Linear Algebra for Dense Systems
PBLAS


 
Linear Algebra for Dense Systems
ScaLAPACK


 
Sparse Linear Algebra
The Sparse BLAS


 
Sparse Linear Algebra
The PIM Library


 
Other Parallel Libraries
PESSL


 
Other Parallel Libraries
NAG Parallel Libraries


 
Other Parallel Libraries
PETsc


 
Summary of Features

Areas of Numerical Analysis
AreaScaLAPACKPESSL PETScPIMNAG AZTECSYISDA
Linear Equations
Direct methods
yesyesserial no yesnono
Linear Equations
Iterative methods
nonoyes yesyes yesno
Least Squaresyesyesyes (iterative)noyes nono
Eigensystem Analysisyesyesnonoyesno yes
Singular Value Analysisyesyesnonoyes nono
Random Number Generationnoyesnonoyes nono
Quadraturenonononoyesnono
Fast Fourier Transforms (FFTs)noyesnono nonono
Nonlinear Equationsnonoyesnonono no
Unconstrained minimizationnonoyesnoyes nono
PDE nonoyesnononono

Table of Basic Features
FeatureScaLAPACK PESSLPETScPIM NAGAZTEC SYISDA
Application LanguagesF77F77,
C, C++
C, C++,
F77
F77F77C,
F77
C
Source LanguagesF77F77CF77 F77CC
Data typesSingle precision,
Double precision,
Complex,
Double complex
Double precisionDouble precision,
Double complex
Single precision,
Double precision,
Complex,
Double complex
Single precision,
Double precision
Double precisionDouble precision
SP Communications Library BLACS (MPI/MPL) BLACS (MPI/MPL) MPIPVM, MPIBLACS, PVMMPIPRISM,
MPI
AvailabilityPublic
domain
Vendor Public
domain
Public
domain
VendorVendor with public research license Public
domain
DocumentationTechnical reports & users guide 750+ pages Draft manualManual included Intro. and Tutorial 40 page manual29 page User's Guide
Data structureTraditionalTraditional Transp. to user. Several formats availableProvided by user. Transp. to PIM TraditionalDistrib. Modified Sparse Row, Distrib. Variable Block Row?


 
Parallel Libraries at the MHPCC

General guidelines:

Matrix Size Routine BLAS library ESSL library
Thin 64MB Node
(Mflops)
Wide 256MB Node
(Mflops)
Thin 64MB Node
(Mflops)
Wide 256MB Node
(Mflops)
500 order SGEMM 158 154 224 224
DGEMM 146 160 242 245
CGEMM 50 51 203 219
ZGEMM 64 64 219 241
1000 order SGEMM 162 165 228 238
DGEMM 147 160 166 227
CGEMM 52 51 243 247
ZGEMM 64 64 124 237

Note: Multiplies were of square matricies.C=C+A*B (except in ZGEMM because of space problems on thin nodes they were C=C+A*A)

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 and More Information