当前位置:网站首页>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-smiIt 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.runIn 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 ~/.bashrcmodify 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 ~/.bashrcFour . 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 :
边栏推荐
- 用StopWatch 统计代码耗时
- Ad20 is set with through-hole direct connection copper sheet, and the bonding pad is cross connected
- Raspberry pie 3.5-inch white screen display connection
- 集合详解之 Map + 面试题
- Review of double pointer problems
- 關於Unity Inspector上的一些常用技巧,一般用於編輯器擴展或者其他
- 饼干(考试版)
- nacos-高可用seata之TC搭建(02)
- Redis has four methods for checking big keys, which are necessary for optimization
- Sliding window problem review
猜你喜欢

Vite configures the development environment and production environment

Three methods of Oracle two table Association update

Building intelligent gray-scale data system from 0 to 1: Taking vivo game center as an example

IPv6 comprehensive experiment

nacos-高可用seata之TC搭建(02)

Orm-f & Q object

Crazy God said redis notes

【LGR-109】洛谷 5 月月赛 II & Windy Round 6

Summary of redis basic knowledge points

JS quick start (II)
随机推荐
【OSPF 和 ISIS 在多路访问网络中对掩码的要求】
Class inheritance in yyds dry inventory C
nacos-高可用seata之TC搭建(02)
The underlying structure of five data types in redis
Realize a binary read-write address book
In 2022, we must enter the big factory as soon as possible
驱动开发——HelloWDM驱动
Implementing fuzzy query with dataframe
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
TCP three handshakes you need to know
Three methods of Oracle two table Association update
组播和广播的知识点梳理
集合详解之 Map + 面试题
Finance online homework
MySQL if and ifnull use
Crazy God said redis notes
Flody的应用
[effective Objective-C] - memory management
Sliding window problem review
EditorUtility. The role and application of setdirty in untiy