When I did a install I indeed saw the graph_parallel being linked but when I
did an ls I didnt find any extra files. Could you please let me know where I
went wrong?
pragatheeswaran@prairiefire boost_1_41_0]$ bjam --with-mpi
--with-graph_parallel install --prefix=~/bin/boostpath/
warning: No toolsets are configured.
warning: Configuring default toolset "gcc".
warning: If the default is wrong, your build may not work correctly.
warning: Use the "toolset=xxxxx" option to override our guess.
warning: For more configuration options, please consult
warning:
http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html
...patience...
...patience...
...found 17726 targets...
...updating 3 targets...
common.copy ~/bin/boostpath/lib/libboost_graph_parallel.a
common.copy ~/bin/boostpath/lib/libboost_graph_parallel.so.1.41.0
ln-UNIX ~/bin/boostpath/lib/libboost_graph_parallel.so
...updated 3 targets...
ls output
[pragatheeswaran@prairiefire lib]$ 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
Thanks,
Praga.
On Wed, Nov 25, 2009 at 12:32 PM, Jeremiah Willcock
On Wed, 25 Nov 2009, praga wrote:
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 ?
There should be a libboost_graph_parallel.a; the parallel graph stuff should not be in libboost_mpi.a. When you link your code, you need the libraries you listed plus -lboost_system and -lboost_graph_parallel.
-- Jeremiah Willcock _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users