Difference between revisions of "Cuda"

From Ghoulwiki
Jump to: navigation, search
(troubleshooting)
Line 10: Line 10:
 
** cuda driver not installed ?
 
** cuda driver not installed ?
 
** try :  make emu=1
 
** try :  make emu=1
 +
** try :  make dbg=1 emu=1
  
  
Line 20: Line 21:
 
** add line : /usr/local/cuda/lib
 
** add line : /usr/local/cuda/lib
 
** start /sbin/ldconfig
 
** start /sbin/ldconfig
 
  
 
== old ==
 
== old ==
  
 
[[cuda_old_notes]]
 
[[cuda_old_notes]]

Revision as of 00:11, 29 November 2009

troubleshooting

  • running example : segfault
    • cuda driver not installed ?
    • try : make emu=1
    • try : make dbg=1 emu=1


  • error : /usr/bin/ld: cannot find -lglut
    • solution : apt-get install libglut3-dev


  • error (during launch) : error while loading shared libraries: libcudart.so.2: cannot open shared object file: No such file or directory
    • solution : /etc/ld.so.conf
    • add line : /usr/local/cuda/lib
    • start /sbin/ldconfig

old

cuda_old_notes