Boost Installation

Ubuntu users can use aptitude to install Boost:

sudo apt-get install libboost-dev libboost-serialization-dev

If you do it this way skip the following instructions.


In theory Chaste should be able to use Boost versions 1.34, 1.37, 1.42, 1.48 (serialization and other things in Boost versions 1.35,1.36,1.41,1.44-1.46.1 are buggy). In practice, if serialization archives are created with later versions of boost they cannot be read by earlier ones, so we often break backwards compatibility by accident.

Automated testing of 1.33, 1.34, 1.37 as well as later versions included with ubuntu is currently performed routinely.

Version 1.33 of boost will not be supported in future releases.

So 1.48 is probably the safest version to go for, if you have a choice!

Install BoostJam

BoostJam is the build system for Boost and must be installed before Boost

Download the prebuild executable from: here for your platform and save to your home directory. (We chose boost-jam-3.1.12-1-linuxx86.tgz)

From the the home directory in the terminal type (e.g.):

tar -xzvf boost-jam-3.1.12-1-linuxx86.tgz

Install Boost

Download the latest .tar.gz distribution of Boost, version 1.48 at the time of writing: boost and save to home directory.

From the terminal (in the home directory) type:

tar -zxvf boost_1_48_0.tar.gz
cd boost_1_48_0
../boost-jam-3.1.12-1-linuxx86/bjam "-sTOOLS=gcc" --prefix=$HOME/boost install
Last modified 9 years ago Last modified on Mar 4, 2012, 11:43:02 AM