-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
missing openblas error #54
Comments
Sorry about this inconvenience, I am redesigning the You can install openblas using However, I recommend to download the openblas source from its repo and install from the source code. It gives way better performance than using |
Thanks Liang. No problem. I'm trying some variations on plotting functions. I'll come back with questions (or possibly a PR) once I have had a chance to experiment and think about whether any additions/changes would make sense. I didn't know that trick for homebrew. Thanks. I had tried using I had tried installing Anyway, I have openblas installed from source now (whew--that takes a long time to build) and have been able to build and install Owl. Very nice about performance! Thanks. |
fwiw, i have had good experiences with openblas on mac. specifically, the accelerate framework on mac also provides lapack, but for me this gave errors when combining it with parmap for fork-based parallelization. forking is apparently not supported in accelerate. |
I did a simple speed comparison before and after installing openBLAS and recompiling and installing Owl, and my little application was two to 2-1/2 times faster. |
Indeed, for most linear algebra and math operations, Owl should be at least as fast as julia (given the right openblas is linked to). But there is still a lot of space to further optimise owl's other operations (julia is very well designed :) |
It looks like building the current version of Owl requires that openblas be installed, specifically under /usr/local/opt/openblas:
Building and installing openblas got me past this error (there doesn't seem to be a pre-built version for MacOS), but it looks like you have to install openblas using
make PREFIX=/usr/local/opt/openblas install
in order for the Owl build scripts to find it. (I thoughtPREFIX=/usr/local/opt
would put openblas in the right place, but that's incorrect.)If this is all as expected, then it would be useful to have this information in the README.
Thanks again-
The text was updated successfully, but these errors were encountered: