I'm trying to install Tensorflow-GPU for Python3.6 from source on my Mac OSX 10.13.2.
The installation processes are...
I installed Nvidia-Web-Driver for my Geforce GT-750M and updated.
Installed and updated to CUDA Driver v387.99 (GPU Driver Version: 378.10.10.10.25.102).
I tried to install CuDNN v7 for CUDA 9.1.
But I could not find appropriate version for my Mac from the NVIDIA Website. https://developer.nvidia.com/rdp/cudnn-download
I struggled to install Tensorflow, tried all I could expected methods but, all failed and I got the same error below.
nvcc fatal: The version ('90000') of the host compiler ('Apple clang') is not supported
Even I met the same error when I ran the command for compiling of the CUDA 9.1 sample code.
$make -C 0_Simple/vectorAdd
The errors was...
/Developer/NVIDIA/CUDA-9.1/bin/nvcc -ccbin clang++ -I../../common/inc -m64 -Xcompiler -arch -Xcompiler x86_64 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -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_70,code=sm_70 -gencode arch=compute_70,code=compute_70 -o vectorAdd.o -c vectorAdd.cu nvcc fatal : The version ('90000') of the host compiler ('Apple clang') is not supported make: *** [vectorAdd.o] Error 1
How can I solve this issue? I need you guys' help.
These are my development environment information.
$uname -a
Darwin Kenneth-MBP.local 17.3.0 Darwin Kernel Version 17.3.0: Thu Nov 9 18:09:22 PST 2017; root:xnu-4570.31.3~1/RELEASE_X86_64 x86_64
$cmake --version
cmake version 3.10.1
$clang --version
Apple LLVM version 9.0.0 (clang-900.0.39.2) Target: x86_64-apple-darwin17.3.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
$nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2017 NVIDIA Corporation Built on Fri_Nov__3_21:08:57_CDT_2017 Cuda compilation tools, release 9.1, V9.1.85
$git describe --tags # Tensorflow
v1.3.0-rc1-6207-ge210cb140a
GPU Driver - NVIDIA GT 750M
GPU Driver Version: 378.10.10.10.25.102,
CUDA Driver
CUDA Driver Version: 387.99
Thank you in advance.
nvcc fatal: The version ('90000') of the host compiler ('Apple clang') is not supported
is because you have a version of XCode and the OS which is not compatible with the CUDA toolkit you are using – talonmies