Boost logo

Boost-Build :

Subject: Re: [Boost-build] Building Boost 1.44 with mpi enabled
From: Mike Van Duzee (mike.vanduzee_at_[hidden])
Date: 2012-07-30 13:34:10


Thanks everyone for the help, I was able to get it working with the
following config:

using mpi : mpicxx
   : <include>C:\\installed\\include
<library-path>C:\\installed\\lib
<define>OMPI_IMPORTS <define>OPAL_IMPORTS <define>ORTE_IMPORTS
<variant>release:<find-shared-library>libmpi_cxx <find-shared-library>libmpi
<find-shared-library>libopen-pal <find-shared-library>libopen-rte
<variant>debug:<find-shared-library>libmpi_cxxd <find-shared-library>libmpid
<find-shared-library>libopen-pald <find-shared-library>libopen-rted
   : C:\\installed\\bin\\mpirun
   ;

On 30/07/2012 2:18 PM, Matthias Troyer wrote:
> On Jul 26, 2012, at 5:52 AM, Mike Van Duzee<mike.vanduzee_at_[hidden]> wrote:
>
>> I am having issues building boost with mpi enabled.
>> (Windows 7 64bit, Visual Studio 2008)
>>
>> - OpenMPI 1.6 was downloaded and compiled at C:\\openmpi
>>
>> - The following has been added to my user-config.jam:
>>
>> using mpi : C:\\openmpi\\installed\\bin\\mpicc.exe
>> :<include>C:\\openmpi\\installed\\include<library-path>C:\\openmpi\\installed\\lib
>> :<find-shared-library>cxx<find-shared-library>mpi
>> ;
>>
>> - The '--with-mpi' flag has been added to the call to bjam.exe.
>>
>> When I build it looks like every OpenMPI symbol is unresolved:
> Hi Mike,
>
> I would recommend to manually add the OpenMPI libraries to the list of libraries to be linked against.
>
> Matthias
>


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