Petsc: Difference between revisions
From charlesreid1
(Created page with "{{Stub}}") |
No edit summary |
||
| Line 1: | Line 1: | ||
= 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=$PWDTo make this a debug build, add --with-debugging=1 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)