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>