Boost logo

Boost Users :

Subject: Re: [Boost-users] Betweenness Centrality Test
From: Marcin Zalewski (marcin.zalewski_at_[hidden])
Date: 2015-07-28 07:20:50


Mayank,

I just compiled this on my system without any problem. Could it be a quirky
compiler?

-m

On Mon, Jul 20, 2015 at 6:24 AM Mayank Bakshi <mayank.bakshi_at_[hidden]> wrote:

> Hi,
>
> I tried to run BC test using boost mpi(version 1_58_0) in
> $BOOST_ROOT/libs/graph_parallel/test/
> distributed_betweenness_centrality_test.cpp.
>
> 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
> Mailto: mayank.bakshi_at_[hidden]
> Website: http://www.tcs.com
> ____________________________________________
> Experience certainty. IT Services
> Business Solutions
> Consulting
> ____________________________________________
>
> =====-----=====-----=====
> 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 mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users



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