没有root安装Cuda [英] Install Cuda without root
本文介绍了没有root安装Cuda的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我知道我可以使用以下命令安装Cuda:
I know that I can install Cuda with the following:
wget http://developer.download.nvidia.com/compute/cuda/7_0/Prod/local_installers/cuda_7.0.28_linux.run
chmod +x cuda_7.0.28_linux.run
./cuda_7.0.28_linux.run -extract=`pwd`/nvidia_installers
cd nvidia_installers
sudo ./NVIDIA-Linux-x86_64-346.46.run
sudo modprobe nvidia
sudo ./cuda-linux64-rel-7.0.28-19326674.run
只是想知道我是否可以在没有root用户的情况下安装Cuda?
Just wondering if I can install Cuda without root?
谢谢,
推荐答案
您可以安装CUDA并编译程序,但是由于缺少设备访问权限而无法运行它们。
You can install CUDA and compile programs, but you won't be able to run them for a lack of device access.
这篇关于没有root安装Cuda的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文