Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with cutorch installation #253

Open
ImNaman opened this issue Feb 28, 2018 · 2 comments
Open

problem with cutorch installation #253

ImNaman opened this issue Feb 28, 2018 · 2 comments

Comments

@ImNaman
Copy link

ImNaman commented Feb 28, 2018

In file included from tmpxft_00007a94_00000000-4_THCTensorMathReduce.cudafe1.stub.c:1:0:
/tmp/tmpxft_00007a94_00000000-4_THCTensorMathReduce.cudafe1.stub.c:131:27: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-5/README.Bugs for instructions.
CMake Error at THC_generated_THCTensorMathReduce.cu.o.cmake:267 (message):
Error generating file
/home/nomi/torch/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorMathReduce.cu.o

lib/THC/CMakeFiles/THC.dir/build.make:3975: recipe for target 'lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMathReduce.cu.o' failed
make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMathReduce.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Segmentation fault (core dumped)
CMake Error at THC_generated_THCTensorMathScan.cu.o.cmake:267 (message):
Error generating file
/home/nomi/torch/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorMathScan.cu.o

lib/THC/CMakeFiles/THC.dir/build.make:3982: recipe for target 'lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMathScan.cu.o' failed
make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMathScan.cu.o] Error 1

Can anyone tell how to resolve this error?

@booiljung
Copy link

#249 also.

[ 4%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMathReduce.cu.o
/home/booil/torch/extra/cutorch/lib/THC/generic/THCTensorMathPairwise.cu(66): error: more than one operator "!=" matches these operands:
function "operator!=(const __half &, const __half &)"
function "operator!=(half, half)"
operand types are: half != half

1 error detected in the compilation of "/tmp/tmpxft_00006003_00000000-6_THCTensorMathPairwise.cpp1.ii".
CMake Error at THC_generated_THCTensorMathPairwise.cu.o.cmake:267 (message):
Error generating file
##/home/booil/torch/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorMathPairwise.cu.o

lib/THC/CMakeFiles/THC.dir/build.make:4272: 'lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMathPairwise.cu.o' 타겟에 대한 명령이 실패했습니다
make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMathPairwise.cu.o] 오류 1
make[2]: *** 끝나지 않은 작업을 기다리고 있습니다....
/home/booil/torch/extra/cutorch/lib/THC/generic/THCTensorMath.cu(393): error: more than one operator "==" matches these operands:
function "operator==(const __half &, const __half &)"
function "operator==(half, half)"
operand types are: half == half

/home/booil/torch/extra/cutorch/lib/THC/generic/THCTensorMath.cu(414): error: more than one operator "==" matches these operands:
function "operator==(const __half &, const __half &)"
function "operator==(half, half)"
operand types are: half == half

2 errors detected in the compilation of "/tmp/tmpxft_00006020_00000000-6_THCTensorMath.cpp1.ii".
CMake Error at THC_generated_THCTensorMath.cu.o.cmake:267 (message):
Error generating file
/home/booil/torch/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorMath.cu.o

lib/THC/CMakeFiles/THC.dir/build.make:2763: 'lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMath.cu.o' 타겟에 대한 명령이 실패했습니다
make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMath.cu.o] 오류 1
CMakeFiles/Makefile2:172: 'lib/THC/CMakeFiles/THC.dir/all' 타겟에 대한 명령이 실패했습니다
make[1]: *** [lib/THC/CMakeFiles/THC.dir/all] 오류 2
Makefile:127: 'all' 타겟에 대한 명령이 실패했습니다
make: *** [all] 오류 2

Error: Build error: Failed building.

@EnriqueSolarte
Copy link

hi @booiljung,
I got the same issue, have you solved it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants