wiki:DeveloperInstallGuide

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

http://www-unix.mcs.anl.gov/mpi/mpich/download.html
tar xvfz mpich.tar.gz
cd mpich-1.2.?
./configure --prefix=${HOME}/mpi -with-comm=shared --with-device=ch_shmem
make
cd examples/test/
make testing
cd ../..; make install
cd
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 http://www-unix.mcs.anl.gov/petsc/petsc-2/download/index.html
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/configure.py  --download-f-blas-lapack=1 --with-mpi-dir=${HOME}/mpi
or
./config/configure.py  --download-c-blas-lapack=1 --with-mpi-dir=${HOME}/mpi
make all
cd src/ksp/examples/tutorials
make ex23
make runex23
cd $PETSC_DIR
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:
http://comlab2.lsi.ox.ac.uk/svn/chaste/
that way you can check out "trunk" as project.

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