Page tree

On this page

Overview

Boost provides free peer-reviewed portable C++ source libraries. More information is available on Boost web site: https://www.boost.org/

Boost libraries on gadi are build with GNU and Intel compilers and support both Intel-mpi and Openmpi. Python binding are included for the latest available python version in /apps at the time of boost installation. For example, boost/1.72.0 includes python bindings for python3/3.7.4. 

Usage

First you need to decide on the version of the software you want to use. Use

$ module avail boost

to check what versions are available. We normally recommend using the latest version available. For example, to load the boost v 1.72.0:

# Load module, always specify version number.
$ module load boost/1.72.0

For more details on using modules see our modules help guide.

The module sets include and library directories, so normally there is no need to specify -I and -L flags, just add -llibabry_name to the link line, for example, -lboost_thread -lboost_system.