cutorch installation failed on centOS

57 views
Skip to first unread message

Chengkai Zhang

unread,
Jun 24, 2016, 5:59:27 AM6/24/16
to torch7

Hi, I'm trying to install Torch7 by running ./install.sh on CentOS 6.3, and I came across these error messages during the installation of cutorch:

(I have omitted part of error messages that seems repetitive, and the full error messages are attached in the attachment "cutorch-error-msg.txt") 

Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMathCompareT.cu.o

CMake Warning at /home/vis/.jumbo/share/cmake-3.2/Modules/FindCUDA/make2cmake.cmake:65 (message):

   Removing non-existent dependency file: generic/THStorage.h



CMake Warning at /home/vis/.jumbo/share/cmake-3.2/Modules/FindCUDA/make2cmake.cmake:65 (message):

   Removing non-existent dependency file: generic/THStorageCopy.h


....... (Omitted to keep the question short)



CMake Warning at /home/vis/.jumbo/share/cmake-3.2/Modules/FindCUDA/make2cmake.cmake:65 (message):

   Removing non-existent dependency file: generic/THCStorage.cu



sh: cicc: command not found

CMake Error at THC_generated_THCBlas.cu.o.cmake:264 (message):

  Error generating file

  /home/vis/zhangchengkai/torch/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCBlas.cu.o



make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCBlas.cu.o] Error 1

make[2]: *** Waiting for unfinished jobs....

sh: cicc: command not found

CMake Error at THC_generated_THCStorageCopy.cu.o.cmake:264 (message):

  Error generating file

  /home/vis/zhangchengkai/torch/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCStorageCopy.cu.o



make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCStorageCopy.cu.o] Error 1

sh: cicc: command not found

CMake Error at THC_generated_THCTensor.cu.o.cmake:264 (message):

  Error generating file

  /home/vis/zhangchengkai/torch/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensor.cu.o


....... (Omitted to keep the question short)


make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCStorage.cu.o] Error 1

sh: cicc: command not found

CMake Error at THC_generated_THCTensorMath2.cu.o.cmake:264 (message):

  Error generating file

  /home/vis/zhangchengkai/torch/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorMath2.cu.o



make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMath2.cu.o] Error 1

make[1]: *** [lib/THC/CMakeFiles/THC.dir/all] Error 2

make: *** [all] Error 2


Error: Build error: Failed building.


It appears that cmake cannot find the correct header files, and cannot find cicc although it can discover the CUDA 7.5 installed. 

Any ideas why this happen? 



Thanks in advance, 
CZ
cutorch-error-msg.txt
Reply all
Reply to author
Forward
0 new messages