Skip to main content

Using Boost on the System Biology Server

I have installed boost version 1.43 into the /common/bifa shared area such that (hopefully) other people can used the installation without having to install it in their own areas.

Making the boost installation visible.

The following need to be run in order to make boost available, either by putting them in a script to be run as required or by incoporating into the .profile

export PATH=/common/bifa/local/bin:/common/bifa/Dev/ThirdParty/boost-1-43:$PATH

Boost has been built with gcc 4.3.3, because boost 1-43 has problems with the gcc (4.0.1) that comes preinstalled on our platform. The updated path ensures the new gcc is used in preference to the preinstalled gcc. The path also ensures that bjam is available.

export BOOST_ROOT=/common/bifa/Dev/ThirdParty/boost-1-43

This keeps boost happy

export DYLD_LIBRARY_PATH=/common/bifa/local/lib:$DYLD_LIBRARY_PATH
export LD_LIBRARY_PATH=/common/bifa/local/lib:$LD_LIBRARY_PATH
export LOCAL_LIB=/common/bifa/local/lib

This ensures that the libraries needed by boost are available.

This configuration results in the sitconfig.jam file at /common/bifa/Dev/ThirdParty/boost-1-43/tools/build/v2 being used, which should not cause problems