Skip to content

boost: free, portable C++ source libraries

Overview of package

Package: boost
Description: free, portable C++ source libraries
For more information: http://www.boost.org
Categories: SoftwareDevelopment
License: Unknown

General Usage

These are the boost c++ libraries. Most of the libraries are header-only, and can be accessed with just an -I$BOOST_INCDIR argument in your compilation. These are independent of compiler or MPI versions.

A small fraction of the libraries require loading functions from static or shared libraries. For these you will also need an -L$BOOST_LIBDIR argument when linking. In this case you will always want a matching compiler. In addition, if using the MPI related libraries, you will want to use matching MPI modules.

The following environmental variables have been defined:

  • $BOOST_ROOT has been set to the root of the boost installation
  • $BOOST_LIBDIR points to the directory containing the libraries
  • $BOOST_INCDIR points to the directory containing the header files

You will probably wish to use these by adding the following flags to your compilation command (e.g. to CFLAGS in your Makefile):

  • -I$BOOST_INCDIR

and the following flags to your link command (e.g. LDFLAGS in your Makefile):

  • -L$BOOST_LIBDIR -Wl,-rpath,$BOOST_LIBDIR

All compiled libraries are multithread

Available versions by cluster

This section lists the available versions of the package booston the UMD HPC clusters.

Versions available on the Zaratan cluster

Version Module tags CPU(s) optimized for GPU ready?
1.77.0 1.77.0 zen2 Yes
1.72.0 1.72.0 zen Yes
1.82.0 1.82.0 icelake, x86_64, zen2 Yes