Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

http://www.boost.org/

Boost provides free peer-reviewed portable C++ source libraries.

location: /sw/library/boost/1.4.8

Usage

module load boost/ser/1.4.8
OR
module load boost/mpi/1.4.8

Installation

Make sure you have the Python headers (i.e. development information) installed (if rpm, check for python-devel rpm. If built from source , it should be there)

boot serial version

module load python/2.7.1

Download latest source files and extract...
cd /sw/library/boost/1.4.8/src/
tar -zxvf boost_1_48_0.tar.gz
cd /sw/library/boost/1.4.8/src/boost_1_48_0
./bootstrap.sh --prefix=/sw/library/boost/1.4.8/ser --libdir=/sw/library/boost/1.4.8/ser/lib 2>&1 tee configure.txt

./b2 install

Building Boost.Build engine with toolset gcc... tools/build/v2/engine/bin.linuxx86_64/b2
Detecting Python version... 2.7
Detecting Python root... /sw/python/2.7.1
Unicode/ICU support for Boost.Regex?... not found.
Generating Boost.Build configuration in project-config.jam...

Bootstrapping is done. To build, run:

    ./b2

To adjust configuration, edit 'project-config.jam'.
Further information:

   - Command line help:
     ./b2 --help

   - Getting started guide:
     http://www.boost.org/more/getting_started/unix-variants.html

   - Boost.Build documentation:
     http://www.boost.org/boost-build2/doc/html/index.html


boot mpi version

module load python/2.7.1
module load mpi/openMPI/1.4.3-gnu
cd /sw/library/boost/1.4.8/src/boost_1_48_0
vi tools/build/v2/user-config.jam
Add "using mpi ;" to enable MPI support
./bootstrap.sh --prefix=/sw/library/boost/1.4.8/openmpi --libdir=/sw/library/boost/1.4.8/openmpi/lib 2>&1 tee configure.txt

./b2 install

 

Boot 1.67.0 - serial

module purge
module load gcc/4.9.3
module  load autoconf/2.69
module load library/automake/1.16
module load library/libtool/2.4.6
module load library/m4/1.4.18
module load library/arpack/3.6.0
module load boost/1.60.0
module load library/lapackBlas/3.6.0
module load library/gmp/6.0.0
module load mpi/openMPI/1.8.5-gcc4.9.0
module load library/zlib/1.2.11
module load library/bzip2/1.0.6
module load library/lzma/4.32.7
module load library/libiconv/1.14
module load misc/icu/59.1

cd /sw/library/boost/1.67/src/boost_1_67_0
./bootstrap.sh --prefix=/sw/library/boost/1.67.0/serial 2>&1 tee configureLog.txt
 ./b2 install 2>&1 | tee b2InstallLog.txt &


 

module file

module load boost/ser/1.4.8
OR
module load boost/mpi/1.4.8

 module display boost/ser/1.4.8
-------------------------------------------------------------------
/sw/com/modulefiles/boost/ser/1.4.8:

module           load python/2.7.1
prepend-path     INCLUDE /sw/library/boost/1.4.8/ser/include/boost
prepend-path     LD_LIBRARY_PATH /sw/library/boost/1.4.8/ser/lib
-------------------------------------------------------------------

OR

module display boost/mpi/1.4.8
-------------------------------------------------------------------
/sw/com/modulefiles/boost/mpi/1.4.8:

module           load python/2.7.1
module           load mpi/openMPI/1.4.3-gnu
prepend-path     INCLUDE /sw/library/boost/1.4.8/mpi/include/boost
prepend-path     LD_LIBRARY_PATH /sw/library/boost/1.4.8/mpi/lib
-------------------------------------------------------------------


Dependencies

Required for software "Desmond"

Reference

1. http://wiki.tiker.net/BoostInstallationHowto

  • No labels