https://pacess.blogspot.com/2017/03/install-cuda-8-on-centos-7.html
#記得先安裝
1.https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html
2.https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=CentOS&target_version=7&target_type=rpmlocal
中的cuda與cuda driver
wget https://developer.download.nvidia.com/compute/cuda/11.2.2/local_installers/cuda-repo-rhel7-11-2-local-11.2.2_460.32.03-1.x86_64.rpm
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
sudo rpm -i cuda-repo-rhel7-11-2-local-11.2.2_460.32.03-1.x86_64.rpm
sudo yum-config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/cuda-rhel7.repo
sudo yum clean all
sudo yum -y install nvidia-driver-latest-dkms cuda
sudo yum -y install cuda-drivers
reboot
vim /etc/profile
-----------------------------------------------------------------------------
export PATH=/usr/local/cuda-11.2/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda-11.2/lib64:/usr/local/cuda-11.2/extras/CUPTI/lib64:$LD_LIBRARY_PATH
-----------------------------------------------------------------------------
mkdir ~/cuda-test
cd ~/cuda-test
cuda-install-samples-11.2.sh test
cd test
cd NVIDIA_CUDA-11.2_Samples/1_Utilities/deviceQuery
make
./deviceQuery
contributed by <MuChengChen>
Apr 29, 2025contributed by < MuChengChen >
Mar 10, 2025preface(振) 因總是有許多不必要的開銷,為了避免月底只能吃泡麵或看著戶頭錢越來越少,心越來越痛,又不想厚著臉皮向媽媽要錢。 Problem Definition(振) My target problem - 大學生的預算有限,因為生活所需加上各種活動的開銷,使得大學生在月底時有非常大的機率超支。如何幫助大學生節省不必要支出? Problem Decomposition constrain(振)
Sep 29, 2021Docker介紹影片 https://www.youtube.com/watch?v=37b3cWIIxUg&list=PLmOn9nNkQxJFX0YVLDw5EMUL-4cVzXL33&index=1 Docker下載 https://docs.docker.com/engine/install/centos/ Docker 鏡像安裝步驟: 1.搜索鏡像 2.拉取鏡像 3.查看鏡像
Mar 6, 2021or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up