Thanks for your help. I guess the graph_parallel lib is included in the
libboost_mpi.a. I tried compiling the program adjlist_build_test.cpp in the
libs/graph_parallel/test directory but I am getting the following error.
~/bin/boostpath is the directory I gave in --prefix during install. What
could be the problem ?
[pragatheeswaran@prairiefire ~]$ cd boost_1_41_0/libs/graph_parallel/test/
[pragatheeswaran@prairiefire test]$ mpic++ -I ~/bin/boostpath/include
adjlist_build_test.cpp -L ~/bin/boostpath/lib/ -lboost_mpi
-lboost_serialization
/tmp/cce7v8wU.o: In function `__static_initialization_and_destruction_0(int,
int)':
adjlist_build_test.cpp:(.text+0xa22): undefined reference to
`boost::system::get_system_category()'
adjlist_build_test.cpp:(.text+0xa2e): undefined reference to
`boost::system::get_generic_category()'
adjlist_build_test.cpp:(.text+0xa3a): undefined reference to
`boost::system::get_generic_category()'
adjlist_build_test.cpp:(.text+0xa46): undefined reference to
`boost::system::get_generic_category()'
adjlist_build_test.cpp:(.text+0xa52): undefined reference to
`boost::system::get_system_category()'
/tmp/cce7v8wU.o: In function `test_main(int, char**)':
adjlist_build_test.cpp:(.text+0x1966): undefined reference to
`boost::graph::distributed::mpi_process_group::mpi_process_group(boost::mpi::communicator)'
adjlist_build_test.cpp:(.text+0x2076): undefined reference to
`boost::graph::distributed::communicator(boost::graph::distributed::mpi_process_group
const&)'
adjlist_build_test.cpp:(.text+0x217b): undefined reference to
`boost::graph::distributed::communicator(boost::graph::distributed::mpi_process_group
const&)'
adjlist_build_test.cpp:(.text+0x2483): undefined reference to
`boost::graph::distributed::communicator(boost::graph::distributed::mpi_process_group
const&)'
adjlist_build_test.cpp:(.text+0x2690): undefined reference to
`boost::graph::distributed::communicator(boost::graph::distributed::mpi_process_group
const&)'
adjlist_build_test.cpp:(.text+0x2d8e): undefined reference to
`boost::graph::distributed::communicator(boost::graph::distributed::mpi_process_group
const&)'
/tmp/cce7v8wU.o:adjlist_build_test.cpp:(.text+0x2e93): more undefined
references to
`boost::graph::distributed::communicator(boost::graph::distributed::mpi_process_group
const&)' follow
/tmp/cce7v8wU.o: In function `test_main(int, char**)':
adjlist_build_test.cpp:(.text+0x34cc): undefined reference to
`boost::graph::distributed::mpi_process_group::~mpi_process_group()'
adjlist_build_test.cpp:(.text+0x34e8): undefined reference to
`boost::graph::distributed::mpi_process_group::~mpi_process_group()'
/tmp/cce7v8wU.o: In function
`boost::graph::distributed::maybe_named_graph
On Wed, 25 Nov 2009, praga wrote:
Hi,
Thanks for reply.
I didnot find any libboost_graph_parallel in the installed directory.
I found only the following when I gave ls
libboost_mpi.a libboost_mpi.so.1.41.0 libboost_serialization.so libboost_mpi.so libboost_serialization.a libboost_serialization.so.1.41.0
Is it not that all are linked together in libboost_mpi.a ?
I am still not able to figure out how to run the tests in the libs/graph_parallel/test directory. Any ideas ?
Thanks, Praga.
Sorry -- I forgot that --with-mpi turned off all other libraries. Try adding --with-graph_parallel to your build line.
-- Jeremiah Willcock _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users