From charlesreid1

(Created page with "{{Stub}}")
 
No edit summary
Line 1: Line 1:
{{Stub}}
= Installation =
 
== Petsc 2.3.3 ==
 
Petsc can be installed using the following configure line.  This will require installation of MPI (I suggest [[LAM MPI]]).
 
<syntaxhighlight>
/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
 
</syntaxhighlight>
 
To make this a debug build, add <code>--with-debugging=1</code> to the configure line.
 
The build process consists of:
 
# run the configure wrapper
# turn on lam with lamboot (or whatever MPI you're using)
# make all
# make install
# make test (this script should pass all tests OK)

Revision as of 10:10, 29 November 2010

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)