Ubuntu 9.10 GPU3 FOLDING pictorial guide (Beta)

Author
Tasmac
FTW Member
  • Total Posts : 1218
  • Reward points : 0
  • Joined: 2009/03/19 20:33:38
  • Location: Anderson, South Carolina
  • Status: offline
  • Ribbons : 4
2010/06/26 12:39:07 (permalink)
GPU3 FOLDING guide
GPU3

1) downlowed Ubuntu 64 bit 9.10 here: http://releases.ubuntu.com/karmic/ubuntu-9.10-desktop-amd64.iso
2) make a cd from the iso image and reboot

3) disconnect your windows hard drive and put in an unused hard drive (after ubuntu installs you can connect both up then just chose which drive to boot in bios whether it be windows hd or ubuntu hd)
3a)  I did not let ubuntu update I also unpluged the ethernet cord while ubuntu installed.

4) after ubuntu installs open the terminal and type :

sudo apt-get install build-essential
 

5)  download some files

download 256.35 drivers from here:

http://us.download.nvidia.com/XFree86/Linux-x86_64/256.35/NVIDIA-Linux-x86_64-256.35.run

download the cudatoolkit 3.0 32bit from here:

http://www.nvidia.com/object/thankyou.html?url=/compute/cuda/3_0/toolkit/cudatoolkit_3.0_linux_32_ubuntu9.04.run

place the two files that you downloaded on your desktop

6) clearing a few things first

now type in the terminal

sudo apt-get purge nvidia-*


and hit ENTER



the terminal will ask you:

"After this operation, 418kB disk space will be freed.
Do you want to continue [Y/n]?"



hit y and ENTER

the teminal should look like the picture below



7) make Two empty documents on your desktop

click on the first one and rename it "nvidia-graphics-drivers.conf "

double click on nvidia-graphics-drivers.conf and add these lines:

blacklist vga16fb 
blacklist nouveau
blacklist lbm-nouveau
blacklist nvidia-173
blacklist nvidia-96
blacklist nvidia-current
blacklist nvidiafb


click on the save icon and exit



select the secound document and rename it " xorg.conf "

now before we add anything to the xorg.conf file
in the terminal type

lspci




hit ENTER

scroll till use see your graphics card(s)



mine are:
02:00.0 VGA compatible controller: nVidia Corporation GT200b [GeForce GTX 285] (rev a1)

05:00.0 VGA compatible controller: nVidia Corporation GT200b [GeForce GTX 285] (rev a1)

06:00.0 VGA compatible controller: nVidia Corporation G92 [GeForce 9800 GT] (rev a2)

07:00.0 VGA compatible controller: nVidia Corporation GT200b [GeForce GTX 285] (rev a1)

red highlight are your bus id, blue highlight is your Identifier name

below is what my xorg.conf will look like:
I added these lines:

Section "Device" 
     Identifier     "GeForce GTX 285"
     Driver         "nvidia"
     VendorName     "NVIDIA Corporation"
     BusID          "2:0:0"
     Option         "coolbits"   "1"
 EndSection
 
 Section "Device"
     Identifier     "GeForce GTX 285"
     Driver         "nvidia"
     VendorName     "NVIDIA Corporation"
     BusID          "5:0:0"
     Option         "coolbits"   "1"
 EndSection
 
 Section "Device"
     Identifier     "GeForce 9800 GT"
     Driver         "nvidia"
     VendorName     "NVIDIA Corporation"
     BusID          "6:0:0"
     Option         "coolbits"   "1"
 EndSection
 
 Section "Device"
     Identifier     "GeForce GTX 285"
     Driver         "nvidia"
     VendorName     "NVIDIA Corporation"
     BusID          "7:0:0"
     Option         "coolbits"   "1"
 EndSection


I have 4 video cards so 4 sections


if I only had 1 card it would look like this:

Section "Device" 
     Identifier     "GeForce GTX 285"
     Driver         "nvidia"
     VendorName     "NVIDIA Corporation"
     BusID          "2:0:0"               
     Option         "coolbits"   "1"
 EndSection


