I have converted my Vista 64 system to 64 bit Ubuntu 9.04, installed the Cuda driver, toolkit, sdk, and debugger. I set the compilers to the earlier version, added libraries as needed to compile the SDK.
What I am stuck on now is that I cannot run the examples, for example:
./bandwidthTest: error while loading shared libraries: libcudart.so.2: cannot open shared object file: No such file or directory
This means that the runtime is not correctly set up. I think what I need to do now is install the “example script”
if [ “$?” -eq 0 ]; then
Count the number of NVIDIA controllers found.
/sbin/lspci | grep -i NVIDIA | grep "3D controller" | wc -l
/sbin/lspci | grep -i NVIDIA | grep "VGA compatible controller" | wc -l
expr $N3D + $NVGA - 1
for i in
seq 0 $N; do
mknod -m 666 /dev/nvidia$i c 195 $i;
mknod -m 666 /dev/nvidiactl c 195 255
Is that so?
And if so, where is it suggested that I put this script? From my ancient Unix experience, I am guessing somewhere in /etc/init.d?
Is there some all-encompassing installation document I missed somewhere?