Questions tagged [cuda]

CUDA stands for Compute Unified Device Architecture

CUDA is a parallel computing platform and programming model created by NVIDIA and implemented by the graphics processing units (GPUs) that they produce. CUDA gives developers access to the virtual instruction set and memory of the parallel computational elements in CUDA GPUs. Using CUDA, the latest Nvidia GPUs become accessible for computation like CPUs. Unlike CPUs, however, GPUs have a parallel throughput architecture that emphasizes executing many concurrent threads slowly, rather than executing a single thread very quickly. This approach of solving general-purpose (i.e., not exclusively graphics) problems on GPUs is known as GPGPU.

1120 questions
112
votes
8 answers

How can I install CuDNN on Ubuntu 16.04?

For TensorFlow I would like to install cuda and CuDNN. How do I do that on Ubuntu 16.04?
Martin Thoma
  • 20,535
102
votes
14 answers

How can I install CUDA on Ubuntu 16.04?

For TensorFlow I would like to install CUDA. How do I do that on Ubuntu 16.04?
Martin Thoma
  • 20,535
92
votes
3 answers

How to disable Nouveau kernel driver

When installing CUDA in Ubuntu 16.04 by executing cuda_8.0.44_linux.run, I got the following error message in /var/log/nvidia-installer.log Then I checked /etc/modprobe.d/nvidia-installer-disable-nouveau.conf and got Any suggestion to disable…
willSapgreen
  • 1,053
82
votes
13 answers

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running

I just installed CUDA in a notebook like this: sudo apt-get install cuda Like said here. The compilation works just fine but when I try to run I got the followin problem: CUDA error at file.cu:128 code=35(cudaErrorInsufficientDriver)…
Rodolfo
  • 1,213
82
votes
9 answers

How do I Install CUDA on Ubuntu 18.04?

Is there any tutorial to install CUDA on Ubuntu 18.04? The instructions on the Nvidia website for 17.04 and 16.04 do not work for 18.04. I get a message telling me to reboot then re-run the installer. However when I do this I get that same message…
Gabs
  • 1,125
  • 2
  • 13
  • 18
76
votes
7 answers

nvcc --version command says nvcc is not installed

I have installed cuda8.0, the latest version. I followed the procedure provided by Nvidia; but, when I type the command nvcc --version it says nvcc is not installed! What do I do now?
64
votes
5 answers

How do I install NVIDIA and CUDA drivers into Ubuntu?

I have a system with a NVIDIA card that has a compute support of 3.5+ compared on https://developer.nvidia.com/cuda-gpus. How do I install CUDA and the NVIDIA drivers in Ubuntu without downloading the .deb files from NVIDIA?
Terrance
  • 43,712
63
votes
9 answers

Removing Nvidia CUDA Toolkit and installing new one

I installed the CUDA 5.5 package on Ubuntu 14.04 (which is not supported for this version of Ubuntu version) , and I didn't do it well. I want to remove what I've installed earlier and install a new CUDA 6.5 toolkit, After typing this in the…
tomtom
  • 781
  • 1
  • 7
  • 8
58
votes
8 answers

Installing and testing CUDA in Ubuntu 14.04

I am uncertain about how to install CUDA in my system. looking around there are many tutorials about cuda on 12.04 LTS and a few on 13.04 and 13.10, but they all talk about acquiring a deb package from the NVidia CUDA developer zone. Well NVidia…
nass
  • 1,442
  • 2
  • 20
  • 34
42
votes
3 answers

How can I install CUDA 9 on Ubuntu 17.10

Ubuntu 17.10 comes with CUDA 8 which relies on clang 3.8 (e.g. see this blogpost). However, I'd like to install CUDA 9 and rely on GCC if possible. How can I do this?
B0rk4
  • 1,673
39
votes
4 answers

Error installing Cuda toolkit: Existing package manager installation of the driver found

I'm working with Ubuntu 16 and Cuda toolkit 10.2. I'm using installer file: cuda_10.2.89_440.33.01_linux.run. I understand I need to remove something I previously installed but don't know what exactly. Any suggestions will be appreciated.
38
votes
2 answers

How to verify CUDA installation in 16.04?

I have worked quite a lot but I am not sure if everything is ok. nvidia-smi Sun May 21 11:29:57 2017 +-----------------------------------------------------------------------------+ | NVIDIA-SMI 375.39 Driver Version: 375.39 …
34
votes
7 answers

When is CUDA gonna be released for Ubuntu 20.04?

So 20.04 got released two days ago, but when is CUDA for 20.04 gonna be released? Is Nvidia usually following up quickly?
Kai Yang
  • 471
33
votes
12 answers

nvidia-smi command not found Ubuntu 16.04

I am trying to install nvidia drivers on my ubuntu 16.04 (I have a GeForce GTX 960M). I tried a lot of methods explained on internet but none seems to work. (I saw How to install nvidia-smi?, nvidia-smi: command not found on Ubuntu 16, but these did…
fonfonx
  • 653
32
votes
4 answers

How can I get nVidia CUDA or OpenCL working on a laptop with nVidia discrete card/Intel Integrated Graphics?

Background: I'm a 3D artist (as a hobby) and have recently started using Ubuntu 12.04 LTS as a dual-boot with Windows 7. It's running on my a fairly new 64-bit Toshiba laptop with an nVidia GeForce GT 540M GPU (graphics card). It also, however has…
1
2 3
74 75