hope I havent lost ya....yuppers this is pita on steriods

8) double click on the xorg.conf file ad add your lines (please dont enter my lines edit your card and bus id found when you entered lspci
then click the save icon and exit



9) now in the terminal type:

cd ~/Desktop


hit ENTER

in the termnal type:

sudo mv nvidia-graphics-drivers.conf /etc/modprobe.d/


hit enter
(everytime you type sudo it will ask you for your password)

10) now in the terminal type:

sudo mv xorg.conf /etc/X11/


hit ENTER



now if you look on your desktop both files are gone.

11) get a pen/pencile and write the following lines down:

   sudo sh ~/Desktop/NVIDIA*.run (enter this line to install the drivers)

   sudo service gdm start (enter this line after the drivers have installed)

keep them handy you will need them momentarily
(we are going to install the drivers the screen will go blank
you will enter your username
and your password)


12) in the terminal type:

  
sudo service gdm stop


then hit ENTER (by-by)

check your nvidia x server settings. the 256 drivers should be installed

13) now to the cuda tool kit
open the terminal and type:
 
sudo sh ~/Desktop/cuda*.run


and hit ENTER



the terminal will ask

"Enter install path (default /usr/local/cuda, '/cuda' will be appended):"
just hit ENTER



thats done lets let Ubuntu know where the cuda file are

in the terminal type;

sudo sh -c "echo PATH=/usr/local/cuda/bin:$PATH > /etc/profile.d/cuda.sh"


hit ENTER

then type:

sudo sh -c "echo /usr/local/cuda/lib > /etc/ld.so.conf.d/cuda.conf"


hit ENTER

then type:

sudo ldconfig


hit ENTER



14 now reboot

open the terminal and type:

sudo apt-get install wine

 
hit ENTER

the terminal will ask:

"After this operation, 221MB of additional disk space will be used.
Do you want to continue [Y/n]?"

hit y then hit ENTER



goto applications>>wine>>configure wine
configure wine so that windows version is windows xp (note: I am currently using vista once updated)
click apply
then ok
 
Lets update wine

goto system>>administration>>software sources and left click

you will have to enter your password

once it pops up click on "other software" tab

click on the add icon

then enter this line:

ppa:ubuntu-wine/ppa

after you enter click add source

Click close to finish, and then reload the package information when prompted. If you have Wine installed, the system's update manager will now inform you of the latest Wine beta release and prompt you to upgrade.
or if nothing esle fails got to the update maneger and check for update (This is important)
(this method only works for Ubuntu 9.10 and above)

goto system>>Administration>>update manager and left click
and now you can install all the updates, just make sure wine is updated; go ahead and install all the wine "goodies"...in case you doing more than folding, but the science is what is important

note: every time you update your kernal you have to redo you graphics driver. just start in low graphics mode, and in the terminal{keep your graphics driver on your desktop at all times.}KEEP your piece of paper handy.
type:
sudo service gdm stop
by-by agian
and reinstall the drivers...no problem

15) download the gpu3 client here:

http://www.stanford.edu/~...e-Win32-GPU_XP-631.zip  XP version

http://www.stanford.edu/~friedrim/.Fold ... ta-631.zip  vista version

im using vista

extract it to your GPU0 folder in your home folder


(all commands from the terminal will be in the GPU0 directory)

in the terminal type:

cd ~/GPU0


hit ENTER

in the terminal type:

rm *.dll


16) now lets get some wrappers

In the terminal type:

wget http://mysite.verizon.net/vzeq1z17/temp/FAH/cudart3/cudart_gpu3.dll.so


then hit ENTER

In the terminal type:

wget http://mysite.verizon.net/vzeq1z17/temp/FAH/cufft3/cufft_gpu3.dll.so



17) now lets link some stuff 

in the terminal type:

ln -s cudart_gpu3.dll.so cudart32_30_14.dll


