Version 1 (modified by jmpf@…, 15 years ago) (diff)


describe DeveloperInstallGuide here

Joe's PetSC install guide

I've just got Chaste up and running on my Suse box. Here's a brief summary of the things that I did:

PetSC and MPI installation
tar xvfz mpich.tar.gz
cd mpich-1.2.?
./configure --prefix=${HOME}/mpi -with-comm=shared --with-device=ch_shmem
cd examples/test/
make testing
cd ../..; make install
rm -rf mpich-1.2.6/
####cp -r petsc-2.2.1/ petsc-2.2.1-with-mpi/
petsc-lite.tar.gz or v2.2.1.petsc.tar.gz from
tar xfvz v2.2.1.petsc.tar.gz
ln -s petsc-2.2.1/ petsc-2.2.1-with-mpi
cd petsc-2.2.1-with-mpi/
setenv PETSC_DIR `pwd` or export PETSC_DIR=`pwd`
./config/  --download-f-blas-lapack=1 --with-mpi-dir=${HOME}/mpi
./config/  --download-c-blas-lapack=1 --with-mpi-dir=${HOME}/mpi
make all
cd src/ksp/examples/tutorials
make ex23
make runex23
make BOPT=O_c++ all
make BOPT=g_c++ all

Notes on Eclipse setup…

1. It is good to do "Switch Workspace" (to ${HOME}/Workspace) before checking out the project.

2. Do *not* include "trunk" in the URL:
that way you can check out "trunk" as project.

3. Make cxxtest executable:
chmod u+x ${HOME}/Workspace/Chaste/cxxtest/