CUDA

Installation of CUDA on MacOS X 10.5.x (Leopard)

This is the installation procedure for CUDA 2.2:

  • Go to this page on the CUDA Zone, and select the MacOS operating system
  • Download the CUDA toolkit and the CUDA SDK
  • Open the 'cudatoolkit_2.2_macos_32.pkg' file to install it
    • Important: On the 'Installation type' page, click on 'Customize' and check the 'CUDAKext' box
    • When done, before restarting your computer, add the following lines to your .profile file:
      • export PATH="/usr/local/cuda/bin:$PATH"
      • export DYLD_LIBRARY_PATH="/usr/local/cuda/lib:$DYLD_LIBRARY_PATH"
  • Restart your computer
  • Open the 'cudasdk_2.2_macos.pkg' file and install it

To test your installation, open a Terminal and do:

$ cd /Developer/CUDA/projects/deviceQuery/
$ make
$ cd ../../bin/darwin/release/
$ ./deviceQuery
 

A list of your CUDA-compatible graphic cards and their capabilities must appear.

Now you can play with the other projects!