• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

How to install openCL (for F@H) Ubuntu

Joined
Jul 2, 2008
Messages
8,069 (1.40/day)
Location
Hillsboro, OR
System Name Main/DC
Processor i7-3770K/i7-2600K
Motherboard MSI Z77A-GD55/GA-P67A-UD4-B3
Cooling Phanteks PH-TC14CS/H80
Memory Crucial Ballistix Sport 16GB (2 x 8GB) LP /4GB Kingston DDR3 1600
Video Card(s) Asus GTX 660 Ti/MSI HD7770
Storage Crucial MX100 256GB/120GB Samsung 830 & Seagate 2TB(died)
Display(s) Asus 24' LED/Samsung SyncMaster B1940
Case P100/Antec P280 It's huge!
Audio Device(s) on board
Power Supply SeaSonic SS-660XP2/Seasonic SS-760XP2
Software Win 7 Home Premiun 64 Bit
Joined
Apr 19, 2012
Messages
12,062 (2.75/day)
Location
Gypsyland, UK
System Name HP Omen 17
Processor i7 7700HQ
Memory 16GB 2400Mhz DDR4
Video Card(s) GTX 1060
Storage Samsung SM961 256GB + HGST 1TB
Display(s) 1080p IPS G-SYNC 75Hz
Audio Device(s) Bang & Olufsen
Power Supply 230W
Mouse Roccat Kone XTD+
Software Win 10 Pro
Linux noob here. Is it really this convoluted to install openCL? I want to use it for F@H, not for developing. http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-linux/index.html#axzz34QSQ1j3h

When you're new to linux, everything is convoluted and completely obnoxious. There will never be a year of linux on the desktop. It simply isn't newbie friendly in the slightest

As someone who's used linux rather a lot (I'm no expert like EasyRhino, but I know my way round), you get used to it. Once you've got one kind of app running, the rest is pretty easy. You'll learn your way around.
 

Easy Rhino

Linux Advocate
Staff member
Joined
Nov 13, 2006
Messages
15,444 (2.43/day)
Location
Mid-Atlantic
System Name Desktop
Processor i5 13600KF
Motherboard AsRock B760M Steel Legend Wifi
Cooling Noctua NH-U9S
Memory 4x 16 Gb Gskill S5 DDR5 @6000
Video Card(s) Gigabyte Gaming OC 6750 XT 12GB
Storage WD_BLACK 4TB SN850x
Display(s) Gigabye M32U
Case Corsair Carbide 400C
Audio Device(s) On Board
Power Supply EVGA Supernova 650 P2
Mouse MX Master 3s
Keyboard Logitech G915 Wireless Clicky
Software The Matrix
Linux noob here. Is it really this convoluted to install openCL? I want to use it for F@H, not for developing. http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-linux/index.html#axzz34QSQ1j3h

The documentation is very clear.

Assuming you have a CUDA capable card and your 64bit Ubuntu version is supported all you need to do is...

Code:
cd /opt

sudo wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1304/x86_64/cuda-repo-ubuntu1304_6.0-37_amd64.deb

sudo dpkg -i cuda-repo-ubuntu1304_6.0-37_amd64.deb

sudo apt-get update

sudo apt-get install cuda

Then as the user you are going to be running F@H as:

export PATH=/usr/local/cuda-6.0/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda-6.0/lib64:$LD_LIBRARY_PATH  (again assuming 64 bit OS)
 
Last edited:
Joined
Jul 2, 2008
Messages
8,069 (1.40/day)
Location
Hillsboro, OR
System Name Main/DC
Processor i7-3770K/i7-2600K
Motherboard MSI Z77A-GD55/GA-P67A-UD4-B3
Cooling Phanteks PH-TC14CS/H80
Memory Crucial Ballistix Sport 16GB (2 x 8GB) LP /4GB Kingston DDR3 1600
Video Card(s) Asus GTX 660 Ti/MSI HD7770
Storage Crucial MX100 256GB/120GB Samsung 830 & Seagate 2TB(died)
Display(s) Asus 24' LED/Samsung SyncMaster B1940
Case P100/Antec P280 It's huge!
Audio Device(s) on board
Power Supply SeaSonic SS-660XP2/Seasonic SS-760XP2
Software Win 7 Home Premiun 64 Bit
I'm assuming that Linux is backwards compatible??? The CUDA guide says Ubuntu 13.04, and I'm using 14.04.
 

