Skip to content
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

openBLAS not found #12

Open
gabora opened this issue Jun 28, 2019 · 3 comments
Open

openBLAS not found #12

gabora opened this issue Jun 28, 2019 · 3 comments

Comments

@gabora
Copy link

gabora commented Jun 28, 2019

Hi,
I installed OpenBLAS, but the setup.py didn't find it.

The problem is that I didnt install OpenBLAS to any of the presumed locations (/opt/... or /usr/...) in setup.py (defined in the ldirs variable) because I have no permission to install there.

As a user I only get the error message,
/usr/bin/ld: cannot find -lopenblas

Once I added modified the ldirs variable and added the correct OpenBLAS path, this issue was solved.

please consider adding a better error message, or maybe highlight in the installation process, that OpenBLAS has to be installed to a certain location.
thanks for considering, let's save some time for others.
best,
Attila

@jaak-s
Copy link
Owner

jaak-s commented Jun 28, 2019

Hi,
Thanks for the bug report. I'll make it more clear in the installation instructions where the OpenBLAS is searched for.
best,
Jaak

@jordantkohn
Copy link

Hi,
What is the correct OpenBLAS path? just a path to the OpenBLAS directory itself, or something within it?

@jaak-s
Copy link
Owner

jaak-s commented Sep 16, 2020

Hi,
It is the libs directory of OpenBLAS.
The line to modify is setup.py:110
ldirs = ["/opt/OpenBLAS/lib", "/usr/local/lib", "/usr/lib/openblas-base", "/usr/local/lib/gcc/7", "/usr/local/opt/openblas/lib", "/usr/local/opt/gcc/lib/gcc/5"].
best,
Jaak

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants