Boost logo

Boost-Build :

Subject: Re: [Boost-build] Help building Boost 1_49_0
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2015-04-01 13:25:26


On 04/01/2015 10:49 AM, Dr. Samir Naboulsi wrote:
> 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:
> ./ <snip>
> ./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++ ;

The second argument for using gcc is the version,
the command should be the third argument.

> using mpi : /opt/sgi/mpt/mpt-2.11/bin/mpicxx ;
> I am getting the following error:
> <snip>
> ===============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:
> You will need to manually configure MPI support.
> MPI launcher: mpirun -np

It looks like Boost.Build doesn't know about SGI MPT.
You'll need to specify <cxxflags> and <linkflags>
explicitly in your using mpi declaration. It would
also be helpful if you can tell us what options to
pass to the wrapper compiler to derive this automatically.

In Christ,
Steven Watanabe

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at