Easy Rhino

Linux Advocate
Staff member
Joined
Nov 13, 2006
Messages
15,444 (2.43/day)
Location
Mid-Atlantic
System Name Desktop
Processor i5 13600KF
Motherboard AsRock B760M Steel Legend Wifi
Cooling Noctua NH-U9S
Memory 4x 16 Gb Gskill S5 DDR5 @6000
Video Card(s) Gigabyte Gaming OC 6750 XT 12GB
Storage WD_BLACK 4TB SN850x
Display(s) Gigabye M32U
Case Corsair Carbide 400C
Audio Device(s) On Board
Power Supply EVGA Supernova 650 P2
Mouse MX Master 3s
Keyboard Logitech G915 Wireless Clicky
Software The Matrix
I'm assuming that Linux is backwards compatible??? The CUDA guide says Ubuntu 13.04, and I'm using 14.04.

From googling it does not look like cuda 6 is working yet with ubuntu 14
 
Joined
Jul 2, 2008
Messages
8,069 (1.40/day)
Location
Hillsboro, OR
System Name Main/DC
Processor i7-3770K/i7-2600K
Motherboard MSI Z77A-GD55/GA-P67A-UD4-B3
Cooling Phanteks PH-TC14CS/H80
Memory Crucial Ballistix Sport 16GB (2 x 8GB) LP /4GB Kingston DDR3 1600
Video Card(s) Asus GTX 660 Ti/MSI HD7770
Storage Crucial MX100 256GB/120GB Samsung 830 & Seagate 2TB(died)
Display(s) Asus 24' LED/Samsung SyncMaster B1940
Case P100/Antec P280 It's huge!
Audio Device(s) on board
Power Supply SeaSonic SS-660XP2/Seasonic SS-760XP2
Software Win 7 Home Premiun 64 Bit
So, am I going to have to find the "lowest common denominator" for Linux/Cuda/openCL?

Edit: Do I need to start all over to downgrade Ubuntu?
 
Last edited:

Easy Rhino

Linux Advocate
Staff member
Joined
Nov 13, 2006
Messages
15,444 (2.43/day)
Location
Mid-Atlantic
System Name Desktop
Processor i5 13600KF
Motherboard AsRock B760M Steel Legend Wifi
Cooling Noctua NH-U9S
Memory 4x 16 Gb Gskill S5 DDR5 @6000
Video Card(s) Gigabyte Gaming OC 6750 XT 12GB
Storage WD_BLACK 4TB SN850x
Display(s) Gigabye M32U
Case Corsair Carbide 400C
Audio Device(s) On Board
Power Supply EVGA Supernova 650 P2
Mouse MX Master 3s
Keyboard Logitech G915 Wireless Clicky
Software The Matrix
So, am I going to have to find the "lowest common denominator" for Linux/Cuda/openCL?

Edit: Do I need to start all over to downgrade Ubuntu?

yes you will need to install 13.04 from scratch or wait for a 14.04 version.
 
