[Trilinos-Users] [EXTERNAL] specify version of boost

Andrey Prokopenko aprokop at sandia.gov
Wed Aug 5 14:32:21 EDT 2015


Hi Andrea,

You could try to explicitly specify the boost libraries like this:

-D TPL_Boost_LIBRARIES=/opt/boost/intel/lib/libboost_system.so

If that does not help, try setting BoostLib TPL in the same manner.

-Andrey

On 08/05/2015 11:10 AM, Andrea Zonca wrote:
>
> hi,
> I am trying to build trilinos on the Comet Supercomputer (SDSC).
> Unfortunately we have 2 versions of boost installed, a old one in 
> /usr/lib64, and a newer one (1.55) in /opt/boost/intel.
>
> The older version won’t work with Trilinos.
> I specified:
>
> |-D TPL_Boost_INCLUDE_DIRS="/opt/boost/intel/include" \ -D 
> TPL_Boost_LIBRARY_DIRS="/opt/boost/intel/lib" \ |
>
> in my do-configure script, however I get this error:
>
> |[ 75%] Built target stkclassic_adapt Linking CXX executable 
> STKClassic_adapt_exe_1.exe ld: warning: 
> libboost_program_options.so.1.55.0, needed by 
> ../../../stk_search/stk_search/libstkclassic_search.so.12.0.1, may 
> conflict with libboost_program_options.so.5 ld: warning: 
> libboost_system.so.1.55.0, needed by 
> ../../../stk_search/stk_search/libstkclassic_search.so.12.0.1, may 
> conflict with libboost_system.so.5 ld: 
> CMakeFiles/STKClassic_adapt_exe_1.dir/AdaptMain.cpp.o: undefined 
> reference to symbol '_ZN5boost6system15system_categoryEv' 
> /opt/boost/intel/lib/libboost_system.so.1.55.0: error adding symbols: 
> DSO missing from command line make[2]: *** 
> [packages/stk/stk_classic/stk_adapt/stk_adapt/main/STKClassic_adapt_exe_1.exe] 
> Error 1 make[1]: *** 
> [packages/stk/stk_classic/stk_adapt/stk_adapt/main/CMakeFiles/STKClassic_adapt_exe_1.dir/all] 
> Error 2 make: *** [all] Error 2 |
>
> it looks like it is still loading |libboost_system.so.5| from 
> |/usr/lib64|.
>
> Is there a way to configure better the build system to avoid this?
>
> Thanks,
> Andrea
>
>>
>
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at trilinos.org
> https://trilinos.org/mailman/listinfo/trilinos-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20150805/72cf76ab/attachment.html>


More information about the Trilinos-Users mailing list