I’ve installed cuda on ubuntu 11.10 but when I open matlab r2011b and I type gpuDevice I get:
>> gpuDevice
Error using gpuDevice (line 22)
The CUDA driver could not be loaded. An NVIDIA GPU with CUDA driver is required. The required CUDA version
is: 4 or greater. The library name used was: libcuda.so.1. The error was: libcuda.so.1: cannot open shared
object file: No such file or directory.
Ok I fixed it. Now when I try to run make in the SDK folder I get:
/usr/bin/ld: warning: libnvidia-tls.so.295.20, needed by /usr/lib/nvidia-current/libGL.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libnvidia-glcore.so.295.20, needed by /usr/lib/nvidia-current/libGL.so, not found (try using -rpath or -rpath-link)
inside NVIDIACOMPUTE SDK folder there is a folder named “doc”. Inside this folder there is some information about missing libraries in each distribution and what to do.