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
cblas.h : no such file or directory #3599
Comments
Try /home instead of home for BLAS_INCLUDE and BLAS_LIB? |
|
I am trying to setup Caffe in RHEL. But when i do 'make all' i am getting the following error I have OpenBLAS installed and have set BLAS := open in Makefile.config as well |
cblas.h on RHEL comes via yum install atlas-devel. It places it in /usr/include/ |
An old issue, and closed, but it is one of the top google hits. I was getting interference from conda/bionconda cblas. Remember to deactivate conda before compiling. My bad ... |
I`m trying to compile caffe, and get such an output:
dmitry@dmitry-TravelMate-P253:~/odt/caffe-master$ make all
CXX src/caffe/internal_thread.cpp
In file included from ./include/caffe/util/math_functions.hpp:11:0,
from src/caffe/internal_thread.cpp:5:
./include/caffe/util/mkl_alternate.hpp:11:19: fatal error: cblas.h: No such file or directory
#include cblas.h
^
compilation terminated.
make: *** [.build_release/src/caffe/internal_thread.o] Error 1
I`m using OpenBLAS, and had already edited the Makefile.config:
BLAS := open
BLAS_INCLUDE := home/dmitry/odt/open-blas/include
BLAS_LIB := home/dmitry/odt/open-blas/lib
But error still appers. Does it try to use MKL instead of OpenBLAS, and how to fix that?
The text was updated successfully, but these errors were encountered: