Code Monkey home page Code Monkey logo

Comments (7)

twitched avatar twitched commented on June 29, 2024 32

brew install libomp, mentioned at https://stackoverflow.com/a/52871786/160829 seems to work if you use brew.

from modelmetrics.

JackStat avatar JackStat commented on June 29, 2024 1

Apple kind of messed things up for openmp by forcing creating a symlink called clang to gcc... and broke some functionality. This stackoverflow has more information. If you get the proper version it will work. In the mean time I may need to rewrite without openmp.

https://stackoverflow.com/questions/25990296/how-to-include-omp-h-in-os-x

from modelmetrics.

JackStat avatar JackStat commented on June 29, 2024 1

omp seems to be becoming a problem. If anyone has any ideas on a replacement let me know

from modelmetrics.

rstub avatar rstub commented on June 29, 2024 1

omp seems to be becoming a problem. If anyone has any ideas on a replacement let me know

Have you tried RcppParallel?

BTW, from my reading of WRE I would think you have to add suitable compiler flags to enable OpenMP.

from modelmetrics.

ifernandolopez avatar ifernandolopez commented on June 29, 2024

See how I solved it here:
https://stackoverflow.com/a/52871786/160829

from modelmetrics.

swvanderlaan avatar swvanderlaan commented on June 29, 2024

brew install libomp, mentioned at https://stackoverflow.com/a/52871786/160829 seems to work if you use brew.

That was an awesome tip!

from modelmetrics.

karoliskoncevicius avatar karoliskoncevicius commented on June 29, 2024

For people using MacPorts instead of homebrew - use +top_level variant to add "omp.h" to /libs/

sudo port install libomp +top_level

from modelmetrics.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.