Re: [Boost-bugs] [Boost C++ Libraries] #6527: Segmentation fault from program_options with intel compiler and openmp

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6527: Segmentation fault from program_options with intel compiler and openmp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-02-07 03:15:46


#6527: Segmentation fault from program_options with intel compiler and openmp
-------------------------------------------------------+--------------------
  Reporter: Ryan Scott Davis <rsdavis@…> | Owner: vladimir_prus
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: program_options
   Version: Boost 1.48.0 | Severity: Problem
Resolution: | Keywords: program_options intel openmp
-------------------------------------------------------+--------------------

Comment (by Ryan Scott Davis <rsdavis@…>):

 Sorry, apparently this is some weird linking error. For others, I was
 compiling with

 icpc -L /path/to/boost/lib -I /path/to/boost/include test.cpp -static
 -lboost_program_options -openmp

 which compiled fine but result in seg fault. I guess older libraries on
 the cluster were somehow being linked. Instead, I now link to the library
 file directly, and it works, magic.

 icpc -I /path/to/boost/include test.cpp
 /path/to/boost/lib/libboost_program_options.a -openmp

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6527#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:08 UTC