Building Boost 1.4.4 with mpi enabled.

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 : mpicxx : <include>C:\\openmpi \\installed\\include <library-path>C:\\openmpi )\\installed\\lib : C:\\openmpi \\installed\\bin\\mpirun ; - The '--with-mpi' flag has been added to the call to bjam.exe. When I build I boost I get a number of unresolved external symbols: packed_skeleton_iarchive.obj : error LNK2001: unresolved external symbol ompi_mpi_byte packed_skeleton_oarchive.obj : error LNK2001: unresolved external symbol ompi_mpi_byte point_to_point.obj : error LNK2001: unresolved external symbol ompi_mpi_byte request.obj : error LNK2001: unresolved external symbol ompi_mpi_byte ... request.obj : error LNK2001: unresolved external symbol ompi_request_null mpi_datatype_cache.obj : error LNK2001: unresolved external symbol ompi_mpi_datatype_null bin.v2\libs\mpi\build\msvc-9.0\debug\address-model-64\threading-multi\boost_mpi-vc90-mt-gd-1_44.dll : fatal error LNK1120: 15 unresolved externals After looking at the call to link I can see that it is not linking to any of the Open MPI libs: link /NOLOGO /INCREMENTAL:NO /DLL /DEBUG /MACHINE:X64 /subsystem:console /out:"bin.v2\libs\mpi\build\msvc-9.0\debug\address-model-64\threading-multi\boost_mpi-vc90-mt-gd-1_44.dll" /IMPLIB:"bin.v2\libs\mpi\build\msvc-9.0\debug\address-model-64\threading-multi\boost_mpi-vc90-mt-gd-1_44.lib" /LIBPATH:"d:\thirdparty\msvc2008\x64\OPENMPI\1.6\installed\lib" @"bin.v2\libs\mpi\build\msvc-9.0\debug\address-model-64\threading-multi\boost_mpi-vc90-mt-gd-1_44.dll.rsp" Any help with this would be appreciated, Mike
participants (1)
-
Mike Van Duzee