boost 1.53 parallel graph samples build or test failure on windows
Hi there,
I am a windows user and facing the similar problem as decribled in an archived thread posted by
Jeremiah Willcock in 2010, but with no practical solutions:
"Result statuses for run failures of MPI tests"
http://boost.2283326.n4.nabble.com/Result-statuses-for-run-failures-of-MPI-t...
My environment: Boost 1.53, Win7 x64, mpich2-1.3.2p1-win-ia32, Python 2.66 x86, VS2010 SP1
The content of the user-cofig.jam file used to compile boost is:
using python : 2.6 : C:\\Python266 ;
using mpi : :
<find-static-library>mpi
<library-path>"D:\\Program Files (x86)\\MPICH2\\lib"
<include>"D:\\Program Files (x86)\\MPICH2\\include"
:
"\"D:\\Program Files (x86)\\MPICH2\\bin\\mpiexec\""
;
and the bjam command is:
bjam --prefix=E:\boost_1_53_0\debug32 stage toolset=msvc-10.0 variant=debug link=static address-model=32 threading=multi
I did not use the bjam self-test to test all the parallel graph samples, but only picked some samples and build them in VS2010 and try to run. The dependencies linked in VS2010 when build these samples are:
mpi.lib
libboost_graph-vc100-mt-gd-1_53.lib
libboost_graph_parallel-vc100-mt-gd-1_53.lib
libboost_mpi-vc100-mt-gd-1_53.lib
libboost_mpi_python-vc100-mt-gd-1_53.lib
mpi-vc100-mt-gd-1_53.lib
Testing results:
No. Sample Name Build 1 proc test 2 proc test
--------------------------------------------------------------------
1 adjlist_redist_test.cpp Passed No Error No Error
-----------------------------------------------------------------------
2 adjlist_build_test.cpp Passed Error Error
Error Message:
Building graph with add_edge from everywhere...application called MPI_Abort(MPI_COMM_WORLD, -1) - process 0
application called MPI_Abort(MPI_COMM_WORLD, -1) - process 1
job aborted:
rank: node: exit code[: error message]
0: lee-win7-x64: -1: process 0 exited without calling finalize
1: lee-win7-x64: -1: process 1 exited without calling finalize
-----------------------------------------------------------------------------
3 breadth_first_search.cpp Error -- --
Error Message:
error LNK2019: unresolved external symbol "void __cdecl boost::detail::bfs_helper
participants (1)
-
lizy10b