LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-06-2018, 05:24 AM   #1
trite
LQ Newbie
 
Registered: Feb 2016
Location: Sweden
Distribution: Slackware
Posts: 17

Rep: Reputation: Disabled
Cuda 10?


Hello!
The cudatoolkit in slackbuilds is very old. I need Cuda 10 to be able to play around with python and tensorflow.

Anyone out there managed to install _any_ Cuda version above version 8 and have any directions for me?
 
Old 12-06-2018, 07:56 AM   #2
aragorn2101
Member
 
Registered: Dec 2012
Location: Mauritius
Distribution: Slackware
Posts: 531

Rep: Reputation: 249Reputation: 249Reputation: 249
Hi,

First you'll need to get the appropriate version of the nvidia driver which will work with CUDA 10. Check out the release notes to get info on this: https://docs.nvidia.com/cuda/cuda-to...tes/index.html.

Then, there are two ways to proceed. You can either tweak the SlackBuilds script to install the CUDA 10 and be on the safe side as it will all be packaged, so it will be easy to remove if somethings goes wrong.

Or, you can install it manually by running the CUDA "runfile" script.

When you are sure your nvidia module has been loaded at boot, you download and run the script from https://developer.nvidia.com/cuda-downloads (the runfile from Fedora usually works) and run it as root:
Code:
# bash cuda_10..._linux-run
The script is interactive and it will ask you about configuration parameters and where to install what. You just have to plan the install paths well so that you keep track of where everything is.

One possible glitch with running such a new CUDA version is with gcc. In the past, I once encountered a problem in Slackware 14.1 when my native Slackware gcc was a version behind the CUDA gcc. I don't remember which versions exactly, but sometimes these things happen because the CUDA compiler is not built from source when you install. If you encounter this problem you might need to upgrade Slackware's gcc.
 
1 members found this post helpful.
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Start a QT+CUDA+C/C++ Project? eddiep Linux - Software 4 02-18-2010 03:10 PM
Ubuntu Nvidia / CUDA driver installation gourox Linux - Hardware 1 08-14-2009 01:36 AM
LXer: Security distribution BackTrack 4 with CUDA support LXer Syndicated Linux News 0 06-22-2009 02:00 PM
CUDA on Jaunty, Installation successful, but cannot run? beaute Ubuntu 0 06-01-2009 05:42 AM
Anyone tried nvidia CUDA toolkit sniff Programming 0 02-28-2007 06:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:51 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration