On 02/06/2013 08:22 PM, marcov wrote:
thank you very much for your reply Tiago.
unfortunately, I'm having the same issue on a 12.04 machine too: the pre-compiled version of graphtool fetched from the repository does not run betweenness centrality in parallel. Manually compiling the library solves the issue.
At this point I believe there's probably something wrong (and stupid) I'm doing somewhere.. I would past you my python code but it won't be of much help since it does not really do much other than reading the graph and calling gt.betweenness() with my graph and my edge weights map.
maybe there's some issue with the way I installed the library? Should I install the python-graph-tool package too?
You should _only_ install the python-graph-tool package, since it replaces the old graph-tool package entirely. The graph-tool package is an older version, which indeed was not compiled with openmp enabled. Cheers, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>