Cuda Toolkit 6.0 unsupported compiler for Ubuntu 14.04

I am trying to install Cuda 6.0 on my Ubuntu 14.04 laptop but it keeps throwing me the following error:

Error: unsupported compiler: 4.8.2. Use --override to override this check.

      

What version of gcc do I need for this?

+3


source to share


3 answers


use this command to install Cuda:



sudo ./cuda_6.0.37_linux_64.run -toolkit -samples -silent -override

      

+4


source


try the following command. / cuda _6.5.14_linux_32.run --override



+4


source


Read the documentation

Ubuntu 14.04 is not supported by distribution for CUDA 6.0, niether - gcc 4.8.2

What version of gcc do I need for this?

You must have gcc version 4.8.1 (or older) for CUDA 6.

I recommend instead to install CUDA 6.5RC (available for download for registered developers), for which Ubuntu 14.04 is the supported distribution, and its default gcc version.

+3


source







All Articles