rioyokotalab / caffe2

Caffe2 is a lightweight, modular, and scalable deep learning framework.
https://caffe2.ai
Other
2 stars 0 forks source link

[Reedbush] NVCaffe Setup #12

Closed Hiroki11x closed 7 years ago

Hiroki11x commented 7 years ago

Ignore ATLAS

$ cmake -DCMAKE_INSTALL_PREFIX=/lustre/gi75/i75012/dl/nvcaffe/local -DUSE_LEVELDB=OFF -DUSE_ATLAS=OFF ..
Hiroki11x commented 7 years ago

cmake succeeded.

but make outputs following error logs.

compilation terminated.
CMake Error at cuda_compile_generated_cudnn_lcn_layer.cu.o.cmake:202 (message):
  Error generating
  /lustre/gi75/i75012/dl/nvcaffe/build/src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_cudnn_lcn_layer.cu.o

make[2]: *** [src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_cudnn_lcn_layer.cu.o] Error 1
In file included from <command-line>:0:0:
/lustre/app/acc/cuda/8.0.44/include/cuda_runtime.h:1937:1: fatal error: /cudnn.h: No such file or directory
 #endif /* !__CUDA_RUNTIME_H__ */
 ^
compilation terminated.
In file included from <command-line>:0:0:
/lustre/app/acc/cuda/8.0.44/include/cuda_runtime.h:1937:1: fatal error: /cudnn.h: No such file or directory
 #endif /* !__CUDA_RUNTIME_H__ */
 ^
compilation terminated.
In file included from <command-line>:0:0:
/lustre/app/acc/cuda/8.0.44/include/cuda_runtime.h:1937:1: fatal error: /cudnn.h: No such file or directory
 #endif /* !__CUDA_RUNTIME_H__ */
 ^
compilation terminated.
In file included from <command-line>:0:0:
/lustre/app/acc/cuda/8.0.44/include/cuda_runtime.h:1937:1: fatal error: /cudnn.h: No such file or directory
 #endif /* !__CUDA_RUNTIME_H__ */
 ^
compilation terminated.
In file included from <command-line>:0:0:
/lustre/app/acc/cuda/8.0.44/include/cuda_runtime.h:1937:1: fatal error: /cudnn.h: No such file or directory
 #endif /* !__CUDA_RUNTIME_H__ */
 ^
compilation terminated.
CMake Error at cuda_compile_generated_silence_layer.cu.o.cmake:202 (message):
  Error generating
  /lustre/gi75/i75012/dl/nvcaffe/build/src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_silence_layer.cu.o

CMake Error at cuda_compile_generated_power_layer.cu.o.cmake:202 (message):
  Error generating
  /lustre/gi75/i75012/dl/nvcaffe/build/src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_power_layer.cu.o

make[2]: *** [src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_silence_layer.cu.o] Error 1
make[2]: *** [src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_power_layer.cu.o] Error 1
CMake Error at cuda_compile_generated_math_functions2.cu.o.cmake:202 (message):
  Error generating
  /lustre/gi75/i75012/dl/nvcaffe/build/src/caffe/CMakeFiles/cuda_compile.dir/util/./cuda_compile_generated_math_functions2.cu.o

make[2]: *** [src/caffe/CMakeFiles/cuda_compile.dir/util/./cuda_compile_generated_math_functions2.cu.o] Error 1
CMake Error at cuda_compile_generated_bnll_layer.cu.o.cmake:202 (message):
  Error generating
  /lustre/gi75/i75012/dl/nvcaffe/build/src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_bnll_layer.cu.o

make[2]: *** [src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_bnll_layer.cu.o] Error 1
CMake Error at cuda_compile_generated_crop_layer.cu.o.cmake:202 (message):
  Error generating
  /lustre/gi75/i75012/dl/nvcaffe/build/src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_crop_layer.cu.o

make[2]: *** [src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_crop_layer.cu.o] Error 1
CMake Error at cuda_compile_generated_im2col.cu.o.cmake:202 (message):
  Error generating
  /lustre/gi75/i75012/dl/nvcaffe/build/src/caffe/CMakeFiles/cuda_compile.dir/util/./cuda_compile_generated_im2col.cu.o

CMake Error at cuda_compile_generated_log_layer.cu.o.cmake:202 (message):
  Error generating
  /lustre/gi75/i75012/dl/nvcaffe/build/src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_log_layer.cu.o

make[2]: *** [src/caffe/CMakeFiles/cuda_compile.dir/util/./cuda_compile_generated_im2col.cu.o] Error 1
make[2]: *** [src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_log_layer.cu.o] Error 1
CMake Error at cuda_compile_generated_exp_layer.cu.o.cmake:202 (message):
  Error generating
  /lustre/gi75/i75012/dl/nvcaffe/build/src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_exp_layer.cu.o

CMake Error at cuda_compile_generated_softmax_layer.cu.o.cmake:202 (message):
  Error generating
  /lustre/gi75/i75012/dl/nvcaffe/build/src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_softmax_layer.cu.o

CMake Error at cuda_compile_generated_conv_layer.cu.o.cmake:202 (message):
  Error generating
  /lustre/gi75/i75012/dl/nvcaffe/build/src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_conv_layer.cu.o

CMake Error at cuda_compile_generated_mvn_layer.cu.o.cmake:202 (message):
  Error generating
  /lustre/gi75/i75012/dl/nvcaffe/build/src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_mvn_layer.cu.o

CMake Error at cuda_compile_generated_gpu_asum.cu.o.cmake:202 (message):
  Error generating
  /lustre/gi75/i75012/dl/nvcaffe/build/src/caffe/CMakeFiles/cuda_compile.dir/util/./cuda_compile_generated_gpu_asum.cu.o

make[2]: *** [src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_exp_layer.cu.o] Error 1
make[2]: *** [src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_conv_layer.cu.o] Error 1
make[2]: *** [src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_softmax_layer.cu.o] Error 1
make[2]: *** [src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_mvn_layer.cu.o] Error 1
make[2]: *** [src/caffe/CMakeFiles/cuda_compile.dir/util/./cuda_compile_generated_gpu_asum.cu.o] Error 1
make[1]: *** [src/caffe/CMakeFiles/caffe.dir/all] Error 2
make: *** [all] Error 2
Hiroki11x commented 7 years ago

refer https://github.com/rioyokotalab/caffe/issues/2