LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories
User Name
Password
LinuxQuestions.org Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.

Notices

Reply
 
Search this Thread
Old 08-28-2011, 04:31 PM   #1
Greatwolf
LQ Newbie
 
Registered: Nov 2008
Posts: 6

Rep: Reputation: 0
Question How to install Cuda/OpenCL nvcc compiler for PCLinuxOS?


I'm having trouble getting this setup under pclinuxos(2011) distro. Basically, I already have the proprietary nvidia drivers setup and working for xserver. I also have nvidia-current-cuda-opencl (CUDA and OpenCL libraries) and nvidia-current-devel installed from synaptic package manager. However, I can't locate the nvcc compiler anywhere nor are there any OpenCL/Cl.h header files to be found.

Anyone have any idea why these crucial development files aren't present? Is there another install package I need to get? I need these for getting cpyrit-cuda to build -- needless to say without the headers and nvcc cuda compiler this won't work.

Edit: I just realized I posted in the wrong section shortly after hitting the 'post' button. Can someone please move this or is there a way for me to delete and repost?

Last edited by Greatwolf; 08-28-2011 at 04:35 PM.
 
Old 08-29-2011, 03:10 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,947

Rep: Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602
Moving the post to "Software" : Use the 'Report' button, and ask for the move.
Quote:
... why these crucial development files aren't present ?
Storage space, money. Very few people would use a package.
Most may prefer the latest source / installer from Nvidia. ?
( 12 nvcc threads only at LQ.)
Mandriva supplies nvcc : nvidia-cuda-toolkit-devel.
All other Linux OS : No nvcc , AFAIK.

The package is very easy to build on PCLinuxOS (2010) :
ftp://ftp.sunet.se/pub/Linux/distrib...0.17-1.src.rpm
> nvidia-cuda-toolkit-4.0.17-1.src.rpm : 331 MB.
The SRC RPM is actually two installers (One 32bit, one 64bit), 4 files total.

$ rpmbuild -bb nvidia-cuda-toolkit.spec
3 packages are created : ( Total 221 MB )
nvidia-cuda-toolkit-4.0.17-1pclos2010.i586.rpm
nvidia-cuda-toolkit-devel-4.0.17-1pclos2010.i586.rpm
nvidia-compute-profiler-4.0.17-1pclos2010.i586.rpm

..

Last edited by knudfl; 08-29-2011 at 03:28 AM.
 
1 members found this post helpful.
  


Reply

Tags
nvidia, pclinuxos


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
opencl meetajinkya88 Programming 1 05-24-2011 09:37 AM
nvcc CUDA Fortran from PGI and Nvidia GPU Alexvader General 2 05-12-2011 11:44 AM
how to install/enable Nvidia OpenCL in Slackware64 13.1? linuxs64 Slackware 2 11-23-2010 08:33 PM
problems with CUDA 3.0 64 bit install, drivers and SDK eulering Linux - General 0 06-08-2010 01:22 AM
So I need a C compiler to install a c compiler. Makes sense. vic305 Linux - Software 8 12-17-2008 10:30 PM


All times are GMT -5. The time now is 01:54 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