You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
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
The text was updated successfully, but these errors were encountered: