torch / torch7

http://torch.ch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

installation issue ./install

FImhaouran opened this issue · comments

I am using Debian9 and I have cuda-9.0.176 as my $CUDA_HOME variable. I got this build error. What can I do to solve it?

Building on 12 cores
-- Found Torch7 in /home/name/torch/install
-- Removing -DNDEBUG from compile flags
-- TH_LIBRARIES: TH
-- MAGMA not found. Compiling without MAGMA support
-- Automatic GPU detection failed. Building for common architectures.
-- Autodetected CUDA architecture(s): 3.0;3.5;5.0;5.2;6.0;6.1;6.1+PTX
-- got cuda version 10.0
-- Found CUDA with FP16 support, compiling with torch.CudaHalfTensor
-- CUDA_NVCC_FLAGS: -D__CUDA_NO_HALF_OPERATORS__;-gencode;arch=compute_30,code=sm_30;-gencode;arch=compute_35,code=sm_35;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_52,code=sm_52;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_61,code=compute_61;-DCUDA_HAS_FP16=1
-- THC_SO_VERSION: 0
-- Configuring done
-- Generating done
-- Build files have been written to: /home/name/torch/extra/cutorch/build
[ 4%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCHalf.cu.o
[ 4%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCReduceApplyUtils.cu.o
[ 4%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCStorage.cu.o
[ 7%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensor.cu.o
[ 4%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCBlas.cu.o
[ 7%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCStorageCopy.cu.o
[ 7%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCSleep.cu.o
[ 10%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMath.cu.o
[ 10%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMath2.cu.o
[ 11%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMathBlas.cu.o
[ 12%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorCopy.cu.o
[ 13%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMathMagma.cu.o
nvcc error : 'cicc' died due to signal 11 (Invalid memory reference)
CMake Error at THC_generated_THCSleep.cu.o.cmake:267 (message):
Error generating file
/home/name/torch/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCSleep.cu.o

lib/THC/CMakeFiles/THC.dir/build.make:581: 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
make[2]: *** Waiting for unfinished jobs....
nvcc error : 'cicc' died due to signal 11 (Invalid memory reference)
CMake Error at THC_generated_THCTensorCopy.cu.o.cmake:267 (message):
Error generating file
/home/name/torch/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorCopy.cu.o

lib/THC/CMakeFiles/THC.dir/build.make:1984: recipe for target 'lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorCopy.cu.o' failed
make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorCopy.cu.o] Error 1
nvcc error : 'cicc' died due to signal 11 (Invalid memory reference)
CMake Error at THC_generated_THCTensorMathBlas.cu.o.cmake:267 (message):
Error generating file
/home/name/torch/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorMathBlas.cu.o

lib/THC/CMakeFiles/THC.dir/build.make:3898: recipe for target 'lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMathBlas.cu.o' failed
make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMathBlas.cu.o] Error 1
nvcc error : 'cicc' died due to signal 11 (Invalid memory reference)
CMake Error at THC_generated_THCTensorMath2.cu.o.cmake:267 (message):
Error generating file
/home/name/torch/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorMath2.cu.o

lib/THC/CMakeFiles/THC.dir/build.make:3677: recipe for target 'lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMath2.cu.o' failed
make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMath2.cu.o] Error 1
nvcc error : 'cicc' died due to signal 11 (Invalid memory reference)
CMake Error at THC_generated_THCTensorMath.cu.o.cmake:267 (message):
Error generating file
/home/name/torch/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorMath.cu.o

lib/THC/CMakeFiles/THC.dir/build.make:2839: recipe for target 'lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMath.cu.o' failed
make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMath.cu.o] Error 1
In file included from tmpxft_00035e08_00000000-5_THCTensorMathMagma.compute_61.cudafe1.stub.c:1:0:
/scratch/tmpxft_00035e08_00000000-5_THCTensorMathMagma.compute_61.cudafe1.stub.c: In function 'void __device_stub__Z31THCudaTensor_copyUpperSymmetricPfii(float*, int, int)':
/scratch/tmpxft_00035e08_00000000-5_THCTensorMathMagma.compute_61.cudafe1.stub.c:16:121: error: '__cudaLaunchPrologue' was not declared in this scope
void __device_stub__Z31THCudaTensor_copyUpperSymmetricPfii(float *__par0, int __par1, int __par2){__cudaLaunchPrologue(3);__cudaSetupArgSimple(__par0, 0UL);__cudaSetupArgSimple(__par1, 8UL);__cudaSetupArgSimple(__par2, 12UL);__cudaLaunch(((char )((void ( )(float , int, int))THCudaTensor_copyUpperSymmetric)));}
^
In file included from tmpxft_00035e08_00000000-5_THCTensorMathMagma.compute_61.cudafe1.stub.c:1:0:
/scratch/tmpxft_00035e08_00000000-5_THCTensorMathMagma.compute_61.cudafe1.stub.c: In function 'void __device_stub__Z31THCudaTensor_copyLowerSymmetricPfii(float
, int, int)':
/scratch/tmpxft_00035e08_00000000-5_THCTensorMathMagma.compute_61.cudafe1.stub.c:1:127: error: '__cudaLaunchPrologue' was not declared in this scope
#pragma GCC diagnostic push
^
In file included from tmpxft_00035e08_00000000-5_THCTensorMathMagma.compute_61.cudafe1.stub.c:1:0:
/scratch/tmpxft_00035e08_00000000-5_THCTensorMathMagma.compute_61.cudafe1.stub.c: In function 'void __device_stub__Z37THCudaDoubleTensor_copyUpperSymmetricPdii(double
, int, int)':
/scratch/tmpxft_00035e08_00000000-5_THCTensorMathMagma.compute_61.cudafe1.stub.c:1:134: error: '__cudaLaunchPrologue' was not declared in this scope
#pragma GCC diagnostic push
^
In file included from tmpxft_00035e08_00000000-5_THCTensorMathMagma.compute_61.cudafe1.stub.c:1:0:
/scratch/tmpxft_00035e08_00000000-5_THCTensorMathMagma.compute_61.cudafe1.stub.c: In function 'void __device_stub__Z37THCudaDoubleTensor_copyLowerSymmetricPdii(double
, int, int)':
/scratch/tmpxft_00035e08_00000000-5_THCTensorMathMagma.compute_61.cudafe1.stub.c:1:134: error: '__cudaLaunchPrologue' was not declared in this scope
#pragma GCC diagnostic push
^
CMake Error at THC_generated_THCTensorMathMagma.cu.o.cmake:267 (message):
Error generating file
/home/name/torch/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorMathMagma.cu.o

lib/THC/CMakeFiles/THC.dir/build.make:4140: recipe for target 'lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMathMagma.cu.o' failed
make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMathMagma.cu.o] Error 1
nvcc error : 'cudafe++' died due to signal 11 (Invalid memory reference)
CMake Error at THC_generated_THCHalf.cu.o.cmake:267 (message):
Error generating file
/home/name/torch/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCHalf.cu.o

lib/THC/CMakeFiles/THC.dir/build.make:7495: 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
nvcc error : 'cudafe++' died due to signal 11 (Invalid memory reference)
CMake Error at THC_generated_THCStorage.cu.o.cmake:267 (message):
Error generating file
/home/name/torch/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCStorage.cu.o

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