Boost logo

Boost-Build :

Subject: [Boost-build] Help building Boost 1_49_0
From: Dr. Samir Naboulsi (naboulsk.ctr_at_[hidden])
Date: 2015-04-01 12:49:19


Greeting

I need help with building Boost.

I am trying to build boost 1_49_0 on an HPC system (SGI Ice X - 1.5
PFLOPS) and I am having errors. I am using gcc compiler
(gcc-compilers/4.7.3) and mpi (SGI MPT mpt/2.11). These are my build
commands:

./bootstrap.sh
--with-libraries=chrono,date_time,exception,filesystem,graph,graph_parallel,iostreams,locale,math,mpi,program_options,python,random,regex,serialization,signals,system,test,thread,timer,wave

  --with-icu
--with-icu=/work1/home/naboulsk/SINSTAL/DLPackage/Gicu/build/lib
--with-python=python
--with-python-root=/app/wpostool/COST/python-2.6.8
--prefix=/work1/home/naboulsk/SINSTAL/DLPackage/INTEL_boost_1_49_0
--exec-prefix=/work1/home/naboulsk/SINSTAL/DLPackage/INTEL_boost_1_49_0
  --libdir=/work1/home/naboulsk/SINSTAL/BuildProjGNU/bosst_1.49/lib
--includedir=/work1/home/naboulsk/SINSTAL/BuildProjGNU/bosst_1.49/include

./b2 install --with-mpi --user-config=user-config.jam --debug-configuration

with the following user-config.jam:
using gcc : /app/gmpapp/gcc/platform/gcc-4.7.3/bin/g++ ;
using mpi : /opt/sgi/mpt/mpt-2.11/bin/mpicxx ;

I am getting the following error:

spirit01:~/SINSTAL/DLPackage/Gboost_1_49_0> ./b2 install --with-mpi
--user-config=user-config.jam --debug-configuration
notice: found boost-build.jam at
/work1/home/naboulsk/SINSTAL/DLPackage/Gboost_1_49_0/boost-build.jam
notice: loading Boost.Build from
/work1/home/naboulsk/SINSTAL/DLPackage/Gboost_1_49_0/tools/build/v2
notice: Searching /etc /home/naboulsk
/work1/home/naboulsk/SINSTAL/DLPackage/Gboost_1_49_0/tools/build/v2
/usr/share/boost-build
/work1/home/naboulsk/SINSTAL/DLPackage/Gboost_1_49_0/tools/build/v2/kernel
/work1/home/naboulsk/SINSTAL/DLPackage/Gboost_1_49_0/tools/build/v2/util
/work1/home/naboulsk/SINSTAL/DLPackage/Gboost_1_49_0/tools/build/v2/build /work1/home/naboulsk/SINSTAL/DLPackage/Gboost_1_49_0/tools/build/v2/tools

/work1/home/naboulsk/SINSTAL/DLPackage/Gboost_1_49_0/tools/build/v2/contrib
/work1/home/naboulsk/SINSTAL/DLPackage/Gboost_1_49_0/tools/build/v2/.
for site-config configuration file site-config.jam .
notice: Loading site-config configuration file site-config.jam from
/work1/home/naboulsk/SINSTAL/DLPackage/Gboost_1_49_0/tools/build/v2/site-config.jam

.
notice: Loading explicitly specified user configuration file:
     /work1/home/naboulsk/SINSTAL/DLPackage/Gboost_1_49_0/user-config.jam
notice: Searching /work1/home/naboulsk/SINSTAL/DLPackage/Gboost_1_49_0
for user-config configuration file user-config.jam .
notice: Loading user-config configuration file user-config.jam from
/work1/home/naboulsk/SINSTAL/DLPackage/Gboost_1_49_0/user-config.jam .
warning: toolset gcc initialization: can not find tool g++-4.7.3
warning: initialized from
/work1/home/naboulsk/SINSTAL/DLPackage/Gboost_1_49_0/user-config.jam:1
notice: will use 'g++' for gcc, condition <toolset>gcc-4.7.3
notice: using gcc libraries :: <toolset>gcc-4.7.3 ::
/app/gmpapp/gcc/platform/gcc-4.7.3/bin
/app/gmpapp/gcc/platform/gcc-4.7.3/lib
/app/gmpapp/gcc/platform/gcc-4.7.3/lib32
/app/gmpapp/gcc/platform/gcc-4.7.3/lib64
notice: using gcc archiver :: <toolset>gcc-4.7.3 :: ar
notice: using gcc ranlib :: <toolset>gcc-4.7.3 :: ranlib
warning: toolset gcc initialization: can not find tool windres
warning: initialized from
/work1/home/naboulsk/SINSTAL/DLPackage/Gboost_1_49_0/user-config.jam:1
notice: using rc compiler :: <toolset>gcc-4.7.3 :: as
===============MPI Auto-configuration===============
Found MPICH wrapper compiler: /opt/sgi/mpt/mpt-2.11/bin/mpicxx
g++: error: unrecognized command line option '-compile_info'
/usr/bin/ld: cannot find -link_info
collect2: error: ld returned 1 exit status
MPI auto-detection failed: unknown wrapper compiler
/opt/sgi/mpt/mpt-2.11/bin/mpicxx
Please report this error to the Boost mailing list: http://www.boost.org
You will need to manually configure MPI support.
MPI launcher: mpirun -np
====================================================
notice: Searching for project-config configuration file
project-config.jam .
notice: Loading project-config configuration file project-config.jam
from project-config.jam .
notice: [python-cfg] Configuring python...
notice: [python-cfg] user-specified version: "2.6"
notice: [python-cfg] user-specified cmd-or-prefix:
"/app/wpostool/COST/python-2.6.8"
notice: [python-cfg] Checking interpreter command
"/app/wpostool/COST/python-2.6.8/bin/python2.6"...
notice: [python-cfg] running command
'"/app/wpostool/COST/python-2.6.8/bin/python2.6" -c "from sys import *;
print('version=%d.%d\nplatform=%s\nprefix=%s\nexec_prefix=%s\nexecutable=%s'

%
(version_info[0],version_info[1],platform,prefix,exec_prefix,executable))"
2>&1'
notice: [python-cfg] ...requested configuration matched!
notice: [python-cfg] Details of this Python configuration:
notice: [python-cfg] interpreter command:
"/app/wpostool/COST/python-2.6.8/bin/python2.6"
notice: [python-cfg] include path:
"/app/wpostool/COST/python-2.6.8/include/python2.6"
notice: [python-cfg] library path:
"/app/wpostool/COST/python-2.6.8/lib/python2.6/config"
"/app/wpostool/COST/python-2.6.8/lib"
notice: iostreams: using prebuilt zlib
notice: iostreams: using prebuilt bzip2
warning: skipping optional Message Passing Interface (MPI) library.
note: to enable MPI support, add "using mpi ;" to user-config.jam.
note: to suppress this message, pass "--without-mpi" to bjam.
note: otherwise, you can safely ignore this message.
^C

Please advise.

Thank you and best regards
Sam


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