[CentOS] CUDA tools?

Fri Oct 6 07:15:40 UTC 2017
Pete Biggs <pete at biggs.org.uk>

On Thu, 2017-10-05 at 17:07 -0400, m.roth at 5-cent.us wrote:
> vychytraly . wrote:
> > On Thu, Oct 5, 2017 at 9:51 PM, <m.roth at 5-cent.us> wrote:
> > > 
> > > So, kmod-nvidia installed. Trouble is, I have no tool to test it. And my
> > > user might need nvcc, which, of course, is only provided by the NVidia
> > > CUDA, which won't install, because it conflicts with kmod-nvidia.
> > > 
> > > Has *anyone* dealt with this? If so, what was your solution?
> > > 
> > 
> > Are you installing CUDA from official NVidia repository?
> 
> Please don't top post.
> 
> Why, is there some other? 

I suppose the epel kmod-nvidia might count - it will allow CUDA apps to
run but you can't develop with it.

> I did try, last week, and went through one
> failure after another. Actually, my user's testing now with kmod-nvidia.
> If that doesn't work, I'm back to square one: uninstall everything, then
> start with CUDA, rather than the proprietary driver. If that doesn't work,
> uninstall CUDA, then try the most-current proprietary driver.... (The last
> try wouldn't build, because of the lack of .../include/linux/fence.h.)
> 

I use the nVidia repo for CUDA. It seems to work OK and you don't need
to compile anything as far as I can see. Sorry if you already know
this, but you can get it from 

 https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=CentOS&target_version=7&target_type=rpmnetwork

sorry for the long URL - if you want go to 

  https://developer.nvidia.com/cuda-downloads

and click through the selections. Ultimately you just do a 'yum install
cuda' and it installs everything you need for a CUDA development
environment including the kernel drivers - and it's kept up to date.

Documentation on it is at 

  http://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#package-manager-installation


P.