[SOLVED] Opensuse 12.3 Nvidia CUDA 5.5 install issues
SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.