LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 09-02-2013, 05:42 AM   #1
sniff
Member
 
Registered: Jan 2003
Location: Durham UK
Distribution: openSUSE 12.2/3 x86_64, Debian
Posts: 307

Rep: Reputation: 42
Question 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
 
Old 09-02-2013, 12:05 PM   #2
angryfirelord
Member
 
Registered: Dec 2005
Posts: 492

Rep: Reputation: 57
Did you try this? http://stackoverflow.com/questions/1...e-or-directory
 
Old 09-02-2013, 05:22 PM   #3
sniff
Member
 
Registered: Jan 2003
Location: Durham UK
Distribution: openSUSE 12.2/3 x86_64, Debian
Posts: 307

Original Poster
Rep: Reputation: 42
I haven't tried that yet. I will give it a go tomorrow.
 
Old 09-02-2013, 08:29 PM   #4
John VV
Guru
 
Registered: Aug 2005
Posts: 12,110

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
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
 
Old 09-03-2013, 01:18 AM   #5
sniff
Member
 
Registered: Jan 2003
Location: Durham UK
Distribution: openSUSE 12.2/3 x86_64, Debian
Posts: 307

Original Poster
Rep: Reputation: 42
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.
 
Old 09-04-2013, 10:11 AM   #6
sniff
Member
 
Registered: Jan 2003
Location: Durham UK
Distribution: openSUSE 12.2/3 x86_64, Debian
Posts: 307

Original Poster
Rep: Reputation: 42
I'm going to post the nvidia devtalk forum. I will report any solution that might be found.
 
Old 09-17-2013, 03:42 PM   #7
sniff
Member
 
Registered: Jan 2003
Location: Durham UK
Distribution: openSUSE 12.2/3 x86_64, Debian
Posts: 307

Original Poster
Rep: Reputation: 42
After a fair bit of faffing about I did a total delete, download and reinstall and its now working.

Phew!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Nvidia launches Nsight CUDA dev tools into Eclipse LXer Syndicated Linux News 0 05-14-2012 09:40 PM
nvcc CUDA Fortran from PGI and Nvidia GPU Alexvader General 2 05-12-2011 11:44 AM
Ubuntu Nvidia / CUDA driver installation gourox Linux - Hardware 1 08-14-2009 12:36 AM
Trying to install Nvidia driver on Opensuse 10.2 Defender Linux - Hardware 3 06-11-2007 08:18 AM
Anyone tried nvidia CUDA toolkit sniff Programming 0 02-28-2007 05:40 AM


All times are GMT -5. The time now is 09:11 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration