gpt4 book ai didi

cuda - 在 centos 6.2 上设置 cuda 5.0

转载 作者:行者123 更新时间:2023-12-04 19:35:03 24 4
gpt4 key购买 nike

关闭。这个问题是off-topic .它目前不接受答案。












想改进这个问题? Update the question所以它是on-topic对于堆栈溢出。


9年前关闭。







Improve this question




我想在centos 6.2上设置cuda 5.0,失败了,错误如下:

  • 找不到当前运行的内核源代码树
    核心。请确保您已安装内核源文件
    对于您的内核并且它们已正确配置;在红帽上
    例如,Linux 系统,请确保您拥有“内核源”或
    'kernel-devel' RPM 已安装。如果您知道正确的内核源
    文件已安装,您可以使用
    '--kernel-source-path' 命令行选项。

  • 我已经成功执行命令“yum install kernel-devel.x86_64”,但是我执行 cuda_5.0.24_linux_64_rhel6.x.run,我失败了。
  • 然后我执行“cuda_5.0.24_linux_64_rhel6.x.run --kernel-source-path='/usr/src/kernels/2.6.32-279.14.1.el6.x86_64',我得到了未知选项'kernel-source- name',我也失败了。
  • 最佳答案

    下载以下 RPM:

    http://ftp.riken.jp/Linux/centos/6.2/os/x86_64/Packages/kernel-devel-2.6.32-220.el6.x86_64.rpm http://ftp.riken.jp/Linux/centos/6.2/os/x86_64/Packages/kernel-debug-2.6.32-220.el6.x86_64.rpm



    并使用以下方法安装它们:
    rpm -iv kernel-devel-2.6.32-220.el6.x86_64.rpm kernel-debug-2.6.32-220.el6.x86_64.rpm

    here 查找任何其他缺失的 rpm

    关于cuda - 在 centos 6.2 上设置 cuda 5.0,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13786507/

    24 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com