Maths Institute Install Guide

The Maths Institute already most of the packages listed in InstallGuides/DebianEtch installed, so begin by connecting to the Chaste repository as described in the DeveloperInstallGuide.


Although the Maths Institute system has XSD installed, it seems to be missing some required files, which can result in a build error message. Therefore install a full version of XSD in the directory /scratch/chaste by opening a terminal and typing the following.

export base="/scratch/chaste"

cd $base

# For 32 bit:
tar -xjf xsd-2.3.1-i686-linux-gnu.tar.bz2

# For 64 bit you might need to do this instead:
#tar -xjf xsd-2.3.1-x86_64-linux-gnu.tar.bz2

cd $base/src
tar -zxf xerces-c-src_2_8_0.tar.gz
export XERCESCROOT=$base/src/xerces-c-src_2_8_0
cd $XERCESCROOT/src/xercesc/
./runConfigure -plinux -cgcc -xg++ -P$base
make install

Intel Compiler

If you need to install the Intel compiler, follow the DeveloperInstallGuide. Install it in the directory /scratch/chaste, since that's the intel_path that is in the configuration script.


The Maths Institute has PETSc 2.3.2-p6 installed. In your hostconfig file, set petsc_2_3_path to /usr/lib/petsc/.

Download MPICH from , unpack and do

cd mpich-1.2.7p1
./configure --prefix=$base -with-comm=shared --with-device=ch_shmem --enable-sharedlib --disable-f77
cd examples/test/
make testing
cd ../..
make install
# You may now remove the mpich-1.2.7p1 folder if you wish.


Type the following:

export base="/scratch/chaste"
cd $base/src
tar -zxf hdf5-1.6.6.tar.gz
cd hdf5-1.6.6
export CC=mpicc 
./configure --enable-parallel --prefix=$base/hdf5
cd test
make check
cd ../testpar
make check
cd ..
make install

Install CVODE

As InstallCvode, but use --prefix=$base

Install parMETIS

As InstallParMetis, but do cd $base instead of cd $HOME. The Maths Institute doesn't have MPI installed, so there is no "mpi.h" in /usr/include. To tell parMETIS to look into where you installed MPI (see above), prior to doing make you should edit as follows: add -I/scratch/chaste/mpich-1.2.7p1/include to the line starting INCDIR and add -L/scratch/chaste/mpich-1.2.7p1/lib to the line starting LIBDIR.


Lastly, go to Window->Preferences->C/C++->Editor->Appearance and select "Insert spaces for tabs". This ensures nice tabbing.

(Also, see extra options in SetupEclipse)

Last modified 10 years ago Last modified on Nov 16, 2010, 11:13:07 AM