Hi Tiago,
First of all, thank you for this great library!
As I am affected by the shortest_path bug described in http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/..., I would like to install the latest version of graph-tool which includes a fix.
Unfortunately, my current machine doesn't have enough RAM to allow me to compile from the sources.
Could you generate and upload pre-compiled packages for ver. 2.2.32? I'm personally using Ubuntu 14.04 but a version bump for every distrib would be the best!
Best, Paul
-- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.
On 10.09.2014 14:26, paob wrote:
Hi Tiago,
First of all, thank you for this great library!
As I am affected by the shortest_path bug described in http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/..., I would like to install the latest version of graph-tool which includes a fix.
Unfortunately, my current machine doesn't have enough RAM to allow me to compile from the sources.
Could you generate and upload pre-compiled packages for ver. 2.2.32? I'm personally using Ubuntu 14.04 but a version bump for every distrib would be the best!
I'm building the precompiled packages; please have some patience. The new version was released yesterday.
(BTW, the new version requires less memory for compilation)
Best, Tiago
Thank you very much, I'll wait patiently = )
(yep, I noticed that gcc has time to compile more files than last version, it still runs out of memory on my machine though)
Best, Paul
-- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.
On 10.09.2014 15:52, paob wrote:
Thank you very much, I'll wait patiently = )
It should be ready sometime later today.
(yep, I noticed that gcc has time to compile more files than last version, it still runs out of memory on my machine though)
Just out of curiosity, how much ram do you have? How about using clang?
Best, Tiago
Wow, I didn't expect the packages to be ready this soon! Thanks a lot!
Back to my specific installation : my machine has a mere 4GB of RAM. Following your advice I installed and tried to use clang but so far I'm not getting anywhere...
The command I'm using right now to configure is: CC=clang CXX=clang++ ./configure --with-sparsehash-prefix=/usr/include/google
When I make, I get the following error message:
make all-recursive make[1]: Entering directory `/home/.../graph-tool-2.2.32' Making all in src make[2]: Entering directory `/home/.../graph-tool-2.2.32/src' Making all in graph make[3]: Entering directory `/home/.../graph-tool-2.2.32/src/graph' Making all in centrality make[4]: Entering directory `/home/.../graph-tool-2.2.32/src/graph/centrality' CXX graph_pagerank.lo warning: unknown warning option '-Wno-unused-local-typedefs' [-Wunknown-warning-option] In file included from graph_pagerank.cc:18: In file included from ./../graph_filtering.hh:21: ./../graph.hh:167:5: error: too many template parameters in template redeclaration template <class Action, class GraphViews, class Wrap, class TR1, class TR2,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../graph.hh:50:1: note: previous template declaration is here template <class Action, class GraphViews, class Wrap = boost::mpl::false_, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from graph_pagerank.cc:18: In file included from ./../graph_filtering.hh:55: ./../mpl_nested_loop.hh:91:40: error: use 'template' keyword to treat 'join' as a dependent template name nested_for_each_imp<TRS...>(_a.join<T>()); ^ template In file included from graph_pagerank.cc:18: ./../graph_filtering.hh:482:27: error: '_mg' is a private member of 'graph_tool::GraphInterface' max(g._mg->get_last_index(), size_t(1))) {} ^ ./../graph_filtering.hh:512:16: note: in instantiation of member function
'graph_tool::detail::graph_actionstd::_Bind<graph_tool::get_pagerank (std::_Placeholder<1, boost::typed_identity_property_map<unsigned int>, std::_Placeholder<2>, std::_Placeholder<3>, std::_Placeholder<4>, double, double, unsigned int, std::reference_wrapper<unsigned int>)>, graph_tool::detail::all_graph_views, mpl_::bool_<false>, boost::mpl::v_item<boost::checked_vector_property_map<long double, boost::typed_identity_property_map<unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<double, boost::typed_identity_property_map<unsigned int> >, boost::mpl::vector0<mpl_::na>, 0>, 0>, boost::mpl::v_item<graph_tool::ConstantPropertyMap<double, unsigned int>, boost::mpl::v_itemboost::typed_identity_property_map<unsigned int, boost::mpl::v_item<boost::checked_vector_property_map<long double, boost::typed_identity_property_map<unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<double, boost::typed_identity_property_map<unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<long long, boost::typed_identity_property_map<unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<int, boost::typed_identity_property_map<unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<short, boost::typed_identity_property_map<unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<unsigned char, boost::typed_identity_property_map<unsigned int> >, boost::mpl::vector0<mpl_::na>, 0>, 0>, 0>, 0>, 0>, 0>, 0>, 0>, boost::mpl::v_item<graph_tool::ConstantPropertyMap<double, boost::adj_list<unsigned int>::edge_descriptor>, boost::mpl::v_itemboost::adj_edge_index_property_map<unsigned int, boost::mpl::v_item<boost::checked_vector_property_map<long double, boost::adj_edge_index_property_map<unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<double, boost::adj_edge_index_property_map<unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<long long, boost::adj_edge_index_property_map<unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<int, boost::adj_edge_index_property_map<unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<short, boost::adj_edge_index_property_map<unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<unsigned char, boost::adj_edge_index_property_map<unsigned int> >, boost::mpl::vector0<mpl_::na>, 0>, 0>, 0>, 0>, 0>, 0>, 0>, 0>
::graph_action'
requested here return detail::graph_action<Action,GraphViews,Wrap,TRS...>(g, std::forward<Action>(a)); ^ graph_pagerank.cc:59:9: note: in instantiation of function template specialization 'graph_tool::run_action<graph_tool::detail::all_graph_views, mpl_::bool_<false> >::operator()<std::_Bind<graph_tool::get_pagerank (std::_Placeholder<1>, boost::typed_identity_property_map<unsigned int>, std::_Placeholder<2>, std::_Placeholder<3>, std::_Placeholder<4>, double, double, unsigned int, std::reference_wrapper<unsigned int>)>, boost::mpl::v_item<boost::checked_vector_property_map<long double, boost::typed_identity_property_map<unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<double, boost::typed_identity_property_map<unsigned int> >, boost::mpl::vector0<mpl_::na>, 0>, 0>, boost::mpl::v_item<graph_tool::ConstantPropertyMap<double, unsigned int>, boost::mpl::v_itemboost::typed_identity_property_map<unsigned int, boost::mpl::v_item<boost::checked_vector_property_map<long double, boost::typed_identity_property_map<unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<double, boost::typed_identity_property_map<unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<long long, boost::typed_identity_property_map<unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<int, boost::typed_identity_property_map<unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<short, boost::typed_identity_property_map<unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<unsigned char, boost::typed_identity_property_map<unsigned int> >, boost::mpl::vector0<mpl_::na>, 0>, 0>, 0>, 0>, 0>, 0>, 0>, 0>, boost::mpl::v_item<graph_tool::ConstantPropertyMap<double, boost::adj_list<unsigned int>::edge_descriptor>, boost::mpl::v_itemboost::adj_edge_index_property_map<unsigned int, boost::mpl::v_item<boost::checked_vector_property_map<long double, boost::adj_edge_index_property_map<unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<double, boost::adj_edge_index_property_map<unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<long long, boost::adj_edge_index_property_map<unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<int, boost::adj_edge_index_property_map<unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<short, boost::adj_edge_index_property_map<unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<unsigned char, boost::adj_edge_index_property_map<unsigned int> >, boost::mpl::vector0<mpl_::na>, 0>, 0>, 0>, 0>, 0>, 0>, 0>, 0> >' requested here (g, std::bind(get_pagerank(), ^ ./../graph.hh:177:30: note: declared private here shared_ptr<multigraph_t> _mg; ^ In file included from graph_pagerank.cc:18: ./../graph_filtering.hh:481:43: error: '_mg' is a private member of 'graph_tool::GraphInterface' : _g(g), _a(a, g, num_vertices(*g._mg), ^ ./../graph.hh:177:30: note: declared private here shared_ptr<multigraph_t> _mg; ^ 1 warning and 4 errors generated. make[4]: *** [graph_pagerank.lo] Error 1 make[4]: Leaving directory `/home/.../graph-tool-2.2.32/src/graph/centrality' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/.../graph-tool-2.2.32/src/graph' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/.../graph-tool-2.2.32/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/.../graph-tool-2.2.32' make: *** [all] Error 2
-- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.
Thank you very much Tiago! I didn't expect to get ver. 2.2.34 = )
If you need me to look further into that clang error message, tell me!
Best, Paul
-- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.
Ok, seems like the clang issue is resolved: https://git.skewed.de/count0/graph-tool/issues/183
Best, Paul
-- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.
On 11.09.2014 13:23, paob wrote:
Ok, seems like the clang issue is resolved: https://git.skewed.de/count0/graph-tool/issues/183
Yes, it should be working now!
Best, Tiago