OpenMP support on Ubuntu Raring
hello, has the package for Ubuntu Raring been compiled with OpenMP support? I wanted to compute betweenness centrality in parallel on a machine with 8 cores, but only one was being used. Fetching the source package and compiling it explicitly with OpenMP support has solved the issue.. thanks, m -- 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 02/06/2013 10:59 AM, marcov wrote:
hello,
has the package for Ubuntu Raring been compiled with OpenMP support? I wanted to compute betweenness centrality in parallel on a machine with 8 cores, but only one was being used. Fetching the source package and compiling it explicitly with OpenMP support has solved the issue..
It should have been compiled with openmp... I'll verify this, and if necessary fit it for the next release. -- Tiago de Paula Peixoto <tiago@skewed.de>
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? thank you again, m. -- 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 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>
participants (2)
-
marcov -
Tiago de Paula Peixoto