Joined
Aug 30, 2009
Messages
4,012 (0.75/day)
Location
Sarasota, Florida, USA
System Name Awesomesauce 4.3 | Laptop (MSI GE72VR 6RF Apache Pro-023)
Processor Intel Core i7-5820K 4.16GHz 1.28v/3GHz 1.05v uncore | Intel Core i7-6700HQ @ 3.1GHz
Motherboard Gigabyte GA-X99-UD5 WiFi LGA2011-v3| Stock
Cooling Corsair H100i v2 w/ 2x EK Vardar F4-120ER + various 120/140mm case fans | Stock
Memory G.Skill RJ-4 16GB DDR4-2666 CL15 quad channel | 12GB DDR4-2133
Video Card(s) EVGA GTX 1080 Ti Hybrid SC2 11GB @ 2012/5151 boost | NVIDIA GTX 1060 6GB +200/+500 + Intel 530
Storage Samsung 840 EVO 500GB + Seagate 3TB 7200RPM + others | Kingston 256GB M.2 SATA + 1TB 7200RPM
Display(s) Acer G257HU 1440p 60Hz AH-IPS 4ms | 17.3" 1920*1080 60Hz wide angle TN notebook panel
Case Fractal Design Define XL R2 | MSI
Audio Device(s) Creative Sound Blaster Z | Realtek with quad stereo speakers and subwoofer
Power Supply Corsair HX850i Platinum | 19.5v 180w Delta brick
Software Windows 10 Pro x64 | Windows 10 Home x64
Joined
Jul 2, 2008
Messages
8,069 (1.40/day)
Location
Hillsboro, OR
System Name Main/DC
Processor i7-3770K/i7-2600K
Motherboard MSI Z77A-GD55/GA-P67A-UD4-B3
Cooling Phanteks PH-TC14CS/H80
Memory Crucial Ballistix Sport 16GB (2 x 8GB) LP /4GB Kingston DDR3 1600
Video Card(s) Asus GTX 660 Ti/MSI HD7770
Storage Crucial MX100 256GB/120GB Samsung 830 & Seagate 2TB(died)
Display(s) Asus 24' LED/Samsung SyncMaster B1940
Case P100/Antec P280 It's huge!
Audio Device(s) on board
Power Supply SeaSonic SS-660XP2/Seasonic SS-760XP2
Software Win 7 Home Premiun 64 Bit
I might try this at work today as I really want to get some machines off of Windows and back onto Linux again. I also saw this during a brief Google search: http://www.overclock.net/t/1407574/gpu-folding-natively-in-linux
Read that whole thread. I don't see people having to do the CUDA/openCL install, BUT, they seem to be mostly using Mint. Could it be that Mint comes ready to go? I'm also trying to figure out the knowledge level of the posters there. The one person doesn't even realize that the reason he went from 35-40K PPD to 95K PPD is (most likely) cause by going from core_15 to core_17 WU's.
Okay, one guy mentions CUDA....

FYI, the work that we do here will be turned into a guide for F@H on Nvidia GPU's on Linux. The goal is to help Folders AND Crunchers better use Linux.
 

Easy Rhino

Linux Advocate
Staff member
Joined
Nov 13, 2006
Messages
15,444 (2.43/day)
Location
Mid-Atlantic
System Name Desktop
Processor i5 13600KF
Motherboard AsRock B760M Steel Legend Wifi
Cooling Noctua NH-U9S
Memory 4x 16 Gb Gskill S5 DDR5 @6000
Video Card(s) Gigabyte Gaming OC 6750 XT 12GB
Storage WD_BLACK 4TB SN850x
Display(s) Gigabye M32U
Case Corsair Carbide 400C
Audio Device(s) On Board
Power Supply EVGA Supernova 650 P2
Mouse MX Master 3s
Keyboard Logitech G915 Wireless Clicky
Software The Matrix
Read that whole thread. I don't see people having to do the CUDA/openCL install, BUT, they seem to be mostly using Mint. Could it be that Mint comes ready to go? I'm also trying to figure out the knowledge level of the posters there. The one person doesn't even realize that the reason he went from 35-40K PPD to 95K PPD is (most likely) cause by going from core_15 to core_17 WU's.
Okay, one guy mentions CUDA....

FYI, the work that we do here will be turned into a guide for F@H on Nvidia GPU's on Linux. The goal is to help Folders AND Crunchers better use Linux.

i don't have a linux box with an nvidia gpu. if i did i would try and get it working tonight. obviously it is easier when you can sit down and pound out some commands and look at what libraries are being called. i did get wcg working wonders on this centos box with little effort. it was cranking away.
 
Joined
Aug 30, 2009
Messages
4,012 (0.75/day)
Location
Sarasota, Florida, USA
System Name Awesomesauce 4.3 | Laptop (MSI GE72VR 6RF Apache Pro-023)
Processor Intel Core i7-5820K 4.16GHz 1.28v/3GHz 1.05v uncore | Intel Core i7-6700HQ @ 3.1GHz
Motherboard Gigabyte GA-X99-UD5 WiFi LGA2011-v3| Stock
Cooling Corsair H100i v2 w/ 2x EK Vardar F4-120ER + various 120/140mm case fans | Stock
Memory G.Skill RJ-4 16GB DDR4-2666 CL15 quad channel | 12GB DDR4-2133
Video Card(s) EVGA GTX 1080 Ti Hybrid SC2 11GB @ 2012/5151 boost | NVIDIA GTX 1060 6GB +200/+500 + Intel 530
Storage Samsung 840 EVO 500GB + Seagate 3TB 7200RPM + others | Kingston 256GB M.2 SATA + 1TB 7200RPM
Display(s) Acer G257HU 1440p 60Hz AH-IPS 4ms | 17.3" 1920*1080 60Hz wide angle TN notebook panel
Case Fractal Design Define XL R2 | MSI
Audio Device(s) Creative Sound Blaster Z | Realtek with quad stereo speakers and subwoofer
Power Supply Corsair HX850i Platinum | 19.5v 180w Delta brick
Software Windows 10 Pro x64 | Windows 10 Home x64
I do have a Mint 15 box running just WCG (my 3770K machine, and actually my Q9550 machine as well) so perhaps I'll put it on the bench with a Corsair TX750 and the GTX 465 or something and see if I can get it working.

