Reputation: 63
I am trying to install Caffe on Ubuntu 16.04, but I encounter a build error related to cublas_v2.h when running the make all command.
Here’s the error output:
PROTOC src/caffe/proto/caffe.proto
CXX .build_release/src/caffe/proto/caffe.pb.cc
CXX src/caffe/solvers/sgd_solver.cpp
In file included from ./include/caffe/common.hpp:19:0,
from ./include/caffe/blob.hpp:8,
from ./include/caffe/net.hpp:10,
from ./include/caffe/solver.hpp:7,
from ./include/caffe/sgd_solvers.hpp:7,
from src/caffe/solvers/sgd_solver.cpp:4:
./include/caffe/util/device_alternate.hpp:34:23: fatal error: cublas_v2.h: No such file or directory
compilation terminated.
Makefile:591: recipe for target '.build_release/src/caffe/solvers/sgd_solver.o' failed
make: *** [.build_release/src/caffe/solvers/sgd_solver.o] Error 1
Steps I've Taken:
Why is the compiler unable to find cublas_v2.h even though it exists in the CUDA directory? How do I ensure that the build process correctly locates the CUDA files?
Upvotes: 1
Views: 382