scottlang
GPU NVIDIA 드라이버 설치 본문
nvdia driver설치하기
$ yum update
$ yum install kernel-devel kernel-headers gcc make
nouveau 을 활성화시키면 충돌가능성이 있기에 blacklist해준다.
$ echo 'blacklist nouveau' >> /etc/modprobe.d/blacklist.conf
$ dracut /boot/initramfs-$(uname -r).img $(uname -r) --force
$ reboot
파일다운
Download NVIDIA, GeForce, Quadro, and Tesla Drivers
Download NVIDIA, GeForce, Quadro, and Tesla Drivers
www.nvidia.com
$ wget http://kr.download.nvidia.com/XFree86/Linux-x86_64/390.59/NVIDIA-Linux-x86_64-390.59.run
$ wget https://us.download.nvidia.com/tesla/440.33.01/NVIDIA-Linux-x86_64-440.33.01.run
이것저것 뜨는데 다 ok, yes해줌 된다.
$ bash NVIDIA-Linux-xx.run
1. WARNING: nvidia-installer was forced to guess the X library path '/usr/lib64' and X
module path '/usr/lib64/xorg/modules'; these paths were not queryable from the
system. If X fails to find the NVIDIA X driver module, please install the
`pkg-config` utility and the X.Org SDK/development package for your distribution
and reinstall the driver
OK
2. Install NVIDIA's 32-bit compatibility libraries?
YES
3. Would you like to run the nvidia-xconfig utility to automatically update your X
configuration file so that the NVIDIA X driver will be used when you restart X? Any
pre-existing X configuration file will be backed up.
YES
4. Your X configuration file has been successfully updated. Installation of the NVIDIA
Accelerated Graphics Driver for Linux-x86_64 (version: 390.59) is now complete.
OK
$ nvidia-smi
CUDA PATH 설정
vi ~/.bash_profile
export PATH=$PATH:/usr/local/cuda-11.2/bin
export CUDADIR=/usr/local/cuda-11.2
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-11.2/lib64
source ~/.bashrc
export PATH=/usr/local/cuda-11.2/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda-11.1/lib64:$LD_LIBRARY_PATH
source ~/.bashrc
'Server' 카테고리의 다른 글
Dell EMC Open Manage Enterprise(OME) 서버 설치 (0) | 2021.09.10 |
---|---|
DELL OME Proxy 연결 TEST (0) | 2021.09.10 |
nvidia-smi 출력 시간 튜닝 (0) | 2021.06.20 |
Dell OME + Power Manager plugin (0) | 2021.03.05 |
Racadm idrac SNMP 설정 (0) | 2021.02.16 |