Difference between revisions of "Tutorials:Install nVidia CUDA and GPU drivers"

From Collective Computational Unit
Jump to navigation Jump to search
(Created page with "== Overview == This tutorial will walk you through the necessary steps to set up nVidia CUDA and the correct corresponding version of GPU drivers, as well as a bunch of libra...")
(No difference)

Revision as of 10:36, 18 May 2019

Overview

This tutorial will walk you through the necessary steps to set up nVidia CUDA and the correct corresponding version of GPU drivers, as well as a bunch of libraries needed for development.


Guide

If you have a freshly installed Ubuntu 18.04 or some derivative (such as Linux Mint 19), this should be simply a matter of running the following script:


In case you had the driver or an earlier release of CUDA already installed, my recommendation is to first uninstall them.

Note that the string "bionic" is the output of the command "lsb_release -cs". If you have an older version of Ubuntu, you can try to replace "bionic" with the output of this command, but it might not be supported. On a derivative Linux, this does not work, and you need to find out the correct Ubuntu lsb release by consulting their documentation.

If you cannot get the script to run, head over to ... and install CUDA 10.1 by following their instructions. Make sure to explain your problems on the discussion page so that we can troubleshoot this guide.

Post installation, you should reboot your system to make sure it still works. Run the following commands in a shell to test installation: