PETSc Installation

Introduction

The Portable, Extensible, Toolkit for Scientific Computation (PETSc) is a library of data structures and functions for the parallel solution of partial differential equations.

When PETSc libraries are installed, and SCIRun is configured to use them, SCIRun's SolveMatrix module enables the use of PETSc solvers.

The installation of PETSc is optional. SolveMatrix provides built-in solvers if PETSc is not available.

PETSc is built and installed from its source code distribution. SCIRun supports PETSc versions 2.1.5 and 2.1.6. These are older versions of PETSc and are available via a web browser from the following site:

ftp://ftp.mcs.anl.gov/pub/petsc/software_old
      

Note

  • SCIRun supports only the uniprocessor build of PETSc. SCIRun assumes a shared memory architecture, while multi-processor PETSc assumes a distributed memory architecture.

  • BLAS or ATLAS and LAPACK libraries must be installed before installing PETSc. See BLAS (or ATLAS), and LAPACK Installation ” for BLAS and LAPACK installation instructions.

  • PETSc must be installed before installing SCIRun. See “Build” for PETSc installation instructions.

  • SCIRun must be configured to support PETSc. See “SCIRun PETSc Configure Options” for information on configuring SCIRun to use PETSc.

Start a terminal application before proceeding. Command line tools are used to install PETSc and BLAS/LAPACK.