Skip to Content.
Sympa Menu

opal - Re: [Opal] boost for OPAL

opal AT

Subject: The OPAL Discussion Forum

List archive

Re: [Opal] boost for OPAL

Chronological Thread 
  • From: Nicole Neveu <nneveu AT>
  • To: Achim Gsell <achim.gsell AT>, opal <opal AT>
  • Subject: Re: [Opal] boost for OPAL
  • Date: Tue, 27 Feb 2018 16:08:20 -0600

Going to gcc 7.2 almost got me there (made it 100% - Linking executable).
Now it's failing at the link step.

I wonder if it has to do with this cmake warning:
 Manually-specified variables were not used by the project:


When I use ccmake to manually check what those env vars are set to, they match the cmake command (by default?). 
Here's the cmake command:
CXX=mpiicpc CC=mpiicc cmake \

The errors point to gnu_cxx:
Attributes.cpp:(.text+0x340d): undefined reference to `boost::re_detail_106400::perl_matcher<__gnu_cxx::__normal_iterator<char const*,.........

Maybe I need to explicitly link to a gnu library?



On Tue, Feb 27, 2018 at 10:02 AM, Nicole Neveu <nneveu AT> wrote:
Hi Everyone, 

Thanks for the great information. 

@Achim, you were exactly right! The default gcc is 4.85!
I will try building with a newer version now.

And special thanks for all the great build instruction on the wiki!


On Tue, Feb 27, 2018 at 7:50 AM, Achim Gsell <achim.gsell AT> wrote:
Hi Nicole

On 24 Feb 2018, at 01:21, Nicole Neveu <nneveu AT> wrote:

Can OPAL be compiled with boost 1.64 on linux?
Has anyone tried that?

At present boost 1.64 is the recommended version! A toolchain with current versions is under testing. This will include boost 1.66.0.

I'm getting a lot of warnings when building boost 1.62.
I would ignore them since they are warnings, but I get boost errors when compiling opal (during make).

There is something you must have in mind when compiling with Intel compiler: the Intel compiler does NOT include a STL implementation. STL is taken from the gcc  found in the path! If you have an old gcc in your PATH, it is very likely that you get lot of warnings and/or errors!

Check with the command "which gcc" which gcc is used. Get the version of used gcc with "gcc -v". gcc should be at least version 5.x.y.



Archive powered by MHonArc 2.6.19.

Top of Page