Changes between Version 16 and Version 17 of InstallingDealii


Ignore:
Timestamp:
Jan 30, 2008, 4:12:19 PM (13 years ago)
Author:
jonathan.cooper@…
Comment:

How to install PETSc 2.2.1 on chaste-bob

Legend:

Unmodified
Added
Removed
Modified
  • InstallingDealii

    v16 v17  
    2525The `--with-boost` is intended to solve Boost MPL errors (#442).  However, I don't think it's actually implemented in 5.2.0, so it's probably the lack of PETSc & METIS that has solved the issue.  Ho hum.
    2626
    27 == Using PETSc ==
     27=== Install PETSc 2.2.1 ===
     28
     29To compile Chaste, PETSc 2.2.1 is also needed, even though Deal.II isn't using it.  We could probably avoid this by changing `hostconfig.py`, but for the moment, here's what was done on chaste-bob:
     30{{{
     31# MPI
     32cd ~/mpich-1.2.7p1/
     33./configure --prefix=${HOME}/mpi --with-comm=shared --with-device=ch_shmem --enable-sharedlib --disable-f77 -c++flags=-fPIC
     34make
     35make install
     36cd ~/mpi
     37patch -p1 <../mpi.patch
     38# PETSc 2.2.1
     39cd ~/petsc-2.2.1/
     40export PETSC_DIR=`pwd`
     41./config/configure.py --with-mpi-dir=$HOME/mpi --disable-shared --with-x=false --with-matlab=0
     42make all
     43make BOPT=O_c++ all
     44make BOPT=g_c++ all
     45}}}
     46
     47== Actually Using PETSc ==
    2848
    2949If you want to use PETSc solvers in Deal.II, or solve problems using Deal.II in parallel, then PETSc and METIS are required.