-
Notifications
You must be signed in to change notification settings - Fork 705
Description
I've set CUDNN_ROOT as requested, but cmake is ignoring the environment variable. I don't know if that's what's causing all of the subsequent compile errors. Here is the output:
[hasegawa@br006 build]$ export CUDNN_ROOT=/opt/packages/cuda/7.5/
[hasegawa@br006 build]$ ls $CUDNN_ROOT/lib64/cudnn
/opt/packages/cuda/7.5//lib64/libcudnn.so
/opt/packages/cuda/7.5//lib64/libcudnn.so.4
/opt/packages/cuda/7.5//lib64/libcudnn.so.4.0.7
/opt/packages/cuda/7.5//lib64/libcudnn_static.a
[hasegawa@br006 build]$ cmake .. -DEIGEN3_INCLUDE_DIR=/pylon2/ci560op/odette/tools/dynet/eigen -DPYTHON=which python -DBACKEND=cuda
-- BACKEND: cuda
CUDA_LIBRARIES: /opt/packages/cuda/7.5/lib64/libcudart.so
-- Failed to find CUDNN in path: /usr/local/cuda (Did you set CUDNN_ROOT properly?)
-- CUDNN not found, some dependent functionalities will be disabled
-- Eigen dir is /pylon2/ci560op/odette/tools/dynet/eigen
CMake Error: Error in cmake code at
/pylon2/ci560op/odette/tools/dynet/dynet/build/dynet/CMakeFiles/gdynet.dir/gdynet_generated_gpu-param-nodes.cu.o.depend:1:
Parse error. Expected a command name, got unquoted argument with text "".
CMake Error at /usr/share/cmake/Modules/FindCUDA.cmake:365 (include):
include could not find load file:
/pylon2/ci560op/odette/tools/dynet/dynet/build/dynet/CMakeFiles/gdynet.dir//gdynet_generated_gpu-param-nodes.cu.o.depend
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindCUDA.cmake:1214 (cuda_include_nvcc_dependencies)
/usr/share/cmake/Modules/FindCUDA.cmake:1419 (CUDA_WRAP_SRCS)
dynet/CMakeLists.txt:153 (cuda_add_library)
CMake Error: Error in cmake code at
/pylon2/ci560op/odette/tools/dynet/dynet/build/dynet/CMakeFiles/gdynet.dir/gdynet_generated_gpu-tensor.cu.o.depend:1:
Parse error. Expected a command name, got unquoted argument with text "".
CMake Error at /usr/share/cmake/Modules/FindCUDA.cmake:365 (include):
include could not find load file:
/pylon2/ci560op/odette/tools/dynet/dynet/build/dynet/CMakeFiles/gdynet.dir//gdynet_generated_gpu-tensor.cu.o.depend
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindCUDA.cmake:1214 (cuda_include_nvcc_dependencies)
/usr/share/cmake/Modules/FindCUDA.cmake:1419 (CUDA_WRAP_SRCS)
dynet/CMakeLists.txt:153 (cuda_add_library)
CMake Error: Error in cmake code at
/pylon2/ci560op/odette/tools/dynet/dynet/build/dynet/CMakeFiles/gdynet.dir/gdynet_generated_gpu-training.cu.o.depend:1:
Parse error. Expected a command name, got unquoted argument with text "".
CMake Error at /usr/share/cmake/Modules/FindCUDA.cmake:365 (include):
include could not find load file:
/pylon2/ci560op/odette/tools/dynet/dynet/build/dynet/CMakeFiles/gdynet.dir//gdynet_generated_gpu-training.cu.o.depend
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindCUDA.cmake:1214 (cuda_include_nvcc_dependencies)
/usr/share/cmake/Modules/FindCUDA.cmake:1419 (CUDA_WRAP_SRCS)
dynet/CMakeLists.txt:153 (cuda_add_library)
CMake Error: Error in cmake code at
/pylon2/ci560op/odette/tools/dynet/dynet/build/dynet/CMakeFiles/gdynet.dir/gdynet_generated_gpu-nodes-matrixmultiply.cu.o.depend:1:
Parse error. Expected a command name, got unquoted argument with text "".
CMake Error at /usr/share/cmake/Modules/FindCUDA.cmake:365 (include):
include could not find load file:
/pylon2/ci560op/odette/tools/dynet/dynet/build/dynet/CMakeFiles/gdynet.dir//gdynet_generated_gpu-nodes-matrixmultiply.cu.o.depend
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindCUDA.cmake:1214 (cuda_include_nvcc_dependencies)
/usr/share/cmake/Modules/FindCUDA.cmake:1419 (CUDA_WRAP_SRCS)
dynet/CMakeLists.txt:153 (cuda_add_library)
-- Found Cython version 0.25.2
--- CUDA: CUBLAS: /opt/packages/cuda/7.5/lib64/libcublas.so RT: /opt/packages/cuda/7.5/lib64/libcudart.so
-- Configuring incomplete, errors occurred!
[hasegawa@br006 build]$