Open EZElkins opened 6 years ago
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
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
Your compiler is not supported. Downgrade it as stated here: https://github.com/pytorch/pytorch/issues/3047#issuecomment-335455420