EDIT: Put a GTX 470 in a Mint 15 box (my 3770K rig), activated the recommended NVIDIA driver from the device drivers menu, downloaded and installed the pre-requisite package to add the CUDA repository:
http://developer.download.nvidia.co.../x86_64/cuda-repo-ubuntu1304_6.0-37_amd64.deb

and then issued the commands:
Code:
sudo apt-get update

sudo apt-get install cuda



Now I'm waiting several hours for the CUDA toolkit to download via the terminal, all the packages amount to >1GB from what I saw, almost 900MB disk space required for the actual install. I guess the next things I need to do are get WINE set up and Windows F@H set up, and I think there's some config needed to download the Windows GPU WUs, I am not sure. I tried this once before, but had no idea about the CUDA toolkit, so it failed miserably. I am currently using this guide for getting CUDA installed: http://docs.nvidia.com/cuda/cuda-ge...or-linux/index.html#post-installation-actions

EDIT2: CUDA Toolkit finished installing, so I went to go get the Linux F@H client from this guide under the Express Installation section: https://folding.stanford.edu/home/guide/linux-install-guide/

Download the fahclient and fahcontrol .deb files, install in that order. You'll be prompted for your credentials in the fahclient installation, and just install and launch fahcontrol afterwards to delete the CPU slot, add a GPU slot and I added the client-type "beta" flag for good measure. After that, you'll see your NVIDIA GPU hop into action with pitiful PPD at first, but then:

(Also, I think installing CUDA automatically updated the display driver as well, I had 310 activated but it says 331 now. GTX 470 is at stock 608MHz core and running a GELID Icy Vision 2 with a 120mm 2000 RPM fan attached, hence the low temperature.CPU is an i7-3770K at 4.2GHz, and World Community Grid is running on 6 of the 8 threads, F@H needs one full thread it seems.)

 
Last edited:

BUCK NASTY

4P Enthusiust
Joined
Aug 8, 2007
Messages
4,974 (0.82/day)
Location
Port St Lucie, FL. U.S.A.
System Name Main Rig
Processor AMD FX-4130 @ 4.8Ghz
Motherboard ASUS M5A99X Evo
Cooling Coolermaster Hyper 212+
Memory 8GB GSkill DDR3 1600
Video Card(s) ASUS GTX 970 Strix @ 1503Mhz Core
Storage Corsair Force 90gb SSD/ WD Caviar Blue 750gb
Display(s) ASUS 24" IPS
Case Coolermaster Centurion 590
Audio Device(s) Onboard
Power Supply Antec TP750 80+
Software Windows 7 Ultimate 64
Jstn, what's the max ppd you have seen on the GTX470?
 
Joined
Aug 30, 2009
Messages
4,012 (0.75/day)
Location
Sarasota, Florida, USA
System Name Awesomesauce 4.3 | Laptop (MSI GE72VR 6RF Apache Pro-023)
Processor Intel Core i7-5820K 4.16GHz 1.28v/3GHz 1.05v uncore | Intel Core i7-6700HQ @ 3.1GHz
Motherboard Gigabyte GA-X99-UD5 WiFi LGA2011-v3| Stock
Cooling Corsair H100i v2 w/ 2x EK Vardar F4-120ER + various 120/140mm case fans | Stock
Memory G.Skill RJ-4 16GB DDR4-2666 CL15 quad channel | 12GB DDR4-2133
Video Card(s) EVGA GTX 1080 Ti Hybrid SC2 11GB @ 2012/5151 boost | NVIDIA GTX 1060 6GB +200/+500 + Intel 530
Storage Samsung 840 EVO 500GB + Seagate 3TB 7200RPM + others | Kingston 256GB M.2 SATA + 1TB 7200RPM
Display(s) Acer G257HU 1440p 60Hz AH-IPS 4ms | 17.3" 1920*1080 60Hz wide angle TN notebook panel
Case Fractal Design Define XL R2 | MSI
Audio Device(s) Creative Sound Blaster Z | Realtek with quad stereo speakers and subwoofer
Power Supply Corsair HX850i Platinum | 19.5v 180w Delta brick
Software Windows 10 Pro x64 | Windows 10 Home x64
Jstn, what's the max ppd you have seen on the GTX470?

