I guess you are right.. I have some problems with some basic boost mpi stuffs itself..
#include <boost/mpi/environment.hpp> #include <boost/mpi/communicator.hpp> #include <iostream> namespace mpi = boost::mpi; int main(int argc, char* argv[]) { mpi::environment env(argc, argv); mpi::communicator world; std::cout << "I am process " << world.rank() << " of " << world.size() << "." << std::endl; return 0; }
On Wed, 25 Nov 2009, praga wrote:
Do you get the warning about MPI not being found? Does your libboost_mpi.{a,so} contain any symbols (use nm -D on the .so file)? Which lib directory are you looking in? The one in ~/bin/boostpath/lib? I'm just checking the "obvious" things to look for simple problems first.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
-- Jeremiah Willcock
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users