Boost logo

Boost-Build :

Subject: Re: [Boost-build] Building boost with Intel icpc on Linux Mint (Ubuntu 14.04)
From: Andreas Delleske (delleske_at_[hidden])
Date: 2016-01-07 05:03:45


Dear Melanie,

> PS I built boost 1.60 with Intel c++ 16.0 update 1 compiler for Linux with these steps
>
> source .../iccvars.sh intel64 # Get the intel64 compiler into path
> ...
> tar xf boost_1_60_0.tar
> cd boost_1_60_0/
> ./bootstrap.sh # Bootstrap with default compiler, ie gcc
> ./b2 --prefix=`pwd`/install toolset=intel address-model=64 install # Build and install boost libraries with Intel compiler

Many thanks!

Tim from Intel Forum told me to

source
/opt/intel/compilers_and_libraries_2016.0.109/linux/bin/compilervars.sh
intel64

- and since then, it worked.

Would be great if the compilervars.sh script would mention that it needs
to be sourced instead of just started. To be honest, I was also a little
confused by several copies of seemingly the same thing (OK the things in
bin are links):

# find /opt/intel/ -name "compilervars*"
/opt/intel/compilers_and_libraries_2016.0.109/linux/bin/compilervars_global.sh
/opt/intel/compilers_and_libraries_2016.0.109/linux/bin/compilervars.csh
/opt/intel/compilers_and_libraries_2016.0.109/linux/bin/compilervars_arch.csh
/opt/intel/compilers_and_libraries_2016.0.109/linux/bin/compilervars.sh
/opt/intel/compilers_and_libraries_2016.0.109/linux/bin/compilervars_global.csh
/opt/intel/compilers_and_libraries_2016.0.109/linux/bin/compilervars_arch.sh
/opt/intel/bin/compilervars.csh
/opt/intel/bin/compilervars.sh
/opt/intel/compilers_and_libraries_2016/linux/bin/compilervars.csh
/opt/intel/compilers_and_libraries_2016/linux/bin/compilervars.sh

Anyway: Many thanks for your reply!

Andreas


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk