Boost logo

Boost-Build :

Subject: Re: [Boost-build] Boost::MPI Configuration?
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-04-26 01:32:46


熊耀华 wrote:

> On Sat, Apr 25, 2009 at 10:03 PM, Vladimir Prus <ghost_at_[hidden]> wrote:
>> On Saturday 25 April 2009 14:10:03 熊耀华 wrote:
>>> Hi, everyone.
>>>
>>> I'm a newcomer to the boost community and trying to compile boost::mpi
>>> on winXP with mingw 3.4.5.
>>> The mpi implementation I use is MPICH2 and it looks like the
>>> boost::build system can not recognize
>>> it automatically, the compiler give whole bunch of error complaining
>>> "Can't found header file ...".
>>>
>>> I have read installing instructions in the boost::mpi manual, it say's
>>> I can add something like this
>>>
>>> >>using mpi : : <find-shared-library>lammpio <find-shared-library>lammpi++
>>> >> <find-shared-library>mpi <find-shared-library>lam
>>> >> <find-shared-library>dl ;
>>>
>>> in the user-config.jam. I tried but it doesn't work and I think these
>>> options are telling the
>>> boost::build system where to find the lib file not the header file.
>>
>> I imagine you can add
>>
>> <include>xxx
>>
>> options as well.
>>
>> - Volodya
>>
>
> Yes, it works. Thanks Vladimir.
>
> Besides, is the "<include>xxx" option universal to all boost packages
> or specific to the mpi package, can I
> use it to config other package like boost::python?

It is not -- for other modules the 'using' function may take different
paramaters.

- Volodya


Boost-Build 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