Boost logo

Boost Testing :

Subject: [Boost-testing] boost 1.53 parallel graph samples build or test failures on windows
From: lizy10b (lizy10b_at_[hidden])
Date: 2013-05-22 21:52:50


Hi there,

I am a windows user and facing the same problem as decribled in a previous threaded by
Jeremiah Willcock in 2010:
"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_atomic-vc100-mt-gd-1_53.lib
libboost_bzip2-vc100-mt-gd-1_53.lib
libboost_chrono-vc100-mt-gd-1_53.lib
libboost_context-vc100-mt-gd-1_53.lib
libboost_date_time-vc100-mt-gd-1_53.lib
libboost_exception-vc100-mt-gd-1_53.lib
libboost_filesystem-vc100-mt-gd-1_53.lib
libboost_graph-vc100-mt-gd-1_53.lib
libboost_graph_parallel-vc100-mt-gd-1_53.lib
libboost_iostreams-vc100-mt-gd-1_53.lib
libboost_locale-vc100-mt-gd-1_53.lib
libboost_math_c99-vc100-mt-gd-1_53.lib
libboost_math_c99f-vc100-mt-gd-1_53.lib
libboost_math_c99l-vc100-mt-gd-1_53.lib
libboost_math_tr1-vc100-mt-gd-1_53.lib
libboost_math_tr1f-vc100-mt-gd-1_53.lib
libboost_math_tr1l-vc100-mt-gd-1_53.lib
libboost_mpi-vc100-mt-gd-1_53.lib
libboost_mpi_python-vc100-mt-gd-1_53.lib
libboost_prg_exec_monitor-vc100-mt-gd-1_53.lib
libboost_program_options-vc100-mt-gd-1_53.lib
libboost_python-vc100-mt-gd-1_53.lib
libboost_random-vc100-mt-gd-1_53.lib
libboost_regex-vc100-mt-gd-1_53.lib
libboost_serialization-vc100-mt-gd-1_53.lib
libboost_signals-vc100-mt-gd-1_53.lib
libboost_system-vc100-mt-gd-1_53.lib
libboost_test_exec_monitor-vc100-mt-gd-1_53.lib
libboost_thread-vc100-mt-gd-1_53.lib
libboost_timer-vc100-mt-gd-1_53.lib
libboost_unit_test_framework-vc100-mt-gd-1_53.lib
libboost_wave-vc100-mt-gd-1_53.lib
libboost_wserialization-vc100-mt-gd-1_53.lib
libboost_zlib-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 my prolem?
Any help is appreciated.
Thanks

Zhiyu Li
Student
China

2013-05-23

lizy10b



Boost-testing list run by mbergal at meta-comm.com