Janelle Resch
Aug 27, 2017 · 1 min read

On Ubuntu 17.04, you have to install CUDA 9.0 — you can currently download the beta version
https://developer.nvidia.com/cuda-release-candidate-download

I downloaded the .deb file and haven’t had any problems — follow the steps they recommend when you download cuda 9.0

  • `sudo dpkg -i cuda-repo-ubuntu1704-9-0-local-rc_9.0.103-1_amd64.deb`
  • `sudo apt-key add /var/cuda-repo-9.0-local-rc/7fa2af80.pub`
  • `sudo apt-get update`
  • `sudo apt-get install cuda`

Then follow the post installation steps from the nvidia instructions (i.e., setting PATH and LD_LIBRARY_PATH)
http://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#post-installation-actions)

Cuda 9 is compatible with gcc 6.3.0 (which comes with 17.04). I used arch=sm_52 and sometimes for my make files have to go ‘make clean’.

)