kwikteam / klustakwik2

Fast software for high-dimensional cluster analysis using the masked EM algorithm for Gaussians mixtures
BSD 3-Clause "New" or "Revised" License
31 stars 13 forks source link

Compilation fails on Mac due to no OpenMP support #50

Closed nippoo closed 9 years ago

nippoo commented 9 years ago
26 warnings generated.
ld: library not found for -lgomp
clang: error: linker command failed with exit code 1 (use -v to see invocation)
E
======================================================================
ERROR: Failure: ImportError (Building module klustakwik2.numerics.cylib.e_step_cy failed: ["LinkError: command 'gcc' failed with exit status 1\n"])
----------------------------------------------------------------------
thesamovar commented 9 years ago

This should be relatively easily solvable by disabling OpenMP when building on Mac. Maybe some complexities to do with having prange or range in the Cython code. I won't do anything on this for the moment because we might drop Cython code if the idea of distributing over machines/processes works out.

nippoo commented 9 years ago

Coolio. Just makes it a bit trickier to develop on my MacBook, haha!

thesamovar commented 9 years ago

Of course if you want to fix it I'd be happy with that. :)

nippoo commented 9 years ago

This is now closed thanks to #52