当前位置:网站首页>Cuda11.1 online installation
Cuda11.1 online installation
2022-07-06 05:11:00 【Not thin 8-jin ball cake】
One . Check out your ubuntu Configure which version of CUDA
stay terminal Enter the following code :
nvidia-smi
It is shown as follows :
Such as red mark ,, The maximum version of the local configuration can be installed to 11.6, therefore CUDA version11.6 It can be installed at any time , It is decided to install this time version 11.1.
Two . stay nvidia Download from the official website cuda edition 11.1.1, And install
The address is https://developer.nvidia.com/cuda-toolkit-archive. The proposal USES runfile(local) How to download and install . install cuda when , Do not select Install driver, For the rest, select Install .
ubuntu How to view version information : First of all to enter Ubuntu System , Using shortcut keys 【Ctrl+Alt+t】 Open the terminal ; Then input in the terminal “cat /proc/version” Order or “uname -a” Order or “lsb_release -a” Command to view .
Download and install :
wget https://developer.download.nvidia.com/compute/cuda/11.1.1/local_installers/cuda_11.1.1_455.32.00_linux.runsudo
sh cuda_11.1.1_455.32.00_linux.run
In execution sh cuda_11.1.1_455.32.00_linux.run In the process of ,
Asked about : You accept what you read before EULA Do you ? Input accept
Do you accept the previously read EULA?
accept/decline/quit: accept
Asked about : Whether to install NVIDIA Speed up graphics drivers ? If installed, enter n, otherwise y, So here I'm going to choose n
Install NVIDIA Accelerated Graphics Driver for Linux-x86_64 410.48?
(y)es/(n)o/(q)uit: n
About whether to install the driver , You can check whether you already have ( Use nvidia-sim command ), If not, you can install .
Asked about : install CUDA 11.1 tool kit ? Input y
Install the CUDA 11.1 Toolkit?
(y)es/(n)o/(q)uit: y
Enter Toolkit Location
[ default is /usr/local/cuda-11.1 ]: direct Enter key
The following voluntary , About whether to be in /usr/local/cuda Install symbolic links on ? And installation CUDA 11.1 Example ?
Do you want to install a symbolic link at /usr/local/cuda?
(y)es/(n)o/(q)uit: y
Install the CUDA 11.1 Samples?
(y)es/(n)o/(q)uit: y
installation is complete :
3、 ... and . take CUDA Set your directory to PATH
stay terminal Input in
sudo gedit ~/.bashrc
modify bashrc
export CUDA_HOME=/usr/local/cuda-11.1
export LD_LIBRARY_PATH=${CUDA_HOME}/lib64
export PATH=${CUDA_HOME}/bin:${PATH}
Last , open terminal, Input ( Let the path take effect )
source ~/.bashrc
Four . test CUDA
Input
cd /usr/local/cuda-11.1/samples/1_Utilities/deviceQuery
sudo make
sudo ./deviceQuery
If the output Result=PASS The successful .
Reference link :
边栏推荐
- Mysql高级篇学习总结9:创建索引、删除索引、降序索引、隐藏索引
- 图数据库ONgDB Release v-1.0.3
- Redis has four methods for checking big keys, which are necessary for optimization
- [NOIP2008 提高组] 笨小猴
- The kernel determines whether peripherals are attached to the I2C address
- Drive development - the first helloddk
- Quelques conseils communs sur l'inspecteur de l'unit é, généralement pour les extensions d'éditeur ou d'autres
- Finance online homework
- Implementing fuzzy query with dataframe
- Class inheritance in yyds dry inventory C
猜你喜欢
idea一键导包
yolov5 tensorrt加速
Lepton 无损压缩原理及性能分析
Codeforces Round #804 (Div. 2)
[leetcode16] the sum of the nearest three numbers (double pointer)
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
The underlying structure of five data types in redis
L'introduction en bourse de MSK Electronics a pris fin: 800 millions de RMB d'actifs de Henan étaient des actionnaires
图数据库ONgDB Release v-1.0.3
从0到1建设智能灰度数据体系:以vivo游戏中心为例
随机推荐
Review of double pointer problems
Mongodb basic knowledge summary
Postman断言
The underlying structure of five data types in redis
Why does MySQL need two-phase commit
Leetcode dynamic planning day 16
Implementing fuzzy query with dataframe
Postman assertion
[classic example] binary tree recursive structure classic topic collection @ binary tree
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
IPv6 comprehensive experiment
idea一键导包
Realize a binary read-write address book
Idea one key guide package
Rce code and Command Execution Vulnerability
Fuzzy -- basic application method of AFL
ORM aggregate query and native database operation
Drive development - the first helloddk
Leetcode 186 Flip the word II in the string (2022.07.05)
[buuctf.reverse] 159_ [watevrCTF 2019]Watshell