Difference between revisions of "Cuda"

From Ghoulwiki
Jump to: navigation, search
(troubleshooting)
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
* http://www.litec-computer.de/PC-Komponenten/Grafikkarten/PCI-express/nVidia/Gigabyte-GV-NX85T256H-8500GT-512MB-Dual-DVI-TV-out-passiv::13515.html
+
== troubleshooting ==
* http://www.litec-computer.de/PC-Komponenten/Grafikkarten/PCI-express/nVidia/ASUS-EN8500GT-SILENT-MAGIC-HTD-512MB-DVI-TV-out-passiv::13117.html
 
* beachten : keine 88 (kann kein atomic), nur 85 oder 86, möglichst viel ram (512mb) , keine karten mit "Nur 128-bit Speicherinterface"
 
  
* svn+ssh://ghoulsblade@zwischenwelt.org/var/svn/robertprojarbeit
+
* compiling cuda samples : error message "... cannot be declared weak" : gcc-4.4 is not supported,
* http://zwischenwelt.org/svn/robertprojarbeit
+
** http://carlosscheidegger.wordpress.com/2009/11/16/cuda-2-3-on-ubuntu-9-10/
 +
** add “–compiler-bindir=/usr/bin/gcc-4.3″ to NVCCFLAGS in your makefiles
 +
** cuda/shared/common.mk
 +
** cuda//C/common/common.mk
 +
 
 +
 
 +
* running example : segfault
 +
** cuda driver not installed ?
 +
** try :  make emu=1
 +
** try :  make dbg=1 emu=1
 +
** gdb ... backtrace:  0xb7fa7ccd in cudaGetDeviceProperties () from /usr/local/cuda/lib/libcudart.so.2
 +
 
 +
 
 +
* 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]]

Latest revision as of 00:16, 29 November 2009

troubleshooting


  • running example : segfault
    • cuda driver not installed ?
    • try : make emu=1
    • try : make dbg=1 emu=1
    • gdb ... backtrace: 0xb7fa7ccd in cudaGetDeviceProperties () from /usr/local/cuda/lib/libcudart.so.2


  • 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