当前位置:网站首页>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 :
边栏推荐
- Chip debugging of es8316 of imx8mp
- 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
- Basic knowledge and examples of binary tree
- Why does MySQL need two-phase commit
- RT thread analysis - object container implementation and function
- [buuctf.reverse] 159_ [watevrCTF 2019]Watshell
- EditorUtility. The role and application of setdirty in untiy
- Modbus协议通信异常
- Rce code and Command Execution Vulnerability
- [NOIP2009 普及组] 分数线划定
猜你喜欢
Postman assertion
Why does MySQL need two-phase commit
Class inheritance in yyds dry inventory C
用StopWatch 统计代码耗时
Codeforces Round #804 (Div. 2)
What are the advantages of the industry private network over the public network? What specific requirements can be met?
Microblogging hot search stock selection strategy
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
Modbus协议通信异常
Postman断言
随机推荐
[buuctf.reverse] 159_ [watevrCTF 2019]Watshell
Request (request object) and response (response object)
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
Force buckle 1189 Maximum number of "balloons"
集合详解之 Collection + 面试题
MySQL time processing
Drive development - the first helloddk
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
[NOIP2008 提高组] 笨小猴
Yyds dry inventory SSH Remote Connection introduction
【LGR-109】洛谷 5 月月赛 II & Windy Round 6
趋势前沿 | 达摩院语音 AI 最新技术大全
Knowledge points of circular structure
yolov5 tensorrt加速
图论的扩展
Fuzzy -- basic application method of AFL
Vite configures the development environment and production environment
Please wait while Jenkins is getting ready to work
The kernel determines whether peripherals are attached to the I2C address
Orm-f & Q object