• Register
0 votes
77 views

Problem :

I want to run the NVCC to compile my CUDA program on my Mac.

But when I try to run the NVCC, I am facing below error message:

"nvcc fatal : The version ('70300') of the host compiler ('Apple clang') is not supported".

I tried updating the XCode version to 7.3, and the Mac version to 10.11.4.

But I am facing the same error.

How can I revert my Apple Clang Version?

7.5k points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

To solve your issue please try to download the next to latest all command line tools and install them then write following command in the console:

sudo xcode-select --switch /Library/Developer/CommandLineTools

You can revert your Apple Clang to the original version of the tools. By writing following command in the console:

sudo xcode-select --switch /Applications/Xcode.app

OR

Please try the homebrew's version of llvm it will work for you. 

Just write following command:

brew install llvm37

After that try to set your compiler to homebrew's clang: /usr/local/bin/clang++-3.7

By this way you will be able to leave your OS X dev environment to defaults as they were

OR.

Just rename your Xcode existing in your mac as the Xcode-7.app in your /Applications folder. After that just download Xcode6.4 from below link:  https://developer.apple.com/download/more/ 

And just install it. And you will be sorted.

 

38.6k points

Related questions

0 votes
1 answer 15 views
15 views
Problem: Is it possible to make this work : Nvcc fatal : the version ('80100') of the host compiler ('apple clang') is not supported?
asked Jun 12 Nahil 128k points
0 votes
1 answer 6 views
6 views
Problem: Nvcc fatal cannot find compiler cl exe in path.
asked Jul 4 Rada Gracelynn 104k points
0 votes
1 answer 8 views
8 views
Problem: Has anyone experienced this before : Nvcc fatal : unsupported gpu architecture 'compute_61'?
asked Jun 25 akhi 125k points
0 votes
1 answer 22 views
22 views
Problem: Having a hard time with this, help please > Nvcc fatal : unsupported gpu architecture 'compute_20'
asked May 15 Priscilla Gurpreet 74.7k points
0 votes
1 answer 11 views
11 views
Problem: Can anyone assist me with this issue? >Nvcc fatal : unsupported gpu architecture 'compute_60'
asked May 12 Rada Gracelynn 104k points
0 votes
1 answer 958 views
958 views
Problem : I am trying to install the visual studio code on the Ubuntu VM also I am using c++. But I am facing the following error message which is often covering my pages tab at the top and it is very frustrating: Please install [clang](http://clang.llvm. ... C++ support from the required packages. I am now completely confused have anyone ever faced the above error and have the solution on it ?
asked Dec 2, 2019 alecxe 7.5k points
0 votes
1 answer 4 views
4 views
Problem: Error: unsupported option '-fopenmp'
asked 6 days ago asha 121k points
0 votes
1 answer 18 views
18 views
Problem: I'm looking for a solution : Which may not be supported by this version of xcode?
asked May 19 Florina Gulnar 106k points
0 votes
1 answer 14 views
14 views
Problem: Getting the error This iPhone 6 is running iOS 12.4.1 (16G102), which may not be supported by this version of Xcode. while trying to run the app on iPhone after updating the iPhone. I know that I can update the Xcode and System both and the issue will be resolved but I want to be able to install the apps on iPhone without updating the Xcode and MacOS. Please help.
asked May 18 Irenka Kiri 85.5k points
1 vote
1 answer 9 views
9 views
Problem: Any remedy to this? Action cannot be completed because the file is open in system.
asked Mar 27 PkGuy 25.9k points