The latest Nvidia driver is installed (x86_64-169.09-pkg2.run).
Cuda toolkit 1.1 for RH5 x86_64 is also installed (/usr/local/cuda) as well as cuda sdk for linux (/root/NVIDIA_CUDA_SDK).
I red the release note available with sdk and i tried to specify the path of the cuda binaries the “path environment variable” but i don’t really know where to find that… The same problem happens when i try to specify cuda libraries to “LD_LIBRARY_PATH”.
The release note says that it can be done in .bash_profile via bash by adding :
I took a look on what’s installed and it appears that some mesa-libGL* are already there…
But, indeed there are no mesa-libGLU-devel installed
I’ll try to find that !
I used “make”, “make dbg=1”, “make emu=1” and “make emu=1 dbg=1”. Everything worked fine, but when I want to run one of the example located in /root/NVIDIA_CUDA_SDK/bin/linux/release/, terminal answers :
[root@tesla release]# ./matrixMul
./matrixMul: error while loading shared libraries: libcudart.so: cannot open shared object file: no such file or directory
I gave all access permission to cuda and its containt (/usr/local/cuda)
with chmod -R 777 cuda, same thing to sdk (/root/NVIDIA_CUDA_SDK).
I think it might be a path problem, but if it is so, i don’t really know how to correct that…
Okay, when i type that just before using one of the examples located in /root/NVIDIA_CUDA_SDK/bin/linux/release/
most of them are working correctly.
But when i restart the computer, i have to type it again…
Is there a way to make that permanent ?
For example by creating a .bash_profile file with the bash command line you gave me ?
I tried to copy this command line in .bash_profile located in my home directory (/root) but it still asks me for this line after reboot…
In order to understand a bit more about how to program the tesla card, i typed the example from the “NVIDIA CUDA Programming Guide v1.1” located page 69 (6.2 Source Code Listing).
I tried to make it but it answers me : No rule to male target
Then, i tried to compile it with nvcc, it happens that there are errors like “attribute” missing or undefined functions…