#! /bin/bash # Second part to cuda_ins1_in_centos6_nvdia_cuda8.txt # Install nvidia cuda driver for Centos 6 machine a Nvidia GeForce GTX 560 Ti GPU via a local run file # Follow the instructions as provided in # http://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#abstract # dracut --force init 3 lsmod | grep nouveau ## if something is printed that means nouveau is still on. In this case, need to reboot. ### install via run file # cuda_8.0.61_375.26_linux.run can be downloaded from the link below. The run file is meant for Linux CENTOS version 6 only. # wget https://staffusm-my.sharepoint.com/personal/tlyoon_usm_my/_layouts/15/guestaccess.aspx?docid=0111817781ed642148aab2ff5ca54c717&authkey=AQW_1Y8PAGa6CXDjplj-GAE ## wget https://developer.nvidia.com/compute/cuda/8.0/Prod2/local_installers/cuda_8.0.61_375.26_linux-run sh /share/apps/configrepo/cuda_8*_linux-run ## Follow and accept all prompts. #To verify that the installation works, cd /usr/local/cuda/samples/ make #It will run a series of tests. #After the test, cd /usr/local/cuda/samples/bin/x86_64/linux/release ./deviceQuery ./bandwidthTest