Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save melvincabatuan/543a9c52139681cf7fd7 to your computer and use it in GitHub Desktop.
Save melvincabatuan/543a9c52139681cf7fd7 to your computer and use it in GitHub Desktop.
cblas.h: No such file or directory
[root@cobalt caffe]# make pycaffe
PROTOC src/caffe/proto/caffe.proto
CXX .build_release/src/caffe/proto/caffe.pb.cc
CXX src/caffe/layers/bnll_layer.cpp
In file included from ./include/caffe/util/math_functions.hpp:11:0,
from ./include/caffe/syncedmem.hpp:7,
from ./include/caffe/blob.hpp:10,
from ./include/caffe/layer.hpp:8,
from src/caffe/layers/bnll_layer.cpp:4:
./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/layers/bnll_layer.o] Error 1
@melvincabatuan
Copy link
Author

Set Blas:

BLAS_INCLUDE := /opt/openblas/include
BLAS_LIB := /opt/openblas/lib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment