AOA AOA AOA Folding For Team 45 AOA Files Home Front Page Become an AOA Subscriber! UserCP Calendar Memberlist FAQ Search Forum Home


Go Back   AOA > General > Samuknow's AOA FOLDING@HOME Team > nVidia/ATI GPU clients

nVidia/ATI GPU clients Folding clients that use GPUs on graphics cards

Reply
 
LinkBack Thread Tools Rate Thread
  #1 (permalink)  
Old 7th October, 2009, 10:55 PM
Member
 
Join Date: April 2005
Location: AZ
Posts: 2,172

64-bit LINUX setup guide for GPU client under WINE

(The finished version of the linux GPU2 folding guide. I've tested it on a couple of rigs and can verify it does work. TR, you can move it edit it as you see fit)

Ubuntu/Mint linux 64 bit instructions. 32 bit set up coming soon. Can be used for gentoo, arch and most other distros with some modifications. Under Gentoo you only need to install wine and start from that point in the guide as the rest is already in place. You will need to mask any nvidia-drivers newer than 180.60 to make it happen though. Under Arch you will need to install base-devel and wine.

Make sure you have an updated system with the 180 series nvidia drivers. Can be installed through the package manager. Do not install drivers newer than the 180 series if you plan to run GPU2. They do not work and will only give an UNSTABLE_MACHINE error

Open up a terminal

Code:
sudo apt-get install wine build-essential linux-headers-`uname -r`
Code:
mkdir -p ~/folding/gpu
Code:
cd ~/folding/gpu
Next we will grab the wrapper.
Code:
wget http://files.aoaforums.com/F3890-cudart.dll.so.zip
Extract the cudart.dll.so (notice the *, * is used as a wildcard so I am able to execute a command on stuff with long filenames without having to type it all out, you will see a better example a couple of posts down.
Code:
unzip F3890-cudart*
Download the cuda toolkit
Code:
wget http://developer.download.nvidia.com/compute/cuda/2_0/linux/toolkit/NVIDIA_CUDA_Toolkit_2.0_ubuntu7.10_x86.run
Install the toolkit, Do Not change the default installation location, just hit enter when prompted
Code:
sudo sh NVIDIA_CUDA_Toolkit_2.0_ubuntu7.10_x86.run
Create wine directories
Code:
wine notepad
Close the notepad window, we only needed it to put the wine directories in place.

Copy the cudart.dll to the newly created wine directory
Code:
cp -a cudart.dll.so ~/.wine/drive_c/windows/system32/nvcuda.dll
Copy cuda files to lib32 directory
Code:
sudo cp -a /usr/local/cuda/lib/* /usr/lib32
Download the windows gpu2 console version
Code:
wget http://www.stanford.edu/group/pandegroup/folding/release/Folding@home-Win32-GPU_XP-623.zip
Extract it, notice the wildcard being used to execute a command with minimal typing.
Code:
unzip Fold*
Run the following command and happy folding.
Code:
nice wine Folding@home-Win32-GPU.exe -verbosity 9 -forcegpu nvidia_g80
If you have to shut it down just hit control+c inside the open terminal, to start it back up. cd ~/folding/gpu and run the nice wine command above.

Special thanks go out to the many people on foldingforum.org that put in a lot of work to make this possible.

This sticky post by ccperf721p was copied from this thread:
http://www.aoaforums.com/forum/nvidia-ati-gpu-clients/47946-gpu-clients-in-linux-under-wine.html
The thread contains posts made while developing/troubleshooting the instructions and is closed to further posting.

-TR
__________________
Biostar TForce X58 - Core i7 920 - 6GB Corsair Dominator DDR3 - XFX 9800GTX 512MB - PCP&C 750W - 1 X 36GB Raptor, 1 X 200GB Sata2, 3 X 320GB Sata2 - Dual boot, Gentoo Linux/WinXP

Last edited by ccperf721p; 10th October, 2009 at 10:19 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 10th October, 2009, 11:01 AM
Gizmo's Avatar
Chief BBS Administrator
BassTeroids Champion, Global Player Champion, Aim & Fire Champion, Puzzle Maniax Champion, Othello Champion, Canyon Glider Champion, UFO Shoot Out Champion, Unicycle Challenge Champion, Zed Champion
 
Join Date: May 2003
Location: Webb City, Mo
Posts: 14,947
Send a message via ICQ to Gizmo Send a message via AIM to Gizmo Send a message via MSN to Gizmo Send a message via Yahoo to Gizmo Send a message via Skype™ to Gizmo

The cudart.dll.so can be retrieved using wget from here: f@h - Cudart
__________________
Avatar and sig graphic by Pitch. Subscribers!
Ask about a custom graphic or avatar today!
 
Later,
Gizmo
Thermal Diode Mod and Direct-Die Water Block
8-Cheetah 18GiB U-2 SCSI
MegaRAID Enterprise 1500/128MiB
Samsung SyncMaster 955DF
TTGI/Superflower TTS-520 PSU
 

 
AOA Team filesAOA Team wcgAOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 10th October, 2009, 02:45 PM
Daniel ~'s Avatar
Chief BBS Administrator
 
Join Date: September 2001
Location: Seattle Wa.
Posts: 40,429

OUTSTANDING work Cliff! ":O}
__________________
"Though all men live in ignorance before mystery,
they need not live in darkness...
Justice is foundation and ETERNAL
."
DKE

"All that we do is touched by Ocean
Yet we remain on the shore of what we know."
Richard Wilbur


Subscribers! Ask Pitch about a Custom Sig Graphic

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 10th October, 2009, 04:15 PM
PorPorMe's Avatar
NonComunications Engineer
 
Join Date: January 2008
Location: Spokane, Wa
Posts: 3,025

Quote:
Originally Posted by Daniel ~ View Post
OUTSTANDING work Cliff! ":O}
I can do nothing but agree with that!
__________________
AOA Team fah

1ST Thermaltake V9 Case * Windows 7 x64 * Gigibyte GM-MA74GM-S2 * Phenom X4 9650 2.3Ghz @ 2.76GHz * G Skill 4 GB DDR2 * EVGA Geforce 9800GT 512GB * Antec 650w
2nd PetCarrier II * XP PRO SP3 * EVGA 780i SLi * Core 2 Duo E8400 3.0GHz @ 3.48GHz * ATI All in Wonder 128 * Corsair 2GB DDR2-6400C4 * Antec 650w



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 10th October, 2009, 10:20 PM
Member
 
Join Date: April 2005
Location: AZ
Posts: 2,172

updated the instructions to use wget to retrieve the wrapper. Thank you Gizmo.
__________________
Biostar TForce X58 - Core i7 920 - 6GB Corsair Dominator DDR3 - XFX 9800GTX 512MB - PCP&C 750W - 1 X 36GB Raptor, 1 X 200GB Sata2, 3 X 320GB Sata2 - Dual boot, Gentoo Linux/WinXP
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 10th November, 2009, 03:59 PM
Gizmo's Avatar
Chief BBS Administrator
BassTeroids Champion, Global Player Champion, Aim & Fire Champion, Puzzle Maniax Champion, Othello Champion, Canyon Glider Champion, UFO Shoot Out Champion, Unicycle Challenge Champion, Zed Champion
 
Join Date: May 2003
Location: Webb City, Mo
Posts: 14,947
Send a message via ICQ to Gizmo Send a message via AIM to Gizmo Send a message via MSN to Gizmo Send a message via Yahoo to Gizmo Send a message via Skype™ to Gizmo

Just got it kinda working on Fedora 11. The only change was that, with 64-bit F11, the libs are in /usr/lib rather than /usr/lib32 (F11 apparently uses lib and lib64)

However, I'm getting the following:
Quote:
[20:55:55] Entering M.D.
Reading file work/wudata_02.tpr, VERSION 3.1.4 (single precision)
Reading file work/wudata_02.tpr, VERSION 3.1.4 (single precision)
Reading sasa-enabled ir 0 0
Initializing Nvidia gpu library
Run: exception thrown during GuardedRun
[20:56:01] Run: exception thrown during GuardedRun
[20:56:01] Run: exception thrown in GuardedRun -- Gromacs cannot continue further.
Could this be due to some conflict with Compiz-Fusion?
__________________
Avatar and sig graphic by Pitch. Subscribers!
Ask about a custom graphic or avatar today!
 
Later,
Gizmo
Thermal Diode Mod and Direct-Die Water Block
8-Cheetah 18GiB U-2 SCSI
MegaRAID Enterprise 1500/128MiB
Samsung SyncMaster 955DF
TTGI/Superflower TTS-520 PSU
 

 
AOA Team filesAOA Team wcgAOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 10th November, 2009, 09:36 PM
ThunderRd's Avatar
Irreverent Query Chairman
 
Join Date: June 2007
Location: Formerly NYC; now 17 years in northern Thailand
Posts: 1,231

I wish I knew more that could help you, but I reckon the community forum is the place to go.

Cliff's dad hasn't been well and the last time I was in touch with him a week or two ago he was really busy taking care of him, and working nights, so I'm not too sure when we will be hearing from him...
__________________
#1: Tt Armor, ASUS Maximus Extreme, Q6600@3.6G, 2G Corsair Dominator DDR3-1800, Tagan BZ900W, H2O by Swiftech, 2xLeadtek 9600GT, 2xRaptor 150G RAID0, Logitech G15/G5, XP SP3
#2: Tt Shark, ASUS A8N32-SLI Deluxe, Opteron 185@3.15G nude, 2G Corsair XMS, Tt ToughPower750, H2O by Tt, 2xASUS 8800GT, 2xRaptor 74G RAID0, Raptor 150G, Xubuntu 9.04, BFS Kernel
#3, #4: Opteron 170@2.75G nude, A8N-SLI Deluxe, Ubuntu 9.04.......#5: A64x2 4800+@2.8G.......#6-40: Pentium D 3.0G

AOA Folding @Home
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 10th November, 2009, 11:54 PM
Daniel ~'s Avatar
Chief BBS Administrator
 
Join Date: September 2001
Location: Seattle Wa.
Posts: 40,429

I've been missing him myself...Sorry to hear of his Dad's illness...Hope he recovers soon...
__________________
"Though all men live in ignorance before mystery,
they need not live in darkness...
Justice is foundation and ETERNAL
."
DKE

"All that we do is touched by Ocean
Yet we remain on the shore of what we know."
Richard Wilbur


Subscribers! Ask Pitch about a Custom Sig Graphic

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 11th November, 2009, 12:32 AM
Member
 
Join Date: April 2005
Location: AZ
Posts: 2,172

I've been checking in from time to time, haven't had much time to type but it won't be much longer (I hope)..

I will look into the error Gizmo. So far I managed to dig up that there needs to be a symlink from libcuda.so -> libcuda.so.1

Normally it is already done when installing from the repo but I seem to remember that you install nvidia drivers outside of the repos.
__________________
Biostar TForce X58 - Core i7 920 - 6GB Corsair Dominator DDR3 - XFX 9800GTX 512MB - PCP&C 750W - 1 X 36GB Raptor, 1 X 200GB Sata2, 3 X 320GB Sata2 - Dual boot, Gentoo Linux/WinXP
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 11th November, 2009, 09:11 AM
ThunderRd's Avatar
Irreverent Query Chairman
 
Join Date: June 2007
Location: Formerly NYC; now 17 years in northern Thailand
Posts: 1,231

Hey Cliff, good to hear from you. Take care and we'll be here when you get back...
__________________
#1: Tt Armor, ASUS Maximus Extreme, Q6600@3.6G, 2G Corsair Dominator DDR3-1800, Tagan BZ900W, H2O by Swiftech, 2xLeadtek 9600GT, 2xRaptor 150G RAID0, Logitech G15/G5, XP SP3
#2: Tt Shark, ASUS A8N32-SLI Deluxe, Opteron 185@3.15G nude, 2G Corsair XMS, Tt ToughPower750, H2O by Tt, 2xASUS 8800GT, 2xRaptor 74G RAID0, Raptor 150G, Xubuntu 9.04, BFS Kernel
#3, #4: Opteron 170@2.75G nude, A8N-SLI Deluxe, Ubuntu 9.04.......#5: A64x2 4800+@2.8G.......#6-40: Pentium D 3.0G

AOA Folding @Home
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 11th November, 2009, 10:09 AM
Member
 
Join Date: April 2005
Location: AZ
Posts: 2,172

It's been a pretty rough month all around. The dad thing was expected, just not right now. I've had a ton of trouble with linux and I'm almost positive a certain distro (not gentoo) killed my laptop when it changed my configuration and allowed my laptop to turn off the fan without scaling back the cpu or video. Then there was the hal and xorg updates. I'm just about at the end of my rope with linux.. One thing I have always hated about linux, nothing is ever finished. Even when an app is perfect in every way, it must be screwed with..
__________________
Biostar TForce X58 - Core i7 920 - 6GB Corsair Dominator DDR3 - XFX 9800GTX 512MB - PCP&C 750W - 1 X 36GB Raptor, 1 X 200GB Sata2, 3 X 320GB Sata2 - Dual boot, Gentoo Linux/WinXP
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 11th November, 2009, 10:51 AM
ThunderRd's Avatar
Irreverent Query Chairman
 
Join Date: June 2007
Location: Formerly NYC; now 17 years in northern Thailand
Posts: 1,231

I'm playing around with 2 Linux distros that are new to me, one is the Sidux you have mentioned, and another one is called Yoper; it claims to be the world's fastest Linux distro. Don't know about that yet, but it's interesting to see the differences in the organization of different distros.

I have the new Gentoo release 10.1 downloaded and on the back burner. For now, I'm comfortable with Debian kin, so I'm staying with those until I feel strong enough to venture out...
__________________
#1: Tt Armor, ASUS Maximus Extreme, Q6600@3.6G, 2G Corsair Dominator DDR3-1800, Tagan BZ900W, H2O by Swiftech, 2xLeadtek 9600GT, 2xRaptor 150G RAID0, Logitech G15/G5, XP SP3
#2: Tt Shark, ASUS A8N32-SLI Deluxe, Opteron 185@3.15G nude, 2G Corsair XMS, Tt ToughPower750, H2O by Tt, 2xASUS 8800GT, 2xRaptor 74G RAID0, Raptor 150G, Xubuntu 9.04, BFS Kernel
#3, #4: Opteron 170@2.75G nude, A8N-SLI Deluxe, Ubuntu 9.04.......#5: A64x2 4800+@2.8G.......#6-40: Pentium D 3.0G

AOA Folding @Home
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 11th November, 2009, 11:55 AM
Gizmo's Avatar
Chief BBS Administrator
BassTeroids Champion, Global Player Champion, Aim & Fire Champion, Puzzle Maniax Champion, Othello Champion, Canyon Glider Champion, UFO Shoot Out Champion, Unicycle Challenge Champion, Zed Champion
 
Join Date: May 2003
Location: Webb City, Mo
Posts: 14,947
Send a message via ICQ to Gizmo Send a message via AIM to Gizmo Send a message via MSN to Gizmo Send a message via Yahoo to Gizmo Send a message via Skype™ to Gizmo

Quote:
Originally Posted by ccperf721p View Post
I will look into the error Gizmo. So far I managed to dig up that there needs to be a symlink from libcuda.so -> libcuda.so.1

Normally it is already done when installing from the repo but I seem to remember that you install nvidia drivers outside of the repos.
That's correct, Cliff; I install the nVidia drivers using the nVidia installer, though, which should be the same thing. I just verified that I do have the symlink.
__________________
Avatar and sig graphic by Pitch. Subscribers!
Ask about a custom graphic or avatar today!
 
Later,
Gizmo
Thermal Diode Mod and Direct-Die Water Block
8-Cheetah 18GiB U-2 SCSI
MegaRAID Enterprise 1500/128MiB
Samsung SyncMaster 955DF
TTGI/Superflower TTS-520 PSU
 

 
AOA Team filesAOA Team wcgAOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 11th November, 2009, 11:58 AM
Gizmo's Avatar
Chief BBS Administrator
BassTeroids Champion, Global Player Champion, Aim & Fire Champion, Puzzle Maniax Champion, Othello Champion, Canyon Glider Champion, UFO Shoot Out Champion, Unicycle Challenge Champion, Zed Champion
 
Join Date: May 2003
Location: Webb City, Mo
Posts: 14,947
Send a message via ICQ to Gizmo Send a message via AIM to Gizmo Send a message via MSN to Gizmo Send a message via Yahoo to Gizmo Send a message via Skype™ to Gizmo

I just tried disabling desktop effects. It didn't make any difference.
__________________
Avatar and sig graphic by Pitch. Subscribers!
Ask about a custom graphic or avatar today!
 
Later,
Gizmo
Thermal Diode Mod and Direct-Die Water Block
8-Cheetah 18GiB U-2 SCSI
MegaRAID Enterprise 1500/128MiB
Samsung SyncMaster 955DF
TTGI/Superflower TTS-520 PSU
 

 
AOA Team filesAOA Team wcgAOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 13th November, 2009, 11:41 AM
Member
 
Join Date: April 2005
Location: AZ
Posts: 2,172

Seems I get done typing and hit submit just as there is a down on the site.

Quote:
Originally Posted by ThunderRd View Post
I'm playing around with 2 Linux distros that are new to me, one is the Sidux you have mentioned, and another one is called Yoper; it claims to be the world's fastest Linux distro. Don't know about that yet, but it's interesting to see the differences in the organization of different distros.

I have the new Gentoo release 10.1 downloaded and on the back burner. For now, I'm comfortable with Debian kin, so I'm staying with those until I feel strong enough to venture out...
The Gentoo live dvd has no installer, it's basically a snapshot of what was available in the portage tree on the 10 year anniversary. likewhoa is a good friend of mine and put in a lot of hard work on it, he's catching alot of grief for it as well. Even I fail to see the value in the gigabytes on the dvd, they just tried to put too many desktop environments on one live dvd.

Quote:
Originally Posted by Gizmo View Post
That's correct, Cliff; I install the nVidia drivers using the nVidia installer, though, which should be the same thing. I just verified that I do have the symlink.
I still don't have an answer, I will install Fedora, duplicate the problem and see if we can up with a solution.

I'm not having much fun with linux right now. I was on my arch install when all of the stuff in my etc/fstab stopped working like mounting usb drives, narrowed down to policykit, created some rules and deleted the entries in the fstab. Then sudo mount /dev/sdd1 /mnt/storage gave a permission denied error. su didn't do any good either. Rather than punch a hole in my screen, I started editing pkgbuilds in arch and ebuilds in gentoo, something I thought I was done with...

Like I have always said, if something in linux is working perfectly, it's not finished yet.
__________________
Biostar TForce X58 - Core i7 920 - 6GB Corsair Dominator DDR3 - XFX 9800GTX 512MB - PCP&C 750W - 1 X 36GB Raptor, 1 X 200GB Sata2, 3 X 320GB Sata2 - Dual boot, Gentoo Linux/WinXP
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


« core 14 update | - »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SMP Client update, current client expires July 4 ThunderRd Samuknow's AOA FOLDING@HOME Team 0 24th June, 2009 12:09 PM
Fedora Core 8 Install and Setup Guide ccperf721p OS, Software, Firmware, and BIOS 3 7th January, 2008 08:47 PM
RDA+ setup guide rcoe EPoX MotherBoards 2 22nd February, 2003 03:08 PM
8K5A2+ Setup guide? Jarrv EPoX MotherBoards 8 27th January, 2003 05:13 PM
4.1 speaker setup guide JayJay Graphics and Sound cards; Speakers and other Peripherals 11 16th July, 2002 11:29 AM


All times are GMT -5. The time now is 01:02 AM.


Copyright ©2001 - 2009, AOA Forums

Search Engine Friendly URLs by vBSEO 3.3.0