I have Ubuntu 8.04 64 bit version installed on Dell XPS 730.
I used the files:
Driver => NVIDIA-Linux-x86_64-180.06-pkg2.run
Toolkit => cuda-linux64-rel-nightly-2.1.1635-3065709.run
SDK => cuda-sdk-linux-2.10.1126.1520-3141441.run
Trying to compile the compilation failed until I did the installations
sudo apt-get install libxi6 libxi-dev
sudo apt-get install libxmu6 libxmu-dev
sudo apt-get install libc6-dev-i386
my gcc version is 4.2.4
Now the compilation is completing successfully however when I try to run any sample I get the following:
sbarakat@chaos:~/NVIDIA_CUDA_SDK$ sudo ./bin/linux/release/template
./bin/linux/release/template: error while loading shared libraries: libcudart.so.2: cannot open shared object file: No such file or directory
if I try without “sudo” I get the following:
NVIDIA: could not open the device file /dev/nvidiactl (Permission denied).
cudaSafeCall() Runtime API error in file <template.cu>, line 100 : initialization error.
My environment variables are:
and the path /usr/local/cuda/lib contains the file libcudart.so.2
My intuition is that the SDK uses 32 bit libraries and hence to not link to the 64 bit libcudart.so.2 shared object.
Installing the 32 bit version of the SDK didn’t help however.
the user “sbarakat” is in the group “admin” and “video” and the installation directories are owned by sbarakat too.
Soon help is appreciated.