Install all required dependency, such as widely mentioned libatlas-base-dev
System configuration
Operating system: ubuntu 16.04
CUDA version: 10.2.89
CUDNN version: 7.1
BLAS: 0.2.18-1ubuntu1
output:
CXX src/caffe/layers/lstm_unit_layer.cpp
In file included from /usr/local/cuda/include/channel_descriptor.h:61:0,
from /usr/local/cuda/include/cuda_runtime.h:95,
from ./include/caffe/util/device_alternate.hpp:36,
from ./include/caffe/common.hpp:19,
from ./include/caffe/blob.hpp:8,
from ./include/caffe/layer.hpp:8,
from src/caffe/layers/lstm_unit_layer.cpp:5:
/usr/local/cuda/include/cuda_runtime_api.h:1837:101: error: use of enum ‘cudaDeviceP2PAttr’ without previous declaration
extern __host__ __cudart_builtin__ cudaError_t CUDARTAPI cudaDeviceGetP2PAttribute(int *value, enum cudaDeviceP2PAttr attr, int srcDevice, int dstDevice);
^
/usr/local/cuda/include/cuda_runtime_api.h:2297:25: error: expected ‘)’ before ‘*’ token
typedef void (CUDART_CB *cudaStreamCallback_t)(cudaStream_t stream, cudaError_t status, void *userData);
^
/usr/local/cuda/include/cuda_runtime_api.h:2365:9: error: ‘cudaStreamCallback_t’ has not been declared
cudaStreamCallback_t callback, void *userData, unsigned int flags);
^
/usr/local/cuda/include/cuda_runtime_api.h:9580:60: error: ‘cudaGraphExec_t’ was not declared in this scope
extern __host__ cudaError_t CUDARTAPI cudaGraphExecDestroy(cudaGraphExec_t graphExec);
^
/usr/local/cuda/include/cuda_runtime_api.h:9600:56: error: ‘cudaGraph_t’ was not declared in this scope
extern __host__ cudaError_t CUDARTAPI cudaGraphDestroy(cudaGraph_t graph);
^
Makefile:593: recipe for target '.build_release/src/caffe/layers/lstm_unit_layer.o' failed
make: *** [.build_release/src/caffe/layers/lstm_unit_layer.o] Error 1
Issue summary
Makefile 593 problem, lstm_unit_layer.o' failed
Steps to reproduce
I followed this post till
make all
https://github.com/BVLC/caffe/wiki/Ubuntu-16.04-Installation-Guide and i gotMakefile:593: recipe for target '.build_release/src/caffe/layers/lstm_unit_layer.o' failed
Tried solutions
Install all required dependency, such as widely mentioned
libatlas-base-dev
System configuration
output: