-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Make fails with errors on ubuntu 14.04 with OpenBlas #15
Comments
Hi OK, I repro the error in a docker Ubuntu 14.04. Checking how to solve... |
On ubuntu 14, Lapack is not included in the openblas library. You need to install it separately and link with it:
Then add to makefile.inc
I updated the instructions in |
I could make cpu interfaces, but when I tried doing this on GPU, essentially the same OS (tensorflow docker container) I ended up with following error (both for make as well as make py, I could fix it so only showing make py one for brevity).
This happens due to -Xlinker being applied only to the first argument and not the second one. I edited makefile.inc to manually apply the flag to both libraries and it seems to have worked
By changing this into following (essentially repeating -Xlinker), the error went away.
|
Thanks @AKSHAYUBHAT, faiss works now! |
Thanks @AKSHAYUBHAT |
After installing openblas
apt-get update && apt-get install -y libopenblas-dev
and changing Makefile.inc
Here is my Makefile.inc
Makefile.inc : https://github.com/AKSHAYUBHAT/DeepVideoAnalytics/blob/master/faiss/makefile.inc
make fails with following error
The text was updated successfully, but these errors were encountered: