Installing CUDA on Ubuntu 16.04

Reviews and other little ventures that don't quite fit into the other forums
Post Reply
Daniel Wee
Site Admin
Posts: 2449
Joined: Wed 25 Feb 25 2009 8:00 pm

Installing CUDA on Ubuntu 16.04

Post by Daniel Wee »

This link:-

https://www.pugetsystems.com/labs/hpc/N ... -wait-775/

A couple of errors on the page. Under the CUDA Environment, the command should be:-

source /etc/profile.d/cuda.sh

rather than cuda.conf

Mentioned in the comments, run the following to fix potential compile errors:-

grep -r nvidia-352 -l --null . | sudo xargs -0 sed -i 's#nvidia-352#nvidia-361#g'

Also the command "apt-get -s install cuda" doesn;t seem to work - cannot locate the file.

You need to also install some dependencies for the make to work:-

sudo apt-get install libglu1-mesa libxi-dev libxmu-dev libglu1-mesa-dev
sudo apt-get install freeglut3 freeglut3-dev
Daniel Wee
Site Admin
Posts: 2449
Joined: Wed 25 Feb 25 2009 8:00 pm

Re: Installing CUDA on Ubuntu 16.04

Post by Daniel Wee »

The following hints (look in comments) help remove the memcpy errors:-

https://github.com/BVLC/caffe/issues/4046
Daniel Wee
Site Admin
Posts: 2449
Joined: Wed 25 Feb 25 2009 8:00 pm

Re: Installing CUDA on Ubuntu 16.04

Post by Daniel Wee »

Install CUDA 8.0RC

https://developer.nvidia.com/cuda-relea ... e-download

some header files need to be copied from cuda-7.5 directories to cuda directories.

Reboot is needed after install is completed.
Post Reply