Latest screenshot, definitely the highest I've seen out of this board I feel, even during the days I overclocked it to 700-725MHz:

 
Joined
Oct 21, 2007
Messages
1,489 (0.25/day)
Location
Ozark, Alabama
System Name Mine, spare gamer, comp,
Processor 5800x, 5800x. 3600,
Motherboard Gigabyte X570 Elite wifi, Gigabyte B550m wifi, Asus x570 Gaming wifi
Cooling Ventoo V5, Coolermaster 240 mm AIO, Ventoo V5
Memory 32 GB 3600 ddr4, 32 GB 3600 ddr4, 16 GB 3200 ddr4
Video Card(s) 6800 XT reference, XFX 5700XT Thicc III, EVGA RTX 2080,
Storage Samsung 500 GB 980, Intel M.2 500 GB, Intel M.2 500 gb
Display(s) TCL 43 inch 4k, 27 inch 1440 Shimian, 27 Inch Dell 1920x1080,
Case 2-Antec 280, Matrexx 50
Audio Device(s) Bluetooth output to Sony STR-DH190 into Sony SS-CS5 speakers, same, onboard, same
Power Supply Thermaltake 1350 , Seasonic 650 Watt Platinum, Deepcool 750 Watt Gold
Mouse Corsair, Sentinel Advance, Zio Levetron, CMStorm, Transformer
Keyboard G15, , CMStorm, G15
Software Win 10, POP OS
OK I got an extra C2D combo lying around and a 470. Im gonna get a large bottle of aspirin and give this a try. Gonna use Ubuntu 14.04 though.
 
Joined
Jul 2, 2008
Messages
8,069 (1.40/day)
Location
Hillsboro, OR
System Name Main/DC
Processor i7-3770K/i7-2600K
Motherboard MSI Z77A-GD55/GA-P67A-UD4-B3
Cooling Phanteks PH-TC14CS/H80
Memory Crucial Ballistix Sport 16GB (2 x 8GB) LP /4GB Kingston DDR3 1600
Video Card(s) Asus GTX 660 Ti/MSI HD7770
Storage Crucial MX100 256GB/120GB Samsung 830 & Seagate 2TB(died)
Display(s) Asus 24' LED/Samsung SyncMaster B1940
Case P100/Antec P280 It's huge!
Audio Device(s) on board
Power Supply SeaSonic SS-660XP2/Seasonic SS-760XP2
Software Win 7 Home Premiun 64 Bit
OK I got an extra C2D combo lying around and a 470. Im gonna get a large bottle of aspirin and give this a try. Gonna use Ubuntu 14.04 though.
Look at posts 4-7 in this thread.
 
Last edited:
Joined
Aug 30, 2009
Messages
4,012 (0.75/day)
Location
Sarasota, Florida, USA
System Name Awesomesauce 4.3 | Laptop (MSI GE72VR 6RF Apache Pro-023)
Processor Intel Core i7-5820K 4.16GHz 1.28v/3GHz 1.05v uncore | Intel Core i7-6700HQ @ 3.1GHz
Motherboard Gigabyte GA-X99-UD5 WiFi LGA2011-v3| Stock
Cooling Corsair H100i v2 w/ 2x EK Vardar F4-120ER + various 120/140mm case fans | Stock
Memory G.Skill RJ-4 16GB DDR4-2666 CL15 quad channel | 12GB DDR4-2133
Video Card(s) EVGA GTX 1080 Ti Hybrid SC2 11GB @ 2012/5151 boost | NVIDIA GTX 1060 6GB +200/+500 + Intel 530
Storage Samsung 840 EVO 500GB + Seagate 3TB 7200RPM + others | Kingston 256GB M.2 SATA + 1TB 7200RPM
Display(s) Acer G257HU 1440p 60Hz AH-IPS 4ms | 17.3" 1920*1080 60Hz wide angle TN notebook panel
Case Fractal Design Define XL R2 | MSI
Audio Device(s) Creative Sound Blaster Z | Realtek with quad stereo speakers and subwoofer
Power Supply Corsair HX850i Platinum | 19.5v 180w Delta brick
Software Windows 10 Pro x64 | Windows 10 Home x64
I'm going to try flashing my GTX 465 and GTX 470 to 700MHz tonight, and the GTX 470 has been hovering around 24-26K PPD the last two days. We'll see what happens.
 
