From ScientificComputing
Jump to: navigation, search


Development, Library


Boost is a set of libraries for the C++ programming language that provide support for tasks and structures such as linear algebra, pseudorandom number generation, multithreading, image processing, regular expressions, and unit testing. It contains over eighty individual libraries.

Available versions

Legacy versions Supported versions New versions
1.55.0, 1.59.0_pyucs4 1.57.0, 1.59.0 1.59.0_py2.7.9, 1.62.0

Environment modules

The boost module is a smart module, which checks for a loaded compiler module and then loads the corresponding Boost version. For the module load command example, we use the standard compiler gcc/4.8.2.
Version Module load command Additional modules loaded automatically
1.55.0 module load legacy gcc/4.8.2 boost/1.55.0 python/2.7.6 centos_cruft/6
1.59.0_pyucs4 module load legacy gcc/4.8.2 boost/1.59.0_pyucs4 python/2.7.6_UCS4 centos_cruft/6
1.57.0 module load gcc/4.8.2 boost/1.57.0 python/2.7.6 legacy centos_cruft/6
1.59.0 module load gcc/4.8.2 boost/1.59.0 python/2.7.6 hdf5/1.8.12 legacy centos_cruft/6
1.59.0_py2.7.9 module load new gcc/4.8.2 boost/1.59.0_py2.7.9 python/2.7.9 hdf5/1.8.12 legacy centos_cruft/6
1.62.0 module load new gcc/4.8.2 boost/1.62.0 python/2.7.6 hdf5/1.8.12 legacy centos_cruft/6


The boost module sets environment variables, which contain the path to the library directory and the include directory.
These variables can be used to specify the location of the boost libraries and header files, when compiling programs that have boost as dependency.