Installation issue on setp "./install.sh" Ubuntu 16.04 with GTX1080 and cuda8

192 views
Skip to first unread message

Neo li

unread,
Apr 26, 2017, 2:04:41 AM4/26/17
to torch7

I followed 
git clone https://github.com/torch/distro.git ~/torch --recursive cd ~/torch; bash install-deps; ./install.sh


But after ./instll.sh
I got
......
/home/kamata/torch/extra/cutorch/lib/THC/generic/THCTensorMode.cu(42): here

16 errors detected in the compilation of "/tmp/tmpxft_0000796b_00000000-9_THCTensorMode.compute_35.cpp1.ii".
CMake Error at THC_generated_THCTensorMode.cu.o.cmake:267 (message):
  Error generating file
  /home/kamata/torch/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorMode.cu.o


lib/THC/CMakeFiles/THC.dir/build.make:10559: recipe for target 'lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMode.cu.o' failed
make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMode.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

Error: Build error: Failed building.
Need help,

Neo li

unread,
Apr 26, 2017, 12:31:08 PM4/26/17
to torch7
I have solved this problem, just update cuda

Ahmed Mazari

unread,
Apr 28, 2017, 5:38:44 AM4/28/17
to torch7
It can be related to the  your version of gcc and cmake. The have to be the same
Reply all
Reply to author
Forward
0 new messages