Boost logo

Boost Users :

Subject: [Boost-users] Betweenness Centrality Test
From: Mayank Bakshi (mayank.bakshi_at_[hidden])
Date: 2015-07-20 06:23:22


I tried to run BC test using boost mpi(version 1_58_0) in $BOOST_ROOT/libs/graph_parallel/test/

In parallel mpi Betweenness Centrality algorithm, there are two #defines: Compressed sparse row(CSR) and adjacency list, when I comment "#define CSR" in distributed_betweenness_centrality_test.cpp, then for adjacency list the code does not compile.

I am compiling with:
mpic++ distributed_betweenness_centrality_test.cpp -I/home/mayank/algo/boost_1_58_0/ -L/home/mayank/algo/boost_1_58_0/stage/lib -lboost_serialization -lboost_mpi -lboost_graph_parallel -lboost_system

The following error comes:
distributed_betweenness_centrality_test.cpp:147:12: error: no matching function for call to ‘boost::adjacency_list<boost::vecS, boost::distributedS<boost::graph::distributed::mpi_process_group, boost::vecS>, boost::directedS, boost::no_property, boost::property<boost::edge_weight_t, int> >::adjacency_list(boost::edges_are_sorted_t, ERIter, ERIter, generator_iterator<boost::uniform_int<int>, boost::random::linear_congruential_engine<unsigned int, 48271u, 0u, 2147483647u> >, int&)’

Can anyone help me to resolve the error

Thanks & Regards
Mayank Bakshi
Tata Consultancy Services Limited
Cell:- 7083955990
Experience certainty. IT Services
Business Solutions

Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at