DIGITS icon indicating copy to clipboard operation
DIGITS copied to clipboard

Failed to build Caffe on Xavier NX

Open GOBish opened this issue 4 years ago • 0 comments

I am trying to build Caffe on the Xavier NX and the build fails - it seems it can't find the version number of cudnn: (verified that cuDNN 8.0.0.180 is installed on the system through jtop)

$ cmake ..
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   system
--   thread
--   filesystem
--   chrono
--   date_time
--   atomic
-- Found gflags  (include: /usr/include, library: /usr/lib/aarch64-linux-gnu/libgflags.so)
-- Found glog    (include: /usr/include, library: /usr/lib/aarch64-linux-gnu/libglog.so)
-- Found PROTOBUF Compiler: /usr/bin/protoc
-- HDF5: Using hdf5 compiler wrapper to determine C configuration
-- HDF5: Using hdf5 compiler wrapper to determine CXX configuration
-- Found lmdb    (include: /usr/include, library: /usr/lib/aarch64-linux-gnu/liblmdb.so)
-- Found LevelDB (include: /usr/include, library: /usr/lib/aarch64-linux-gnu/libleveldb.so)
-- Found Snappy  (include: /usr/include, library: /usr/lib/aarch64-linux-gnu/libsnappy.so)
-- CUDA detected: 10.2
-- Found cuDNN: ver. ??? found (include: /usr/include, library: /usr/lib/aarch64-linux-gnu/libcudnn.so)
CMake Error at cmake/Cuda.cmake:212 (message):
  cuDNN version >3 is required.
Call Stack (most recent call first):
  cmake/Cuda.cmake:240 (detect_cuDNN)
  cmake/Dependencies.cmake:58 (include)
  CMakeLists.txt:58 (include)

-- Configuring incomplete, errors occurred!
See also "/home/.../caffe/build/CMakeFiles/CMakeOutput.log".
See also "/home/..../caffe/build/CMakeFiles/CMakeError.log".

GOBish avatar Jul 17 '20 03:07 GOBish