← Back to team overview

dolfin team mailing list archive

Re: Boost_USE_MULTITHREADED

 



On 27/11/10 10:05, Harish Narayanan wrote:
What should I set Boost_USE_MULTITHREADED to be in my environment so
that CMake uses mult-threaded versions of boost libraries on my mac?

If I force

option(Boost_USE_MULTITHREADED "Use the multithreaded Boost libraries." ON)

in CMakelists.txt, DOLFIN builds fine. Otherwise, it fails to find
boost_thread(-mt) and halts.


Why do we set Boost_USE_MULTITHREADED=off by default? The default for the FindBoost.cmake is Boost_USE_MULTITHREADED=on.

Will anything break if we set Boost_USE_MULTITHREADED=on by default

Garth

Harish

_______________________________________________
Mailing list: https://launchpad.net/~dolfin
Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~dolfin
More help   : https://help.launchpad.net/ListHelp



Follow ups

References