(formerly) Ubuntu16 in the installation of CUDA Toolkit

Source: Internet
Author: User
Tags cuda toolkit

Reprint please specify the source:

Http://www.cnblogs.com/darkknightzh/p/5655957.html

Reference URL:

https://devtalk.nvidia.com/default/topic/862537/cuda-setup-and-installation/installing-cuda-toolkit-on-ubuntu-14-04/

Http://unix.stackexchange.com/questions/38560/gpu-usage-monitoring-cuda

Description: Because Nvidia did not give ubuntu16 above the Cuda Toolkit, this method is not necessarily feasible, my side of the installation success, feel completely blind cat touch dead Mouse ... However, no sample is installed, only other programs can use the video card.

1. First URL, using

sudo Install Nvidia-cuda-toolkit

Installs Cuda Toolkit, depends on the network speed, the download is very slow. Also, the URL says that restarting Ubuntu is problematic (I can ' t-log in to my computer and end-in-infinite login screen). After I installed this side, the normal landing, no problem occurred.

2. Post-Installation information:

It is 7.5.17, not the latest 7.5.18, but it can be used on the line.

3. In the second URL, QED gives a continuous display of the GPU's current usage in the terminal (NVIDIA-only graphics cards):

Nvidia-smi-l 1

Results:

Description: The above command looks like a graphics card support. You can also use the commands provided by Jonathan (not currently tested):

Watch-n0. 1 " nvidia-settings-q gpuutilization-q useddedicatedgpumemory "

4. After the installation of Cuda, install Cutorch, and then install the Cunn, are installed successfully. Programs that use the GPU also work correctly.

(formerly) Ubuntu16 in the installation of CUDA Toolkit

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.