hit ENTER

in the terminal type:

ln -s cufft_gpu3.dll.so cufft32_30_14.dll


hit ENTER

in the terminal type:

ln -s cudart_gpu3.dll.so cudart.dll


hit ENTER

in the terminal type:

ln -s cudart_gpu3.dll.so nvcuda.dll


hit ENTER

just to make sure everything is in order
in the terminal type:

 
ldd cufft32_30_14.dll


then hit ENTER
(if you see any not found's something is not linked right)
In the terminal type:

 
ldd cudart32_30_14.dll

(if you see any not found's something is not linked right)

18) lets get F@H going

in the terminal type:

(200 series) 
wine ./Folding@home-Win32-GPU.exe -forcegpu nvidia_g80
 

(400 series) 
wine ./Folding@home-Win32-GPU.exe -forcegpu nvidia_fermi


then hit enter

I have (4) 200 series cards  these are the lines I use:

wine ./Folding@home-Win32-GPU.exe -forcegpu nvidia_g80 -gpu 0 
wine ./Folding@home-Win32-GPU.exe -forcegpu nvidia_g80 -gpu 1
wine ./Folding@home-Win32-GPU.exe -forcegpu nvidia_g80 -gpu 2
wine ./Folding@home-Win32-GPU.exe -forcegpu nvidia_g80 -gpu 3

( I tried nice -n 19 wine ./Folding@home-Win32-GPU.exe -forcegpu nvidia_g80 , but it was so slow)
here we go

(now when you config your gpu  when asked fo advanced methothds answer no, if you answer yes it will use 100% cpu usage and only give you core 11)
 

source http://foldingforum.org/viewtopic.php?f=54&t=14673&start=150


post edited by Tasmac - 2010/11/12 18:30:06

 
#1

12 Replies Related Threads

    Tasmac
    FTW Member
    • Total Posts : 1218
    • Reward points : 0
    • Joined: 2009/03/19 20:33:38
    • Location: Anderson, South Carolina
    • Status: offline
    • Ribbons : 4
    Re:Ubuntu 9.10 GPU3 (Beta) 2010/06/26 12:52:56 (permalink)
    I dont know yet how to get wine 1.2rc2 installed
    and I c a correction when installing wine I need to make (for some reason that part got lost lol)  fixed

    post edited by Tasmac - 2010/06/29 14:53:41

     
    #2
    Tasmac
    FTW Member
    • Total Posts : 1218
    • Reward points : 0
    • Joined: 2009/03/19 20:33:38
    • Location: Anderson, South Carolina
    • Status: offline
    • Ribbons : 4
    Re:Ubuntu 9.10 GPU3 (Beta) 2010/06/26 13:24:28 (permalink)
    very tired right now will finish this in a bit.
    I havent received any core 15 yet, maybe there running out or ya have to have a fermi like Barbarossa stated and I dont
    but here is the screeny of my 2nd intall using this guide

    :)



     
    #3
    Tasmac
    FTW Member
    • Total Posts : 1218
    • Reward points : 0
    • Joined: 2009/03/19 20:33:38
    • Location: Anderson, South Carolina
    • Status: offline
    • Ribbons : 4
    Re:Ubuntu 9.10 GPU3 (Beta) 2010/06/26 15:07:04 (permalink)
    add all the code boxes and some pictures more to come

    If you see anything that needs to be done please let me know

    also if someone could make a guide on how to install wine 1.2rc2 on ubuntu 9.10
    I would be very grareful



    one more picture before i go. all are up and running no core 15 as of yet(had to make some changes to the guide) */Tasmac crosses his fingers and wishes the fermi folder's good luck


    post edited by Tasmac - 2010/06/26 17:01:30

     
    #4
    Tasmac
    FTW Member
    • Total Posts : 1218
    • Reward points : 0
    • Joined: 2009/03/19 20:33:38
    • Location: Anderson, South Carolina
    • Status: offline
    • Ribbons : 4
    Re:Ubuntu 9.10 GPU3 (Beta) 2010/06/27 14:47:18 (permalink)
    changed the way it was installed, sorry work in progress

     
    #5
    jwmiele
    SSC Member
    • Total Posts : 526
    • Reward points : 0
    • Joined: 2010/05/12 09:54:04
    • Status: offline
    • Ribbons : 1
    Re:Ubuntu 9.10 GPU3 (Beta) 2010/06/27 15:09:28 (permalink)
    Will this install work on an SR-2?  Also, will if benifit me greatly over 3 linux VM's on Win7 +GPU folding.   Thanks in advance.. Joe


      
     
    http://heatware.com/eval.php?id=71623 
    EVGA SR-2
    2x Intel Xeon X5680
    2x 6gb Corsair Dominator GT 2000Mhz
    1x Corsair AX1200
    3x EVGA GTX 480 SSC
    1x Saphire Radeon HD5970 4Gb
    2x Crucial 128gb C300 SSD
    2x Crucial 256gb C300 SSD
    MountainMods







    #6
    Tasmac
    FTW Member
    • Total Posts : 1218
    • Reward points : 0
    • Joined: 2009/03/19 20:33:38
    • Location: Anderson, South Carolina
    • Status: offline
    • Ribbons : 4
    Re:Ubuntu 9.10 GPU3 (Beta) 2010/06/27 17:08:37 (permalink)

    Will this install work on an SR-2? 

    yes the install will work, but this is still in beta form, tho it has run on a 250 and a 470 according to the source
     
     
    Also, will if benifit me greatly over 3 linux VM's on Win7 +GPU folding.

    If your running 3 vm's thats a lot of memory that could be used elswhere
    one thing you forgot to ask?
     
    will my gpu ppd go down on a linux?
     
    most likely yes right now there is no way to oc the shaders :( but I have seen 9900-10000 ppd on my 285's on the new drivers :)

     
    #7
    Tasmac
    FTW Member
    • Total Posts : 1218
    • Reward points : 0
    • Joined: 2009/03/19 20:33:38
    • Location: Anderson, South Carolina
    • Status: offline
    • Ribbons : 4
    Re:Ubuntu 9.10 GPU3 (Beta) 2010/06/27 19:17:46 (permalink)
    yes finally :)
    look for this line
    [02:09:21] Gpu type=2 species=22.
    usually it has been saying gpu species unknown

    Launch directory: Z:\home\tasmac\GPU1 
    Executable: Z:\home\tasmac\GPU1\Folding@home-Win32-GPU.exe
    Arguments: -forcegpu nvidia_g80 -gpu 1  
     
    [02:09:21] - Ask before connecting: No
    [02:09:21] - User name: Tasmac  
    [02:09:21] - User ID:  
    [02:09:21] - Machine ID: 3
    [02:09:21]  
    [02:09:21] Gpu type=2 species=22.
    [02:09:21] Work directory not found. Creating...
    [02:09:21] Could not open work queue, generating new queue...
    [02:09:21] - Preparing to get new work unit...
    [02:09:21] Cleaning up work directory
    [02:09:21] + Attempting to get work packet
    [02:09:21] Gpu type=2 species=22.
    [02:09:21] - Connecting to assignment server
    [02:09:22] - Successful: assigned to (171.67.108.21).
    [02:09:22] + News From Folding@Home: Welcome to Folding@Home
    [02:09:22] Loaded queue successfully.
    [02:09:22] Gpu type=2 species=22.
    [02:09:23] + Closed connections
    [02:09:23]  
    [02:09:23] + Processing work unit
    [02:09:23] Core required: FahCore_11.exe
    [02:09:23] Core found.
    [02:09:23] Working on queue slot 01 [June 28 02:09:23 UTC]
    [02:09:23] + Working ...
    [02:09:24]  
    [02:09:24] *------------------------------*
    [02:09:24] Folding@Home GPU Core
    [02:09:24] Version 1.31 (Tue Sep 15 10:57:42 PDT 2009)
    [02:09:24]  
    [02:09:24] Compiler  : Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.762 for 80x86  
    [02:09:24] Build host: amoeba
    [02:09:24] Board Type: Nvidia
    [02:09:24] Core      :  
    [02:09:24] Preparing to commence simulation
    [02:09:24] - Looking at optimizations...
    [02:09:24] DeleteFrameFiles: successfully deleted file=work/wudata_01.ckp
    [02:09:24] - Created dyn
    [02:09:24] - Files status OK
    [02:09:24] - Expanded 62968 -> 336763 (decompressed 534.8 percent)
    [02:09:24] Called DecompressByteArray: compressed_data_size=62968 data_size=336763, decompressed_data_size=336763 diff=0
    [02:09:24] - Digital signature verified
    [02:09:24]  
    [02:09:24] Project: 10501 (Run 373, Clone 0, Gen 168)
    [02:09:24]  
    [02:09:24] Assembly optimizations on if available.
    [02:09:24] Entering M.D.
    [02:09:30] Tpr hash work/wudata_01.tpr:  1092666557 2490736943 1436603523 449122176 4116560457
    [02:09:30]  
    [02:09:30] Calling fah_main args: 14 usage=100
    [02:09:30]  
    [02:09:30] Working on Protein
    [02:09:31] Client config found, loading data.
    [02:09:31] Starting GUI Server


    this is what it used to look like:

    Launch directory: Z:\home\tasmac\GPU0 
    Executable: Folding@home-Win32-GPU.exe
    Arguments: -forcegpu nvidia_g80 
     
    [23:53:13] - Ask before connecting: No
    [23:53:13] - User name: Tasmac 
    [23:53:13] - User ID: 
    [23:53:13] - Machine ID: 2
    [23:53:13] 
    [23:53:13] Gpu species not recognized.
    [23:53:13] Work directory not found. Creating...
    [23:53:13] Could not open work queue, generating new queue...
    [23:53:13] - Preparing to get new work unit...
    [23:53:13] Cleaning up work directory
    [23:53:13] + Attempting to get work packet
    [23:53:13] Gpu species not recognized.
    [23:53:13] - Connecting to assignment server
    [23:53:14] - Successful: assigned to (171.67.108.21).
    [23:53:14] + News From Folding@Home: Welcome to Folding@Home
    [23:53:14] Loaded queue successfully.
    [23:53:14] Gpu species not recognized.
    [23:53:16] + Closed connections
    [23:53:16] 
    [23:53:16] + Processing work unit
    [23:53:16] Core required: FahCore_11.exe
    [23:53:16] Core not found.
    [23:53:16] - Core is not present or corrupted.
    [23:53:16] - Attempting to download new core...
    [23:53:16] + Downloading new core: FahCore_11.exe
    [23:53:16] + 10240 bytes downloaded


    a few more updates forth coming


     
    #8
    Tasmac
    FTW Member
    • Total Posts : 1218
    • Reward points : 0
    • Joined: 2009/03/19 20:33:38
    • Location: Anderson, South Carolina
    • Status: offline
    • Ribbons : 4
    Re:Ubuntu 9.10 GPU3 (Beta) 2010/06/28 19:03:54 (permalink)
    SUCCESS!!!!!!!!!! wohoooooo

    [01:59:12] 
    [01:59:12] Trying to unzip core FahCore_15.exe
    [01:59:13] Decompressed FahCore_15.exe (7094272 bytes) successfully
    [01:59:18] + Core successfully engaged
    [01:59:23]
    [01:59:23] + Processing work unit
    [01:59:23] Core required: FahCore_15.exe
    [01:59:23] Core found.
    [01:59:23] Working on queue slot 01 [June 29 01:59:23 UTC]
    [01:59:23] + Working ...
    Warning: Ignoring unknown arg
    Warning: Ignoring unknown arg
    [01:59:23]
    [01:59:23] *------------------------------*
    [01:59:23] Folding@Home GPU Core -- Beta
    [01:59:23] Version 2.09 (Thu May 20 11:51:02 PDT 2010)
    [01:59:23]
    [01:59:23] Compiler  : Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for 80x86
    [01:59:23] Build host: amoeba
    [01:59:23] Board Type: Nvidia
    [01:59:23] Core      :
    [01:59:23] Preparing to commence simulation
    [01:59:23] - Looking at optimizations...
    [01:59:23] DeleteFrameFiles: successfully deleted file=work/wudata_01.ckp
    [01:59:23] - Created dyn
    [01:59:23] - Files status OK
    [01:59:23] sizeof(CORE_PACKET_HDR) = 512 file=<>
    [01:59:23] - Expanded 41690 -> 163067 (decompressed 391.1 percent)
    [01:59:23] Called DecompressByteArray: compressed_data_size=41690 data_size=163067, decompressed_data_size=163067 diff=0
    [01:59:23] - Digital signature verified
    [01:59:23]
    [01:59:23] Project: 10630 (Run 37, Clone 81, Gen 0)
    [01:59:23]
    [01:59:23] Assembly optimizations on if available.
    [01:59:23] Entering M.D.
    Reading file work/wudata_01.tpr, VERSION 4.0.5 (single precision)
    Note: tpx file_version 58, software version 59
    [01:59:29] Tpr hash work/wudata_01.tpr:  3786786508 4242169704 3844488788 4058928834 3985951195
    [01:59:29] Working on 582 p2750_N68H_AM03
    [01:59:29] Client config found, loading data.
    [01:59:29] Starting GUI Server
    CudaCalcForcesAndEnergyKernel::finishEnergyComputation Initial Born radii calculated; bCalculateBornRadiiInObc2 is set QQQ
    starting mdrun '582 p2750_N68H_AM03'
    25000000 steps,  50000.0 ps.
    [02:00:47] Completed 1%





     
    #9
    Tasmac
    FTW Member
    • Total Posts : 1218
    • Reward points : 0
    • Joined: 2009/03/19 20:33:38
    • Location: Anderson, South Carolina
    • Status: offline
    • Ribbons : 4
    Re:Ubuntu 9.10 GPU3 (Beta) 2010/06/28 19:53:23 (permalink)
    This now has been update to work :)
    more pic's to come.
    I also added a piece on updating wine
    good luck

    I will make it official when all 4 gpu's install the same way and another fresh install just to make sure.

     
    #10
    Tasmac
    FTW Member
    • Total Posts : 1218
    • Reward points : 0
    • Joined: 2009/03/19 20:33:38
    • Location: Anderson, South Carolina
    • Status: offline
    • Ribbons : 4
    Re:Ubuntu 9.10 GPU3 (Beta) 2010/06/28 20:26:21 (permalink)
    all 4 gpu's folding w/core 15



     
    #11
    Tasmac
    FTW Member
    • Total Posts : 1218
    • Reward points : 0
    • Joined: 2009/03/19 20:33:38
    • Location: Anderson, South Carolina
    • Status: offline
    • Ribbons : 4
    Re:Ubuntu 9.10 GPU3 (Beta) 2010/06/29 02:20:43 (permalink)
    ppd
    Ubuntu
    285's

    E759 GPU0
    E759 GPU1
    E759 GPU3

    9800gt
    E759 GPU2

    (windows)
    gts250

    E757 GPU0



    hopefully the ppd improves, but if not thats ok too
    post edited by Tasmac - 2010/06/30 02:08:37

     
    #12
    chungenhung
    New Member
    • Total Posts : 67
    • Reward points : 0
    • Joined: 2008/07/12 13:36:45
    • Status: offline
    • Ribbons : 0
    Re:Ubuntu 9.10 GPU3 (Beta) 2010/07/04 00:46:37 (permalink)
    good guide. will try it sometime.

    #13
    Jump to:
  • Back to Mobile