Skip to content

Compiling Boost

Boost provides free peer-reviewed portable C++ libraries.[1]

Installed Versions♯

There are several installed versions on Proteus. Use module list boost to see a list.

Boost Build Documentation♯

See Getting Started on Unix Variants in the Boost documentation.

b2♯

Build b2 first, following documentation.

Build♯

Intermediate compilation products are put in the build directory, which should be separate from the source directory. The following builds using the Intel compilers, by specifying the "toolset".

./b2 -j 4 --prefix=$PREFIX --without-mpi --build-dir=../boost-build address-model=64 toolset=intel variant=release threading=multi cxxflags="-xHost" install > & Build.install.out

It will take a couple of hours.

N.B. the toolset string changes with version of Boost. It may be "intel-linux".

boost.python♯

See Also♯

References♯

[1] Boost Official Web Site