Closed samelie closed 4 years ago
Thanks for the report!
It seems like the stock compiler on OSX doesn't have OpenMP support. You may need to install a version of GCC/Clang with OpenMP support. See issue #7
I've just made a change to try to detect lack of OpenMP support and continue regardless, although it doesn't seem to work in all cases. ParPar can run without OpenMP, however, it'll only run on one thread, so performance won't be as good.
Thanks for the reply and the pointers. I just tried following bgeet
's notes and it started working:
this was linked before, echo 'export PATH="/usr/local/opt/llvm/bin:$PATH"' >> ~/.zshrc
, but maybe I needed a restart?
I installed from source, except after the node-gyp rebuild
, I did npm i -g
Excellent work on this, you have great skill.
Thanks for confirming that it works.
I think you need to restart the shell/terminal (or open a new one) for it to read and apply the RC file, assuming that's not what you did. You can also apply it to the current shell instantly by executing the command (export PATH="/usr/local/opt/llvm/bin:$PATH"
) directly.
Versions
sw_vers
node --version
gcc --version
/usr/bin/xcodebuild -version
The error
$ npm install -g @animetosho/parpar
I've just done basic novice searching and nothing has worked. Any help appreciated