fedora23+cuda8.0+gtx970安装

华东博客 华东博客     2022-08-23     262

关键词:

 

https://www.if-not-true-then-false.com/2015/fedora-nvidia-guide/

PRE-INSTALLATION ACTIONS

Some actions must be taken before the CUDA Toolkit and Driver can be installed on
Linux:
? Verify the system has a CUDA-capable GPU.
? Verify the system is running a supported version of Linux.
? Verify the system has gcc installed.
? Verify the system has the correct kernel headers and development packages
installed.
? Download the NVIDIA CUDA Toolkit.
? Handle conflicting installation methods.

lspci | grep -i nvidia
uname -m && cat /etc/*release
gcc --version
sudo dnf install kernel-devel-$(uname -r) kernel-headers-$(uname -r)

As follows:

[[email protected] ~]# lspci | grep -i nvidia
01:00.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 970] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GM204 High Definition Audio Controller (rev a1)
[[email protected] ~]# uname -m && cat /etc/*release
x86_64
Fedora release 23 (Twenty Three)
NAME=Fedora
VERSION="23 (Workstation Edition)"
ID=fedora
VERSION_ID=23
PRETTY_NAME="Fedora 23 (Workstation Edition)"
ANSI_COLOR="0;34"
CPE_NAME="cpe:/o:fedoraproject:fedora:23"
HOME_URL="https://fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=23
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=23
PRIVACY_POLICY_URL=https://fedoraproject.org/wiki/Legal:PrivacyPolicy
VARIANT="Workstation Edition"
VARIANT_ID=workstation
Fedora release 23 (Twenty Three)
Fedora release 23 (Twenty Three)
[[email protected] ~]# gcc --version
gcc (GCC) 5.3.1 20160406 (Red Hat 5.3.1-6)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[[email protected] ~]# uname -r
4.2.3-300.fc23.x86_64
[[email protected] ~]# gcc --version
gcc (GCC) 5.3.1 20160406 (Red Hat 5.3.1-6)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[[email protected] ~]# sudo dnf install kernel-devel-$(uname -r) kernel-headers-$(uname -r)

 

Disable nouveau  and

[[email protected] ~]# echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf
[[email protected] ~]# vi /etc/sysconfig/grub
[[email protected] ~]# grub2-mkconfig -o /boot/grub2/grub.cfg
[[email protected] ~]# vi /etc/dnf/dnf.conf
[[email protected] ~]# mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
[[email protected] ~]# dracut /boot/initramfs-$(uname -r).img $(uname -r)

 Reboot to runlevel 3

[[email protected] ~]# systemctl set-default multi-user.target
Removed symlink /etc/systemd/system/default.target.
Created symlink from /etc/systemd/system/default.target to /usr/lib/systemd/system/multi-user.target.
[[email protected] ~]# reboot

 

  

win10gtx1080ti安装cuda8.0或7.5时提示thisgraphicsdrivercouldnotfind

win10系统显卡Gtx1080ti安装cuda8.0或7.5时提示thisgraphicsdrivercouldnotfind已解决,谢谢!意思是当前安装的驱动和显卡硬件不兼容,建议运行gpu-z,检测下显卡是否刷的假卡。参考技术A遇到同样问题,请问是怎么解决的。。。。。。。。... 查看详情

ubuntu16.04安装cuda8.0(很详尽,包括一些坑的解决方法)

...本篇绝大部分操作需要管理员权限,即sudo,也许不把cuda安装到/usr/lib而是自己的home目录下可 查看详情

(转)深度学习主机环境配置:ubuntu16.04+nvidiagtx1080+cuda8.0

...系统,不过是最新的16.04版本,另外在NvidiaGTX1080的基础上安装相关GPU驱动,外加CUDA8.0,因为都比较新, 查看详情

在fedora25上轻松安装cuda8

...科学计算的性能提升明显。为了使用Cuda8,我们必须使用Fedora23及以上 查看详情

同时安装cuda8.0和cuda9.0(代码片段)

...nvidia.com/cuda-90-download-archive建议选择使用 .run 文件安装,因为使用 .deb可能会将已经安装的较新的显卡 查看详情

cuda8.0如何安装TensorFlow-gpu?

】cuda8.0如何安装TensorFlow-gpu?【英文标题】:HowtoinstallTensorFlow-gpuwithcuda8.0?【发布时间】:2018-07-1213:18:18【问题描述】:我尝试按照官网的说明安装,导致导入tensorflow时出现ImportError:ImportError:libcublas.so.9.0:cannotopensharedobjectfile:No... 查看详情

cuda8.0+vs2013的安装和配置

....lib错写成了cudlas.lib。  其次,我还是记下我的CUDA8.0的安装和测试过程,是为备忘。  步骤如下:  1.下载安装CUDA:   &nb 查看详情

centos7.3安装cuda8.0的坑

1.安装依赖yum-yinstallgcc-c++yum-yinstallepel-releaseyum-yinstall--enablerepo=epeldkmsyum-yinstallkernel-devel-$(uname-r)kernel-headers-$(uname-r)cp./blacklist-nouveau.conf/etc/modprobe.d/blacklist-nouvea 查看详情

ubuntu16.04下安装cuda8.0

一、首先安装NVIDIA显卡驱动通过NVIDIA-Linux-x86_64-367.44.run文件安装。1.添加PPA.sudoadd-apt-repositoryppa:graphics-drivers/ppa2.刷新并安装新的驱动程序sudoapt-getupdatesudoapt-getinstallnvidia-367nvidia-settings(如果需要的话,)卸载:删除所有的nvi 查看详情

windows10+anaconda+tensorflow+cuda8.0环境配置(代码片段)

...ython3.5版本,anaconda2(python2.7)和3(python3.6)都需要额外安装3.5。因为已经装了anaconda2,本教程就用2好啦。1.安装Anaconda 官网地址: https://www.continuum.io/downloads下载完毕后打开安装包,一步一步安装就可以了。注意安装之... 查看详情

fedora23安装chrome的方法

需首先添加FZUG源1.下载google-chrome.repo并保存$wgethttp://repo.fdzh.org/chrome/google-chrome-mirrors.repo-P/etc/yum.repos.d/2.安装Chrome$sudodnfinstallgoogle-chrome-stable 查看详情

caffe在window下编译(windows7,cuda8.0,matlab接口编译)

1.环境:Windows7,Cuda8.0,显卡GTX1080,Matlab2016a,VS2013 (ps:老板说服务器要装windows系统,没办法,又要折腾一番)2.下载caffe包:https://github.com/BVLC/caffe/tree/windows  按照Github上的命令行就行:    这里的Pro 查看详情

卸载cuda-9.1.deb安装cuda8.0(代码片段)

...明install的版本cuda-8-0与cuda-9-1会莫热男装9-1所以如果诺你安装过9.1并且没有移动他的安装包,那么你在apt安装的时候要改下下图的第三条命令sudoapt-getinstallcuda-8-0如果你用的deb安装,可以不用卸载以前的deb9.1,直接用更改过得123命... 查看详情

安装cuda9.0+cudnn7.0与cuda8.0共存(代码片段)

...文献:https://blog.csdn.net/weixin_32820767/article/details/80421913一安装cuda9.01.在自己的目录下为cuda9.0新建一个文件夹,用于存放 cuda_9.0.176_384.81 查看详情

sh在fedora(23+)上安装node.js.(v5.0.0)(代码片段)

查看详情

vs2015配置cuda8.0

...;https://developer.nvidia.com/cuda-downloads2 直接使用默认选项安装 3 设置环境变量: 安装完毕后,在计算机上点右键,打开属性->高级系统设置->环境变量,可以看到系统中多了CUDA_PATH和CUDA_PATH_V8_0两 查看详情

fedora23mysql安装及配置(代码片段)

第一步,下载一个Mysql客户端dnfinstallmysql*这时,当你执行命令:mysql-uroot-p会出现以下错误:mysqlconnectionrefusedandmysqlnosuchfileordirectory或者其他有些变化的提示,反正就是没有本地服务器的意思啦第二步,安... 查看详情

cuda8.0怎么安装

参考技术A步骤如下:1.下载安装CUDA:1.1下载。请到cuda官网,选择合适的版本。如果版本不合适,安装的时候会提示的,但还是下载最新的比较好;1.2安装。双击cuda_7.5.18_win10.exe,一步步来就好。2.VS2013配置和测试2.1重启计算机。... 查看详情