dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #05954
Re: Petsc version
On Tue, Jan 15, 2008 at 02:01:17PM +0100, Martin Sandve Alnæs wrote:
> For DOLFIN usage, is it important to get petsc 2.3.3 or is 2.3.2
> (which is in Ubuntu Gutsy) good enough?
It's important that you download and build PETSc yourself. The
Ubuntu/Debian packages have been broken for a long time (at least
every time I've tried). If you build PETSc yourself, you can also ask
PETSc to build Hypre (which gives you AMG).
Here's a simple howto:
1. Build and install OpenMPI from www.open-mpi.org
2. Unpack PETSc in /usr/local/lib and rename to petsc (or make
symbolic link)
3. cd petsc; export PETSC_DIR=`pwd`
3.
./config/configure.py --with-clanguage=C++ --with-shared=1 --download-hypre=yes --download-umfpack=yes --with-mpi-dir=/usr/local
make all
--
Anders
Follow ups
References