Open your ~/.bashrc file and add the following line at the end of the file:Įxport PATH=$PATH:/usr/local/cuda-9.0/bin Now that you install the driver, make sure to set the PATH with the cuda binaries. The CUDA toolkit provides plenty of samples to build and test the NVIDIA GPU. Now let’s move on to the CUDA Configuration section of this blog. If you see the CUDA compiler driver, you did it!Ĭongratulations! You have installed the CUDA Toolkit. Install NVIDIA Accelerated Graphics Driver for Linux-x86_64 387.xx?ĭo you want to install a symbolic link at /usr/local/cuda?Ĭheck your installation by running the following command:> nvcc -V You are attempting to install on an unsupported configuration. The installer will complain about an unsupported installation. Make the download executable and run it as sudo. sudo update-alternatives –install /usr/bin/g++ g++ /usr/bin/g++-6 10ĭownload the CUDA toolkit from the NVIDIA site.sudo update-alternatives –install /usr/bin/gcc gcc /usr/bin/gcc-6 10.Install GCC version 6 and update alternatives. Not to worry, update-alternatives comes in to save the day. By default Ubuntu 17.10 comes with GCC version 7. Installing the CUDA Toolkit 9.0ĬUDA 9.0 toolkit needs GCC version 6. Also, you can see the processes that are using the NVIDIA driver. On the top of the image you can see the version of the NVIDIA Driver, 384.111. Check that the driver was installed by running the following command.Once the install is complete, reboot your machine.Select the NVIDIA binary driver – version 384.11 (proprietary).Then, click on the “Additional Drivers Tab”. Start the Ubuntu “Software and Updates” application.You should see your NVIDIA Graphics card model. execute the following command: > lspci | grep VGA.Determine the type of NVIDIA Graphics cards that your notebook/pc has.This blog provides insight into what the setup constitutes. The trick is to get the driver and cuda toolkit versions to work together. My PC – Lenovo W541, 32 GB RAM, CORE i7 processor and NVIDIA Quadro K1100M. However, I was able to get a previous version of the NVIDIA driver version 384.111 with Cuda 9.0 on Ubuntu 17.10 working! Install the NVIDIA Driver I was not able to get the latest driver, 390.25 with CUDA Toolkit version 9.1 to work properly on my Notebook (Lenovo W541). Good news everyone! Ubuntu 17.10 provides support for the NVIDIA Drivers out of the box.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |