Page 1 of 1

Installing CUDA on Ubuntu 16.04

Posted: Mon 29 Aug 29 2016 11:49 pm
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

Re: Installing CUDA on Ubuntu 16.04

Posted: Tue 30 Aug 30 2016 1:25 am
by Daniel Wee
The following hints (look in comments) help remove the memcpy errors:-

https://github.com/BVLC/caffe/issues/4046

Re: Installing CUDA on Ubuntu 16.04

Posted: Wed 31 Aug 31 2016 9:51 pm
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.