Friday, January 18, 2008

nvidia cuda environment on fedora core

All files required can be downloaded from:http://www.nvidia.com/object/cuda_get.html#linux


  1. change to boot into text mode before installing NVidia drivervi /etc/inittabchange: id:5:initdefault:to: id:3:initdefault:reboot (to text mode)
  2. install NVidia driver provided from the cuda download pagesh NVIDIA-Linux-version.-pkg1.run
  3. add the following into Section “Screen” of /etc/X11/xorg.confOption “SLI” “off”Option “ProbeAllGpus” “True”
  4. add the red part into /boot/grub/grub.confuppermem 524288kernel /vmlinuz-2.xxxxxxxx ……….. rhgb quiet vmalloc=256MBpci=nommconf
  5. install cuda package
  6. change to boot back to GUI modevi /etc/inittabchange: id:3:initdefault:to: id:5:initdefault:reboot (back to X GUI mode)
  7. install freegult package, it is required for cuda SDK samples:rpm -ivh freeglut-version.rpmrpm -ivh freeglut-devel-version.rpm
  8. add /usr/local/cuda/lib into /etc/ld.so.conf/sbin/ldconfig
  9. install CUDA SDK
  10. please make sure your SELinux setting is disabled:System -> Administration -> Security Level and Firewall -> SELinux -> SELinux Setting: Disabled
  11. add /usr/local/cuda/bin to your path


You are ready to CUDA!

No comments: