← Back to team overview

dolfin team mailing list archive

Re: Fwd: [Branch ~dolfin-core/dolfin/wells] Rev 6282: Merge Boost MPI code.

 

On 27 September 2011 09:25, Johannes Ring <johannr@xxxxxxxxx> wrote:
> On Tue, Sep 27, 2011 at 9:19 AM, Garth N. Wells <gnw20@xxxxxxxxx> wrote:
>> This change will break the buildbots until Boost is updated on the buildbots.
>
> Yes, I'm working on this now (two fixed, two to go).

A simple question related to this, to help understanding the
CMakeLists.txt file better.

I installed libboost-mpi-dev and everything worked fine. This seems a
bit strange to me since I'm running boost version 1.42.0, but looking
in the CMakeLists.txt file I see the lines:

set(Boost_ADDITIONAL_VERSIONS 1.43 1.43.0 1.44 1.44.0 1.45 1.45.0 1.46
1.46.0 1.46.1)

if (DOLFIN_ENABLE_MPI AND MPI_FOUND)
  find_package(Boost 1.36 COMPONENTS filesystem program_options system
thread iostreams mpi REQUIRED)
else()
  find_package(Boost 1.36 COMPONENTS filesystem program_options system
thread iostreams REQUIRED)
endif()
find_package(Boost 1.36 COMPONENTS filesystem program_options system
thread iostreams REQUIRED)

If 1.42 or 1.42.0 was in the list of ADDITIONAL_VERSIONS, or if '1.36'
was '1.42', I could understand it. But if '1.36' works as a minimum
requirement, then why bothering setting additional versions?

Not a big deal, I was just wondering.

Kristian

> Johannes
>
> _______________________________________________
> 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