Boost logo

Boost Interest :

Subject: Re: [Boost-cmake] Release 1.41.0.cmake0
From: James C. Sutherland (James.Sutherland_at_[hidden])
Date: 2009-11-18 15:32:21


On Nov 18, 2009, at 12:53 PM, troy d. straszheim wrote:

> James C. Sutherland wrote:
>> On Nov 18, 2009, at 12:25 PM, troy d. straszheim wrote:
>>> James C. Sutherland wrote:
>>>> On Nov 18, 2009, at 9:56 AM, troy d. straszheim wrote:
>>>>> Here's the first release for 1.41.0, take it out for a spin:
>>>>>
>>>>> http://sodium.resophonic.com/boost-cmake/1.41.0.cmake0
>>>>>
>>>>> Get back to me here with your comments or questions.
>>>>>
>>>>> -t
>>>>>
>>>> Why is boost::mpi "disabled" on apple?
>>> This is an oversight. I don't recall what the problem was. Could you just try removing the if(NOT APPLE) bits from libs/mpi/src/CMakeLists.txt and let me know how it goes? If you get errors, the output of 'make boost_mpi VERBOSE=1' and the (presumably correct) output of bjam -d2 would be useful, as well as your CMakeCache.txt
>>>
>>> -t
>> Now I get the following when running cmake:
>> -- + mpi
>> -- +-- Python available, enabling boost_mpi_python.
>> -- * mpi is NOT being built because ENABLE_DEBUG is FALSE -- * mpi is NOT being built because ENABLE_SHARED is FALSE So it still won't configure properly. Any other pointers (other than building the debug, shared libs)?
>
> Thanks very much for checking in. It appears that the warning message is misleading... actually the static-release-multithreaded mpi is indeed being built:
>
> -- + mpi
> -- +-- Python available, enabling boost_mpi_python.
> -- * mpi is NOT being built because ENABLE_DEBUG is FALSE
> -- * mpi is NOT being built because ENABLE_SHARED is FALSE
>
> ...
>
> $ make help | grep -i MPI
> ... boost_mpi
> ... boost_mpi-mt-static
> ... boost_mpi_python
>
> $ ls -F lib
> Exports.cmake libboost_serialization-mt-d.1.41.0.dylib*
> libboost_mpi-mt-d.1.41.0.dylib* libboost_serialization-mt-d.a
> libboost_mpi-mt-d.a libboost_serialization-mt-d.dylib@
> libboost_mpi-mt-d.dylib@ libboost_serialization-mt.1.41.0.dylib*
> libboost_mpi-mt.1.41.0.dylib* libboost_serialization-mt.a
> libboost_mpi-mt.a libboost_serialization-mt.dylib@
> libboost_mpi-mt.dylib@
>
> Let me know how this goes locally... things may need more tweaking. I'll have a look at this error message and reenable mpi on apple in the next patch release.
>
> -t

It looks like things are working. After commenting the if( NOT APPLE ), I did successfully build the mpi libs and the associated mpi tests (which all pass).

Thanks for the help.

James


Boost-cmake list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk