我的计算机在哪里安装了CUDA? [英] Where did CUDA get installed in my computer?

查看:1115
本文介绍了我的计算机在哪里安装了CUDA?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Ubuntu 14.04中安装CUDA 7.5。我遵循了本指南中的所有内容(通过软件包安装): http://developer.download.nvidia.com/compute/cuda/7.5/Prod/docs/sidebar/CUDA_Installation_Guide_Linux.pdf 直到发布构建部分。主要是通过运行以下命令:

I'm trying to install CUDA 7.5 in my ubuntu 14.04. I followed everything in this guide (installation through package): http://developer.download.nvidia.com/compute/cuda/7.5/Prod/docs/sidebar/CUDA_Installation_Guide_Linux.pdf until post build section. Mainly, by running the following commands:

sudo dpkg -i cuda-repo-ubuntu1404-7-5-local_7.5-18_amd64.deb
sudo apt-get update
sudo apt-get install cuda

问题是在成功安装CUDA之后,文件夹/ usr / local / cuda *不存在。进一步尝试安装cuda表示它已经是最新版本。

The thing is the folder /usr/local/cuda* does not exist after successful CUDA installation. Further trying to install cuda says that it is already the newest version.

sudo apt-get install cuda
Reading package lists... Done
Building dependency tree       
Reading state information... Done
cuda is already the newest version.

ls /usr/local/cuda*
ls: cannot access /usr/local/cuda*: No such file or directory

它也没有找到nvcc。

It also does not find nvcc.

nvcc
The program 'nvcc' is currently not installed. You can install it by typing:
sudo apt-get install nvidia-cuda-toolkit

sudo find /usr/ -name nvcc
<no output>

出什么问题了?

推荐答案

我通过使用 Runfile method进行安装解决了(实际放弃了)该问题。我可以使用上述软件包方法安装最新的nvidia驱动程序,但问题似乎出在cuda工具包上。

I solved (ditched actually) the problem by using 'Runfile method' for installing. I could get the latest nvidia driver installed with the package method explained above, but the problem seemed to be the cuda toolkit.

通过Runfile安装驱动程序很麻烦。因此,在提示符下,我选择仅安装 cuda toolkit 7.5,并将所有文件正确复制到 / usr / local / cuda * 目录。

Installing the driver through Runfile is pain. So, at the prompt I chose to install just 'cuda toolkit 7.5' and all the files got copied to /usr/local/cuda* directory properly.

这篇关于我的计算机在哪里安装了CUDA?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