【AI】openEuler 22.03 LTS SP4安装cuda nvidia驱动
下载选择麒麟V10的runfile安装依赖关闭selinux执行默认安装故障处理。
·
cuda+驱动
下载
CUDA Toolkit 12.8 Downloads | NVIDIA Developer
选择麒麟V10的runfile
安装依赖
yum install kernel-devel-$(uname -r) kernel-headers-$(uname -r) gcc make tar gzip
关闭selinux
setenforce 0
vim /etc/selinux/
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these three values:
# targeted - Targeted processes are protected,
# minimum - Modification of targeted policy. Only selected processes are protected.
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
chmod +x cuda_12.8.0_570.86.10_linux.run
./cuda_12.8.0_570.86.10_linux.run
执行默认安装
故障处理
[root@localhost media]# ./cuda_12.8.0_570.86.10_linux.run
Extraction failed.
Ensure there is enough space in /tmp and that the installation package is not corrupt
Signal caught, cleaning up
没有安装tar导致!
yum install gzip tar
lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
x CUDA Installer x
x - [X] Driver x
x [X] 570.86.10 x
x + [X] CUDA Toolkit 12.8 x
x [X] CUDA Demo Suite 12.8 x
x [X] CUDA Documentation 12.8 x
x - [ ] Kernel Objects x
x [ ] nvidia-fs x
x Options x
x Install x
x x
x x
x x
x x
x x
x x
x x
x x
x x
x x
x x
x x
x Up/Down: Move | Left/Right: Expand | 'Enter': Select | 'A': Advanced options x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
参考
Unsupported distribution or misconfigured repository settings | NVIDIA Container Toolkit
更多推荐
所有评论(0)