Boost logo

Boost Users :

Subject: Re: [Boost-users] [parallel graph] error building parallel BGL
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2013-02-25 12:52:08


On Mon, 25 Feb 2013, The Maschine wrote:

> Hi
> ./b2 libs/graph_parallel/example
> No it didnt work. 
>
> Tasos
> #######
>
>   "typeinfo for boost::mpi::exception", referenced from:
>       typeinfo for boost::exception_detail::error_info_injector<boost::mpi::exception>in dijkstra_shortest_paths.o
>   "vtable for boost::mpi::exception", referenced from:
>       boost::mpi::exception::exception(boost::mpi::exception const&)in dijkstra_shortest_paths.o
>   NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
> ld: symbol(s) not found for architecture x86_64
> collect2: ld returned 1 exit status
>
>     "g++" -L"/usr/local/Cellar/open-mpi/1.6.3/lib" -o "bin.v2/libs/graph_parallel/example/darwin-4.2.1/debug/dijkstra_shortest_paths"
> "bin.v2/libs/graph_parallel/example/darwin-4.2.1/debug/dijkstra_shortest_paths.o" "bin.v2/libs/system/build/darwin-4.2.1/debug/libboost_system.dylib"
> "bin.v2/libs/graph_parallel/build/darwin-4.2.1/debug/libboost_graph_parallel.dylib" "bin.v2/libs/serialization/build/darwin-4.2.1/debug/libboost_serialization.dylib"
>   -lm -lmpi -lmpi_cxx    -g 
>        
>
> ...failed darwin.link bin.v2/libs/graph_parallel/example/darwin-4.2.1/debug/dijkstra_shortest_paths...
> ...failed updating 2 targets...

You need to also link against Boost.MPI (-lboost_mpi or
libboost_mpi.dylib).

-- Jeremiah Willcock


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