|
Boost-Build : |
Subject: Re: [Boost-build] Building Boost 1.44 with mpi enabled
From: Matthias Troyer (troyer_at_[hidden])
Date: 2012-07-30 13:18:39
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