Open kaleem0002 opened 6 years ago
go to ~/distro/cmake/3.6/Modules/FindCUDA/select_compute_arch.cmake change if("X${CUDA_ARCH_LIST}" STREQUAL "X" ) set(CUDA_ARCH_LIST "All") endif() with if("X${CUDA_ARCH_LIST}" STREQUAL "X" ) set(CUDA_ARCH_LIST "Common") endif()
Thank me later! Use this docker file for torch installation! https://github.com/runwayml/alpha_models/blob/master/densecap/Dockerfile
I am getting this error when ever I run ./install.sh for torch.
I have ubuntu 16.04 with cuda 8.0 and cudnn 5.1
Here is the error that appears on the terminal:
lib/THC/CMakeFiles/THC.dir/build.make:560: recipe for target 'lib/THC/CMakeFiles/THC.dir/THC_generated_THCHalf.cu.o' failed make[2]: [lib/THC/CMakeFiles/THC.dir/THC_generated_THCHalf.cu.o] Error 1 make[2]: Waiting for unfinished jobs.... nvcc fatal : Unsupported gpu architecture 'compute_61' CMake Error at THC_generated_THCReduceApplyUtils.cu.o.cmake:207 (message): Error generating /home/kk/torch/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCReduceApplyUtils.cu.o
lib/THC/CMakeFiles/THC.dir/build.make:63: recipe for target 'lib/THC/CMakeFiles/THC.dir/THC_generated_THCReduceApplyUtils.cu.o' failed make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCReduceApplyUtils.cu.o] Error 1 nvcc fatal : Unsupported gpu architecture 'compute_61' CMake Error at THC_generated_THCBlas.cu.o.cmake:207 (message): Error generating /home/kk/torch/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCBlas.cu.o
lib/THC/CMakeFiles/THC.dir/build.make:70: recipe for target 'lib/THC/CMakeFiles/THC.dir/THC_generated_THCBlas.cu.o' failed make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCBlas.cu.o] Error 1 nvcc fatal : Unsupported gpu architecture 'compute_61' CMake Error at THC_generated_THCSleep.cu.o.cmake:207 (message): Error generating /home/kk/torch/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCSleep.cu.o
lib/THC/CMakeFiles/THC.dir/build.make:77: recipe for target 'lib/THC/CMakeFiles/THC.dir/THC_generated_THCSleep.cu.o' failed make[2]: [lib/THC/CMakeFiles/THC.dir/THC_generated_THCSleep.cu.o] Error 1 CMakeFiles/Makefile2:172: recipe for target 'lib/THC/CMakeFiles/THC.dir/all' failed make[1]: [lib/THC/CMakeFiles/THC.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2