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

Run 'make clean && make ' error #25

Open
EZElkins opened this issue Jun 14, 2018 · 1 comment
Open

Run 'make clean && make ' error #25

EZElkins opened this issue Jun 14, 2018 · 1 comment

Comments

@EZElkins
Copy link

Platform: Mac OS 10.13.5 (17F77)

Here is the error message below.

find . -type f | xargs -n 5 touch
rm -f libcuda_utils.so
/usr/local/cuda/bin/nvcc -arch sm_35 -O3 -DNDEBUG -Xcompiler -fopenmp --compiler-options '-fPIC' -o libcuda_utils.so --shared cuda_utils.cu -I/Users/xxx/torch/install/include/THC -I/Users/xxx/torch/install/include/TH -I/Users/xxx/torch/install/include -L/Users/xxx/torch/install/lib -Xlinker -rpath,/Users/xxx/torch/install/lib -lluaT -lTHC -lTH -lpng -lluajit -lgomp
nvcc fatal : The version ('9.1') of the host compiler ('Apple clang') is not supported
make: *** [libcuda_utils.so] Error 1

clang --version

Apple LLVM version 9.1.0 (clang-902.0.39.2)
Target: x86_64-apple-darwin17.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

@Ianmcmill
Copy link

Your compiler is not supported. Downgrade it as stated here: pytorch/pytorch#3047 (comment)

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

2 participants