From charlesreid1

Revision as of 10:10, 29 November 2010 by Admin (talk | contribs)

Installation

Petsc 2.3.3

Petsc can be installed using the following configure line. This will require installation of MPI (I suggest LAM MPI).

/path/to/source/petsc-2.3.3-p15/config/configure.py \
   --prefix=/path/to/petsc-2.3.3 \
   --with-matlab=false \
   --with-x=false \
   --with-shared=0 \
   --with-mpi-dir=/path/to/lam-7.1.4 \
   PETSC_DIR=$PWD

To make this a debug build, add --with-debugging=1 to the configure line.

The build process consists of:

  1. run the configure wrapper
  2. turn on lam with lamboot (or whatever MPI you're using)
  3. make all
  4. make install
  5. make test (this script should pass all tests OK)