Joined
Aug 30, 2009
Messages
4,012 (0.75/day)
Location
Sarasota, Florida, USA
System Name Awesomesauce 4.3 | Laptop (MSI GE72VR 6RF Apache Pro-023)
Processor Intel Core i7-5820K 4.16GHz 1.28v/3GHz 1.05v uncore | Intel Core i7-6700HQ @ 3.1GHz
Motherboard Gigabyte GA-X99-UD5 WiFi LGA2011-v3| Stock
Cooling Corsair H100i v2 w/ 2x EK Vardar F4-120ER + various 120/140mm case fans | Stock
Memory G.Skill RJ-4 16GB DDR4-2666 CL15 quad channel | 12GB DDR4-2133
Video Card(s) EVGA GTX 1080 Ti Hybrid SC2 11GB @ 2012/5151 boost | NVIDIA GTX 1060 6GB +200/+500 + Intel 530
Storage Samsung 840 EVO 500GB + Seagate 3TB 7200RPM + others | Kingston 256GB M.2 SATA + 1TB 7200RPM
Display(s) Acer G257HU 1440p 60Hz AH-IPS 4ms | 17.3" 1920*1080 60Hz wide angle TN notebook panel
Case Fractal Design Define XL R2 | MSI
Audio Device(s) Creative Sound Blaster Z | Realtek with quad stereo speakers and subwoofer
Power Supply Corsair HX850i Platinum | 19.5v 180w Delta brick
Software Windows 10 Pro x64 | Windows 10 Home x64
Cards flashed to 700MHz, noticed the GTX 470 went from 24-34K to around 25.5-36.5K estimated PPD. Best screenie yet:

 
Joined
Aug 30, 2009
Messages
4,012 (0.75/day)
Location
Sarasota, Florida, USA
System Name Awesomesauce 4.3 | Laptop (MSI GE72VR 6RF Apache Pro-023)
Processor Intel Core i7-5820K 4.16GHz 1.28v/3GHz 1.05v uncore | Intel Core i7-6700HQ @ 3.1GHz
Motherboard Gigabyte GA-X99-UD5 WiFi LGA2011-v3| Stock
Cooling Corsair H100i v2 w/ 2x EK Vardar F4-120ER + various 120/140mm case fans | Stock
Memory G.Skill RJ-4 16GB DDR4-2666 CL15 quad channel | 12GB DDR4-2133
Video Card(s) EVGA GTX 1080 Ti Hybrid SC2 11GB @ 2012/5151 boost | NVIDIA GTX 1060 6GB +200/+500 + Intel 530
Storage Samsung 840 EVO 500GB + Seagate 3TB 7200RPM + others | Kingston 256GB M.2 SATA + 1TB 7200RPM
Display(s) Acer G257HU 1440p 60Hz AH-IPS 4ms | 17.3" 1920*1080 60Hz wide angle TN notebook panel
Case Fractal Design Define XL R2 | MSI
Audio Device(s) Creative Sound Blaster Z | Realtek with quad stereo speakers and subwoofer
Power Supply Corsair HX850i Platinum | 19.5v 180w Delta brick
Software Windows 10 Pro x64 | Windows 10 Home x64
Mint 17 and Ubuntu 14.04 are compatible with CUDA Toolkit now! (And probably have been for a few weeks.)

Download and install: http://developer.download.nvidia.co.../x86_64/cuda-repo-ubuntu1404_6.5-14_amd64.deb

Then, in terminal:

Code:
sudo apt-get update

sudo apt-get install cuda

I have not tested distribution upgrades because honestly I screwed up my Mint 15 install by adding Mint 16 sources and upgrading, which left me without a working desktop.
 
Top