In case other mac users stumble on this discussion: It is quite painful to try to install openMP for clang, after much trying I was not able to get it to work. This may change once OpenMP is officially supported in Clang 3.5
In the meantime, I’m now running Ubuntu Linux via Parallels on Mac. Graph-tool is running betweenness computations on all eight cores of my mac... -> always makes me smile to see all cores working hard. So, if you’re a mac user, the relatively small cost of parallels is worth it. Ubuntu is free, and relatively easy to set up, though there are some bugs (Linux<->Parallels) like blank screens that are resolved relatively easily with a bit of googling. My point is, if you’re a mac user and you want to use all cores, then you’re probably better off spending your time getting the Linux version working on Parallels. At least until OpenMP is natively supported in Clang. Best of luck, and thanks to Tiago for help along the way. On 26 Jun 2014, at 17:22, Tiago de Paula Peixoto <[email protected]> wrote: > On 06/26/2014 06:02 PM, Gareth Simons wrote: >> Tried installing openMP support for Clang in mac, but keep running >> into various issues and errors. Giving up and thinking of running >> graph-tool in Linux on a virtual machine. > > IIRC clang 3.4 has already openmp support, but I'm not sure. You can > open a macports ticket and ask them to add a openmp variant for the > port, which could be used with clang 3.4. > > -- > Tiago de Paula Peixoto <[email protected]> > > _______________________________________________ > graph-tool mailing list > [email protected] > http://lists.skewed.de/mailman/listinfo/graph-tool _______________________________________________ graph-tool mailing list [email protected] http://lists.skewed.de/mailman/listinfo/graph-tool
