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: "Adelmann Andreas (PSI)" <andreas.adelmann AT>
  • To: Nicole Neveu <nneveu AT>
  • Cc: "opal AT" <opal AT>
  • Subject: Re: [Opal] boost for OPAL
  • Date: Wed, 28 Feb 2018 13:51:01 +0000
  • Accept-language: en-US, de-CH

Can you see the library when linking, i.e. make VERBOSE=1

Cheers Andreas 
Dr. sc. math. Andreas (Andy) Adelmann
Staff Scientist - Deputy Labor Head LSM
Paul Scherrer Institut WBBA/219 CH-5232 Villigen PSI
Phone Office: xx41 56 310 42 33 Fax: xx41 56 310 31 91
Phone Home: xx41 62 891 91 44
Friday: ETH HPK G 28   +41 44 632 75 22
The more exotic, the more abstract the knowledge, 
the more profound will be its consequences.
Leon Lederman 

On 28 Feb 2018, at 09:53, Achim Gsell <Achim.Gsell AT> wrote:

Hi Nicole

On 27 Feb 2018, at 23:08, Nicole Neveu <nneveu AT> wrote:

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?

No. This symbol should be in 'libboost_regex'.

Did you compile boost yourself? Which compiler has been used to compile boost? Which boost version are you using? 1.64.0 should work.





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.



Paul Scherrer Institut
CH-5232 Villigen PSI
+41 56 310 36 74

Archive powered by MHonArc 2.6.19.

Top of Page