LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Opensuse 12.3 Nvidia CUDA 5.5 install issues (https://www.linuxquestions.org/questions/suse-opensuse-60/opensuse-12-3-nvidia-cuda-5-5-install-issues-4175475550/)

sniff 09-02-2013 05:42 AM

Opensuse 12.3 Nvidia CUDA 5.5 install issues
 
Hello,

I'm having some issues. I understand that 12.3 isn't officially supported but that is what I have installed so it would be nice if I could get it to work...

I have installed the nvidia driver, seems to work perfectly. I downloaded cuda_5.5.22_linux_64.run and ran it.

I got it to install the toolkit in /usr/local/cuda/
I got it to put the samples in my home dir
I didn't install the driver using this method, it doesn't work.

I have added /usr/local/cuda/bin to my /etc/bash.bashrc.local file and I can see the cuda compiler etc from the command line.
I have created /etc/ld.so.conf.d/cuda.conf file and in it I have put /usr/local/cuda/lib and lib64. I then ran ldconfig

I also rebooted after doing all this.

When I try to make the samples I get the error:
cc1plus: fatal error: cuda_runtime.h: No such file or directory.

I didn't get any other errors during the install process. Any ideas why it can't find the headers? I think I got all the steps.

Phil

angryfirelord 09-02-2013 12:05 PM

Did you try this? http://stackoverflow.com/questions/1...e-or-directory

sniff 09-02-2013 05:22 PM

I haven't tried that yet. I will give it a go tomorrow.

John VV 09-02-2013 08:29 PM

Quote:

I didn't install the driver using this method, it doesn't work.
what driver are you using ?
opensuse 12.3 ships with the nouveau driver

for cuda development you DO NEED the current NVIDIA-Linux-x86-325.15.run

sniff 09-03-2013 01:18 AM

Oh, I am using the correct nvidia driver. If you install the driver at the same time as CUDA it fails to start correctly, so I installed in using the normal process separately. It seems to be working except that it can't find those headers. I have CUDA programs that have been compiled already running on the system.

I will have another go later today if I get the chance.

sniff 09-04-2013 10:11 AM

I'm going to post the nvidia devtalk forum. I will report any solution that might be found.

sniff 09-17-2013 03:42 PM

After a fair bit of faffing about I did a total delete, download and reinstall and its now working.

Phew!


All times are GMT -5. The time now is 01:25 AM.