Fedora Linux Support Community & Resources Center
  #1  
Old 16th July 2009, 02:48 AM
kramulous Offline
Registered User
 
Join Date: Dec 2007
Location: Brisbane, Australia
Posts: 65
Cuda on F11 x86_64

Does anybody have it running?

I get:
/usr/local/cuda/bin/../include/math_functions.h:404: error: inline function ‘int __signbit(double)’ cannot be declared weak

I've tried
gcc (GCC) 4.4.0 20090506 (Red Hat 4.4.0-4)
gcc34 (GCC) 3.4.6 20060404 (Red Hat 3.4.6-13)
icc (ICC) 11.0 20081105

uname -a:
Linux hahah.haha.ha 2.6.29.5-191.fc11.x86_64 #1 SMP Tue Jun 16 23:23:21 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
Reply With Quote
  #2  
Old 16th July 2009, 03:16 AM
kramulous Offline
Registered User
 
Join Date: Dec 2007
Location: Brisbane, Australia
Posts: 65
AARRRGGHHHH!!

Gotta stop finding the solution after posting. Getting sick of looking stupid.

Found the solution here:
http://forums.nvidia.com/index.php?s...t=#entry555518

Essentially:
To compile the sample-projects on F11 w/gcc34 you can change the NVIDIA_CUDA_SDK/common/common.mk lines:
CXX := g++34
CC := gcc34
LINK := g++34 -fPIC
and
NVCCFLAGS := --compiler-bindir /tmp

Then create a symbolic link in /tmp:
ln -s /usr/bin/gcc34 gcc
Reply With Quote
  #3  
Old 16th July 2009, 03:23 AM
scottro's Avatar
scottro Offline
Retired Community Manager -- Banned from Texas by popular demand.
 
Join Date: Sep 2007
Location: NYC
Posts: 8,142
Firstly, thanks for coming back and *posting* the solution. You'd be amazed how many people just delete their thread with a never mind fixed it type message.

Secondly, don't worry. It's one of those things--for some reason, it's far more likely that you'll find the solution after posting the question.
__________________
--
http://home.roadrunner.com/~computertaijutsu

Do NOT PM forum members with requests for technical support. Ask your questions on the forum.


"I don't know why there is the constant push to break any semblance of compatibility" --anon
Reply With Quote
  #4  
Old 17th July 2009, 03:25 AM
pawelk Offline
Registered User
 
Join Date: Mar 2009
Location: southern hemisphere
Posts: 39
kramulous,

I recently tried installing cuda on my p4 but didn't get past installing the NVIDIA Driver. (I made sure to download the Linux 32-bit version.) I got a bunch of suggestions, from the install program, as to the cause but nothing that seemed particularly straight forward to remedy. How was it for you installing/building the drivers? I also made sure to read and follow the relevant README provided by nVidia.

thanks,
pawelk
Reply With Quote
  #5  
Old 18th July 2009, 01:56 AM
kramulous Offline
Registered User
 
Join Date: Dec 2007
Location: Brisbane, Australia
Posts: 65
Yeah, I had issues installing. In the end, I removed everything *nividia* from my system (including all of that kmod stuff - not sure if that was a smart move - but it worked) and downloaded the latest linux_64 driver for my card (8800GTX). I had to reboot a few times given that when I ctrl-alt F% I got blank screens. At least boot times are pretty good.

I then installed everything:
1) CUDA Driver: NVIDIA Driver for Linux (RHEL 5.3) 185.18.14 (which is exactly the same name for the previous driver I installed)
2) CUDA Toolkit: CUDA Toolkit 2.2 for Linux (RHEL 5.3)
3) CUDA SDK: CUDA SDK 2.2.1 code samples for Linux (RHEL 5.3)

The SDK required those changes above to build.
Reply With Quote
  #6  
Old 20th July 2009, 03:18 AM
pawelk Offline
Registered User
 
Join Date: Mar 2009
Location: southern hemisphere
Posts: 39
Thanks for that. In the meantime I made a tactical retreat and downgraded back to fc10. In my case I don't have a cuda enabled card but understood that emulation is supported. I had assumed I needed the drivers for emulation (thought I read that in the nvidia docs somewhere) but then found on the cuda forum that the driver is not needed for emulation only coding. So I have now (no driver) but have installed the toolkit and sdk. Running a "make emu=1" compiled two of the example programs. Another had errors that are probably due as per some of the release notes.. Executing the two examples works. - For the record.

pawelk
Reply With Quote
Reply

Tags
cuda f11 x86_64

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
nvidia cuda sdk examples won't compile [SOLVED] jsnark Using Fedora 6 30th October 2009 08:09 PM
How to get Boinc 6.4.5 to use CUDA Kobuck Using Fedora 7 15th September 2009 05:50 PM
Anyone using CUDA? drunkahol Using Fedora 2 7th August 2009 01:25 AM
kernel 2.6.27.5-37 x86_64 and NVIDIA 177.73 CUDA Drivers - Xen? skamansam Using Fedora 2 15th November 2008 05:16 AM
NVIDIA CUDA & Livna MarkS Using Fedora 2 24th June 2008 06:33 PM


Current GMT-time: 02:00 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat