install cuda 8 tool kit on linux mint and ubantu

Published: 29 April 2018
on channel: RANDOM NEURAL MONK
195
0

compile cuda samples visit this site

https://www.pugetsystems.com/labs/hpc...


Installation Instructions:
$ sudo dpkg i cuda-repo-ubuntu1604-8-0-local ga2_8.0.61-1_amd64.deb
$ sudo apt-get update
$ sudo apt-get install cuda

go to bashrc and set the environment variables

$ gedit ~/.bashrc

$ source ~/.bashrc


export PATH=/usr/local/cuda-8.0/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64:$LD_LIBRARY_PATH

for correct cudnn installation tutorial

https://github.com/09rohanchopra/kera...

   • Installing CUDA, Tensorflow and Keras...  

in ubantu 18.04 or 16.04 or 17.04 or 17.10 this error shows
do the below

*****************************************************************

error -- unsupported GNU version! gcc versions later than 6 are not supported!
******************************************************************
For CUDA 9:

sudo apt install gcc-6 g++-6

sudo ln -s /usr/bin/gcc-6 /usr/local/cuda/bin/gcc
sudo ln -s /usr/bin/g++-6 /usr/local/cuda/bin/g++


For CUDA 8:

sudo apt install gcc-5 g++-5

sudo ln -s /usr/bin/gcc-5 /usr/local/cuda/bin/gcc
sudo ln -s /usr/bin/g++-5 /usr/local/cuda/bin/g++

For CUDA7.5 these lines work:

sudo ln -s /usr/bin/gcc-4.9 /usr/local/cuda/bin/gcc
sudo ln -s /usr/bin/g++-4.9 /usr/local/cuda/bin/g++

for further clarfication on above error visit this site

https://stackoverflow.com/questions/6...


Watch video install cuda 8 tool kit on linux mint and ubantu online without registration, duration hours minute second in high quality. This video was added by user RANDOM NEURAL MONK 29 April 2018, don't forget to share it with your friends and acquaintances, it has been viewed on our site 195 once and liked it 0 people.