Is this a limitation of macports or the mac environment itself? For example, if I install this: http://clang-omp.github.io Then is there a way to get graph-tool running with openmp? Thanks. On 26 Jun 2014, at 07:53, Tiago de Paula Peixoto <tiago@skewed.de> wrote:
On 06/26/2014 02:52 AM, Gareth Simons wrote:
I have installed graph-tool and am doing some tests. One of these was a betweenness calculation, where it appears that only one core was being utilised.
I installed via macports whereby the configuration is fully automatic. I’m therefore assuming that macports by default doesn’t enable openmp (—enable-openmp) ?
Is there a way to enable this via a macports install, or should I install via home-brew instead?
The only supported compiler in MacOS which is capable of compiling c++11 code is clang, which does not yet have openmp support.
You may try to use GCC with macports, but AFAIK it does not work very well. You can open a ticket at:
https://trac.macports.org/auth/login/?next=/newticket
And ask the macports maintainers to add an 'openmp' variant which could be used with GCC.
Best, Tiago
-- Tiago de Paula Peixoto <tiago@skewed.de>
_______________________________________________ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool