Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NVidia CUDA toolkit 7.5.27 failing to install on OS X

Tags:

macos

cuda

nvidia

Downloading the CUDA toolkit DMG works, but the installer fails with a cryptic "package manifest parsing error" error after selecting packages.

Running the installer from the command line using the binary inside fails in a similar manner. The log file at /var/log/cuda_installer.log basically says the same:

Apr 28 18:16:10  CUDAMacOSXInstaller[58493] : Awoken from nib!
Apr 28 18:16:10  CUDAMacOSXInstaller[58493] : Switched to local mode.
Apr 28 18:16:24  CUDAMacOSXInstaller[58493] : Package manifest parsing error!
Apr 28 18:16:24  CUDAMacOSXInstaller[58493] : Package manifest parsing error!
Apr 28 18:16:24  CUDAMacOSXInstaller[58493] : Package manifest parsing error!

I have a prior version of cuda 7.5 installed, which (a while ago) was done through the same process without error.

(OS X 10.11, GeForce GT750M)

like image 674
rdadolf Avatar asked Apr 29 '16 15:04

rdadolf


People also ask

Can CUDA be installed on Mac?

Once you have verified that you have a supported NVIDIA GPU, a supported version the MAC OS, and clang, you need to download the NVIDIA CUDA Toolkit. The NVIDIA CUDA Toolkit is available at no cost from the main CUDA Downloads page.

Do I need to install Cudatoolkit?

When using anaconda installer ( conda install tensorflow-gpu ), you do not need to install the system "CUDA Toolkit" (standalone, meaning outside of Python). With pip, you can use "CUDA Toolkit" (1.), but you should not! You can also install "cudatoolkit" (2.) with pip, but that is also not recommended.


1 Answers

The phrase "Package manifest parsing error" produced zero hits on Google before, so hopefully this answer helps others.

I spoke to an NVidia dev about this, and apparently there is a known issue for version 7.5.27 on OS X. Having more than one CUDA installed DMG mounted will cause any installer to have this issue.

Unmounting all but one DMG solves this issue. It will likely be fixed in a future release of the CUDA toolkit.

like image 195
rdadolf Avatar answered Oct 07 '22 15:10

rdadolf