【发布时间】:2016-11-28 17:08:00
【问题描述】:
在尝试按照以下指南在 MAC 上安装 nvidia 工具包后:http://docs.nvidia.com/cuda/cuda-installation-guide-mac-os-x/index.html#axzz4FPTBCf7X 我收到错误“Package manifest parsing error”,这导致了我:NVidia CUDA toolkit 7.5.27 failing to install on OS X。我卸载了 dmg,结果是安装程序不会启动,而不是收到“包清单解析错误”(它似乎短暂启动,然后退出)。
通过命令brew install Caskroom/cask/cuda(CUDA 7.5 install on Mac missing nvrtc)安装好像已经成功安装cuda了。
命令nvcc --version 返回:
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2015 NVIDIA Corporation
Built on Mon_Apr_11_13:23:40_CDT_2016
Cuda compilation tools, release 7.5, V7.5.26
我已经在/Developer/NVIDIA/CUDA-7.5/samples/1_Utilities 中构建了示例:
make -C bandwidthTest/
这个执行没有错误。
使用brew install Caskroom/cask/cuda 安装似乎是安全的安装方法?这种安装方法和通过 nvidia 的 DMG 文件安装有什么区别?
Caskroom 似乎是用于安装 GUI 应用程序的 brew 扩展:https://github.com/caskroom/homebrew-cask
IDE 是否也应该作为 cuda 安装的一部分安装?
【问题讨论】:
-
Nsight Eclipse Edition 是适用于 Linux 和 Mac 的 CUDA Toolkit Installer 的一部分。