Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General > Member Success Stories
User Name
Password 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.


  Search this Thread
Old 08-28-2011, 04:31 PM   #1
LQ Newbie
Registered: Nov 2008
Location: Mountain View
Distribution: Linux Mint
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
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.4 + 50+ other Linux OS, for test only.
Posts: 16,992

Rep: Reputation: 3429Reputation: 3429Reputation: 3429Reputation: 3429Reputation: 3429Reputation: 3429Reputation: 3429Reputation: 3429Reputation: 3429Reputation: 3429Reputation: 3429
Moving the post to "Software" : Use the 'Report' button, and ask for the move.
... 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) :
> 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 )


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


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 > Forums > Linux Forums > Linux - General > Member Success Stories

All times are GMT -5. The time now is 05:56 PM.

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