Boost logo

Boost Users :

Subject: [Boost-users] boost 1.53 parallel graph samples build or test failure on windows
From: lizy10b (lizy10b_at_[hidden])
Date: 2013-05-24 20:33:25


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-tests-td2706496.html

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<class boost::adjacency_list<struct boost::vecS...
------------------------------------------------------------------------------
4 dijkstra_shortest_paths.cpp Passed No Error No Error
-------------------------------------------------------------------------------
5 distributed_csr_test.cpp 18 Errors -- --
 Error Messags (3 of 18):
Error 5 error C2039: 'key_type' : is not a member of 'boost::property_traits<PA>' e:\boost\boost_1_53_0\debug32\include\boost-1_53\boost\graph\distributed\compressed_sparse_row_graph.hpp 1904 1 boost_test_1
Error 6 error C2146: syntax error : missing ';' before identifier 'local_key_type' e:\boost\boost_1_53_0\debug32\include\boost-1_53\boost\graph\distributed\compressed_sparse_row_graph.hpp 1904 1 boost_test_1
Error 12 error C2602: 'boost::property_map<Graph,Property,Enable>::value_type' is not a member of a base class of 'boost::property_map<Graph,Property,Enable>' e:\boost\boost_1_53_0\debug32\include\boost-1_53\boost\graph\distributed\compressed_sparse_row_graph.hpp 1906 1 boost_test_1
-----------------------------------------------------------------------------------------
 
So where is the problem?
Any help is appreciated.
Thanks

Zhiyu Li
Student
China

2013-05-25

lizy10b



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net