user2424276
user2424276

Reputation: 611

Cuda Toolkit 6.0 unsupported compiler Ubuntu 14.04

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

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

Which gcc version should I have for this?

Upvotes: 4

Views: 10108

Answers (3)

donald
donald

Reputation: 478

try the following command ./cuda_6.5.14_linux_32.run --override

Upvotes: 6

Arash
Arash

Reputation: 3061

use this command to install Cuda:

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

Upvotes: 6

Robert Crovella
Robert Crovella

Reputation: 152143

Read the documentation

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

Which gcc version should I have for this?

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

I recommend installing CUDA 6.5RC instead (available for download to registered developers), for which Ubuntu 14.04 is a supported distro, along with its default version of gcc.

Upvotes: 3

Related Questions