SheffieldML / deepGPy

Deep GPs with GPy
BSD 3-Clause "New" or "Revised" License
31 stars 10 forks source link

Running deepGPy on OSX #8

Closed li-xia closed 8 years ago

li-xia commented 8 years ago

Hi guys,

I was trying to use deepGPy on OSX, I noticed that the code attempts to use openMP which is not supported by OSX (it uses LLVM) which throws error of <omp.h> not found. So I used a Homebrew version Clang version wrapper clang-omp and manually copied the header file and some libs to the include path of my python env.

The code (I used 'step_fn_demo.py') finally works without using 'extra_link_args' and 'Libraries'. I was wondering is this a right way to put up deepGPy on OSX?

Many thanks.

lawrennd commented 8 years ago

Sounds fine! Would you be able to submit your process to the README as a pull request?

Neil

On Wed, May 18, 2016 at 6:07 AM, li-xia notifications@github.com wrote:

Hi guys,

I was trying to use deepGPy on OSX, I noticed that the code attempts to use openMP which is not supported by OSX (it uses LLVM) which throws error of not found. So I used a Homebrew version Clang version wrapper clang-omp and manually copied the header file and some libs to the include path of my python env.

The code (I used 'step_fn_demo.py') finally works without using 'extra_link_args' and 'Libraries'. I was wondering is this a right way to put up deepGPy on OSX?

Many thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/SheffieldML/deepGPy/issues/8

li-xia commented 8 years ago

It's done. I have created a brunch and merged. Thanks for the reply.

lawrennd commented 8 years ago

Thanks Harvey! I've accepted the pull request.

On Wed, May 18, 2016 at 8:02 AM, Harvey Li notifications@github.com wrote:

It's done. I have created a brunch and merged. Thanks for the reply.

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/SheffieldML/deepGPy/issues/8#issuecomment-219942343