Install boost library

Following the instructions of

Assuming that there are 3 directories: packages, modules, src.

Download boost

cd src
wget -c '
tar xf boost_1_59_0.tar.gz

Create folders

cd packages
mkdir boost-1.59.0
cd boost-1.59.0
mkdir lib
mkdir include


cd src/boost_1_59_0

Then edit project-config.jam as it is said on fenics-hpc.blogspot, but with the appropriate gcc version (4.4.7) and with the appropriate paths.

# Boost.Build Configuration
# Automatically generated by

import option ;
import feature ;

# Compiler configuration. This definition will be used unless
# you already have defined some toolsets in your user-config.jam
# file.
if ! gcc in [ feature.values ]
using gcc : 5.3.0 : : -std=c++11 ;

project : default-build gcc ;

# List of –with- and –without- # options. If left empty, all libraries will be built.
# Options specified on the command line completely
# override this variable.
libraries = –with-filesystem –with-program_options –with-timer –with-chrono –with-system –with-thread –with-iostreams –with-serialization ;

# These settings are equivivalent to corresponding command-line
# options.
option.set prefix : /home/1/nonlinpde/packages/boost-1.59.0 ;
option.set exec-prefix : /home/1/nonlinpde/packages/boost-1.59.0 ;
option.set libdir : /home/1/nonlinpde/packages/boost-1.59.0/lib ;
option.set includedir : /home/1/nonlinpde/packages/boost-1.59.0/include ;

# Stop on first error
option.set keep-going : false ;


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s