Overclockers Forums
 


Go Back   Overclockers Forums > Teams > Folding Team > Ubuntu Linux & SMP Client Install Guide
Reply


Welcome to the Overclockers Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

If you would prefer not to see any double-underlined words and corresponding advertisements without registering or logging in, place your cursor
here for ContentLink
 
Thread Tools
Old 04-18-07, 02:06 AM   #1
Adak
Senior Member

 
Adak's Avatar 

Join Date: Jan 2006
 
Ubuntu Linux & SMP Client Install Guide


Adak's Install Guide For

Ubuntu 64 bit Linux

&

The FAH SMP Client

From a CD to a Hard Drive with Windows


1) Download Unbuntu 64 bit Linux:
  1. From http://www.ubuntu.com/getubuntu/download#currentrelease
    If you're in North America, scroll down for this recommended mirror site: http://ubuntu.cs.utah.edu/releases/

  2. Each major version will have versions for different hardware. You want the "64-bit PC (AMD64) desktop CD"
    version, (for PC's at least), even if you have an Intel cpu.

2) Burn the Image File You Downloaded:
  1. Download the free utility program ImgBurn, from http://imgburn.com/ (click the download tab at the upper left
    hand corner of the page), and install it.

  2. Open the ImgBurn program, and click on the Mode tab at the top of the window. Now select "Write".

  3. In the lower right side of the window, select a slow write speed; 2 X is recommended for a Live CD burn. It's very important that the area around the CD is free of floor or loud music vibration, while the Live CD is being written.

  4. Insert a writable blank CD, and click on the "Browse for File" (Open folder), icon (not the one with
    a plus on it)

  5. Select your CD drive in the "Destination" dialog line.

  6. Click on the BIG button surrounding the green >> arrow. (has a HD and CD icons on it as well), and burn your "LIVE" Ubuntu CD.

  7. ImgBurn has it's own support forum with a link to them on it's home page, if you need it.

3) Setup the CD:
  1. Set the Live CD into the CD Drive, and reboot. If you see a Ubuntu logo before you reboot, just ignore it; go
    ahead with the reboot.

4) Answer the Set Up Questions.
  1. Ubuntu will reboot your rig when done. Remember your username and password! Everything in Linux is case sensitive, including passwords and filenames.

  2. If set up fails, be sure to write down the error message. The Ubuntu forums are helpful and found here: http://www.ubuntuforums.org/, and of course, both our forum and the FAH forum can help with both Ubuntu
    Linux 64 bit and the SMP client. The FAH forum is at: http://forum.folding-community.org/f...-linux-64.html

  3. If you can't boot up from the CD drive , you may need to change your boot up sequence in your BIOS. You need
    the CD drive to boot *before* the HD.

5 ) Get Ubuntu Updates:
  1. Connect the rig to the internet and be patient. Ubuntu will discover that connection, shortly. Below and inside the date/time display in the upper right hand side, you'll see a balloon message appear in a few minutes, telling you "updates are available". Click on the update icon to install them. Click on the update icon, and let Ubuntu, do it's updating.

6) Get the 32 bit Libraries:
  1. Click on the Ubuntu Desktop "Applications" tab, and choose "Accessories", then "Terminal" to open a terminal window to work in. Carefully keyboard in at the prompt: "sudo apt-get install ia32-libs", with no quotation marks, and press enter. You will be asked to log in, with your username and password. You'll be asked about specific
    32 bit libraries, and using up disk space. Just answer yes to those questions.

  2. If you have installed the 32 bit version of Ubuntu by mistake, you'll get the error: "This client only supports
    64 bit Linux machines. Your machine was detected as i686 (or whatever)." You'll need to go back and d/l the
    correct 64 bit version mentioned in step #1, above.

7) Create and Change into, the FAH Directory:
  1. Open a Terminal Window (click on the "Applications" tab, then select "Terminal"). Enter each of these lines in the terminal window, exactly:

    mkdir -p ~/FAH
    cd ~/FAH

    Now your /FAH directory is made, and you are in the FAH directory.

8) Get the FAH SMP Client:
  1. From Stanford's download page: http://folding.stanford.edu/English/Download
    Drag the compressed file package icon into your FAH directory.

9) Extract the Compressed File:
  1. Click on "Applications", "Accessories", then "Archive Manager". Double click on the FAH directory. Select the FAH compressed file icon; then click on the "Extract" button to extract it into that directory.

10) Start the FAH SMP Client:
  1. In the terminal window, enter: "./fahN -smp -forceasm -verbosity 9", where "N" is the number of fah's smp client (fah6, etc.), (with no quotes - this is Stanford's recommended flags for their SMP client). SMP should not be capitalized in the startup string. Linux is totally case sensitive, so -SMP won't work.

  2. Enter your name, team number 32, etc. You must choose "yes" to the big packets question to participate in the project, since all the WU's are large. There are no WU's w/o deadlines, available, so you must answer no to deadlineless WU's if you want to fold.

  3. If you get an error message about not having permission to run that file, then enter this in the terminal window:

    chmod +x fahN (where N is the number of the fah client version).

    Then press the up arrow key, and your previously typed command will reappear in the terminal window. Hit enter.

11) Stopping the SMP Client:
  1. Click anywhere on the Terminal Window, then press Ctrl + c (hold down Ctrl and press c). This is the safe way to stop the SMP client and prevent possible loss of work. Always give the client a dozen seconds or so, to stop the core threads. You'll see a few error messages from those threads - just ignore them.

  2. Next time you want to fold, (like from a reboot), you will be in your home directory. Just open a Terminal Window,(click on the Applications tab, and select Terminal), and change to the /FAH directory (folder), with the entered command: "cd ~/FAH" (no quotes), and then enter:"./fah6 -smp -forceasm -verbosity 9" (again, don't type the quotation marks).

12) SMP Note:
  1. You must add the -smp startup option, if you want to fold SMP work units.

13) Power Saving Settings for Folding:
  1. Turn off four power saving settings, to keep your Ubuntu system folding.

  2. In the BIOS: the ACPID (sometimes they have other "Green" or "power saving" options, as well. I turn them off and save that setting.)

  3. In Ubuntu: System >> Preferences >> Power Management. Shows two slider controls, one is for the monitor, and the second one for the computer system. Slide the one for the computer system, to "Never".

  4. System >> Service Settings >> CPU. Make sure to uncheck these two service boxes: Frequency Monitor and Power Management (ACPID).

    As long as Ubuntu runs great w/o the updates, I don't bother updating much.

Important Notes:
  1. If you want to dual boot Windows and Ubuntu, you must always install Windows before Ubuntu.

  2. If your keyboard doesn't work during boot-up, turn on legacy USB support in your BIOS.

  3. On some mobo's, the IDE HD settings are "cranky". If your IDE HD has problems booting up in Ubuntu, (e.g.: the CD drive *will* boot OK, if it has the Live CD, but the HD won't boot up, even when the CD drive is empty) - First, check your boot sequence in your BIOS. Make sure the HD is second or third on the list of boot up devices, but that it IS on the list. Then, try switching the jumper settings on the HD to "slave" and be sure the IDE HD is on the "master" connector of the IDE cable.

    Subsequent reboots are then fine, just leave the HD IDE jumper settings on "slave", even though it's the only device now on the IDE cable (in my two Linux SMP rigs), and it's on the "master" connector of the IDE cable.

    SATA HD's, had no such annoying problem - clean all the way through the install. I have learned this is due to the weird way the 965 and 975 chipsets handle IDE device detection.

Last edited by Adak; 07-25-08 at 08:13 AM.
Adak is offline  
Old 04-18-07, 09:34 AM   #2
Mustanley
Team 32 Folding Member

 
Mustanley's Avatar 

Join Date: May 2003
Location: Asheville, NC (Blue Ridge Mtns)
 
when launching the client inside the terminal window, if you follow the command with an "&", then you get a command prompt back afterwards since it runs the related proces in the background.

so it would look something like this:

./fah5 -forceasm -verbosity 9 &

Some process control information here

__________________
Q9550 on P5Q-Deluxe(460x8.5=3910MHz), 2x2GB GSkill 1066, 750GB WD Black HD, GTX285(702,1512,2592) Philips 16x DVD+RW D/L, Silverstone OP650, Samsung 1080P 37" LCD + Dell 2408WFP, MX1000 laser mouse, Saitek backlit keyboard, P182, Xigmatek S1283 Black Knight
Q6600 on Asus P5Q-EM HDMI (400x9=3600MHz - 1.4V), 2X2GB Gskill 1066 , LG 6X Blueray, 500GB + 640GB WD HDs, XFX GTX-260 (192sp) , Antec Earthwatts 430, Samsung 1080P 50" Plasma, Antec 300 case, Xigmatek HDT-S1283
Q6600 on P5K Premium (400MHzx8), 2x2gb Kingston HyperX 1066, BFG 8800GTS-512, Antec Earthwatts 430, Dell 2408WFP, Xigmatek S1283

Asus eee PC 901
FOLDING slave of Team32 Please Fold!
Mustanley is offline  
Old 04-18-07, 01:26 PM   #3
THEnumber337
Registered



Join Date: Jan 2007
 
Great guide! One thing though, I think on step 11 with the wget that url will give people the older client that's expired. At least, when I installed SMP through vmware and used that link (a few months ago) it said the client had expired. The URL that the download is now is
Code:
http://folding.stanford.edu/release/FAH_SMP_Linux.tgz

__________________
DFI nF4 UT Ultra D
AMD Opteron 165 CCBBE 0617FPMW @ 2.7Ghz
OCZ 2GB EL Platinum DDR400 @ DDR450
XFX Nvidia GeForce 7900GS Extreme 525/1500
Corsair HX620 PSU
THEnumber337 is offline  
Old 04-18-07, 04:50 PM   #4
Mustanley
Team 32 Folding Member

 
Mustanley's Avatar 

Join Date: May 2003
Location: Asheville, NC (Blue Ridge Mtns)
 
Quote:
Mustanley:
That's interesting. Without a text window, how do you monitor the progress of your Linux SMP folders?

Adak
You still get the messages in the terminal window like usual. Or you can refer to the unitinfo.txt file.

"less ./unitinfo.txt"

Honestly it's not terribly useful unless you aren't using a GUI (Gnome, KDE).
If using the terminal only then it is handy to be able run other commands without having to kill the folding client with a ctrl-C. Some useful ones being the "top" command (shows process and cpu/memory usage) or the "free" command (overall system memory usage).

__________________
Q9550 on P5Q-Deluxe(460x8.5=3910MHz), 2x2GB GSkill 1066, 750GB WD Black HD, GTX285(702,1512,2592) Philips 16x DVD+RW D/L, Silverstone OP650, Samsung 1080P 37" LCD + Dell 2408WFP, MX1000 laser mouse, Saitek backlit keyboard, P182, Xigmatek S1283 Black Knight
Q6600 on Asus P5Q-EM HDMI (400x9=3600MHz - 1.4V), 2X2GB Gskill 1066 , LG 6X Blueray, 500GB + 640GB WD HDs, XFX GTX-260 (192sp) , Antec Earthwatts 430, Samsung 1080P 50" Plasma, Antec 300 case, Xigmatek HDT-S1283
Q6600 on P5K Premium (400MHzx8), 2x2gb Kingston HyperX 1066, BFG 8800GTS-512, Antec Earthwatts 430, Dell 2408WFP, Xigmatek S1283

Asus eee PC 901
FOLDING slave of Team32 Please Fold!
Mustanley is offline  
Old 10-07-07, 09:14 AM   #5
Audioaficionado
RRT Med Neb Moderator

 
Audioaficionado's Avatar 

Join Date: Apr 2002
Location: Medford Orygun USA
 
@inkfx

Make it easier for yourself.

Move your fah folder into the home directory shortcut on your desktop.

Then you only need to type cd fah in the terminal and then starting ./fah6 -smp -verbosity 9

Your desktop is actually in your home directory too.

__________________
.....................................My HeatwareMyFAH Stats
.......................Folding is a marathon, not a sprint © audioaficionado
Asus Commando, 8GB GSkill 5-5-5-15-2t PC6400, Q6600 @3.0GHz >2xSMP+GPU2 FAH 24/7
Gigabyte DS3, 3GB GSkill 5-5-5-15-2t PC6400, E6400 @3.0GHz >GPU2 FAH 24/7
Iwill DH800, 2GB OCZ4002048PFDC-K 2.5-3-3-8-1t, Dual 2.4 M0 Xeons 1.5v/880/3300
Abit NF7-S v2.0, KHX3200A/512, Barton AQXEA 0331 XPMW 1.7v/200/2000

You have over 101 posts and Can't see the classifieds???Click This Link
Want to make God chuckle? Tell Him your plans.
Anyone we catch cookie stuffing at this site will be banned on the spot!!
Audioaficionado is offline  
Old 02-16-08, 11:45 PM   #6
dfonda
Team 32 Folding Member

 
dfonda's Avatar 

Join Date: Feb 2004
Location: Folding for Team 32 in the Keystone State
 
In here at least. Won't have to search so hard for it.

http://www.ocforums.com/showthread.php?t=386159

__________________
#1WinXPGPUFolding eVGA 260GTXAsus P5bDBios1226RoseQ6600
#2WinXP GPU2Folding8800GT'sRoseE6600
#3Win7RC64GPU2FoldingRoseE66009800GX2 & 9800GTX+ Evga780i
Folding for Hrstrder's wife and Pete_Scout







dfonda is offline  
Old 07-26-08, 05:41 PM   #7
David
Super [dichloro(bis(mesityl) imidazolidine)ruthenium methylidene catalysed] Moderator

 
David's Avatar 

Join Date: Feb 2001
Location: Hiding in a synthesis laboratory in Glasgow
 

__________________
[David Nelson] || [OC Forums Super Moderator] || [Penguininja :: Folding@Home Team 32]
Laptop :: HP DV8372EA / Windows 7 // Desktop :: X2 7750 / Sabayon 4.2
Currently less active than I'd like to be due to writing my 9 month thesis for my PhD.


McNab, Nelson and Rozgowska, Synthesis, 2009, 13, 2171
Pandian, Hillier, Vincent, Burton, Ashworth, Nelson, Percy and Rinaudo, Chem Phys Lett, 2009, 476, 37
Ashworth, Miles, Nelson, Percy and Singh, Tetrahedron, 2009, 65, 9637
David is offline  
Old 07-26-08, 05:42 PM   #8
David
Super [dichloro(bis(mesityl) imidazolidine)ruthenium methylidene catalysed] Moderator

 
David's Avatar 

Join Date: Feb 2001
Location: Hiding in a synthesis laboratory in Glasgow
 

__________________
[David Nelson] || [OC Forums Super Moderator] || [Penguininja :: Folding@Home Team 32]
Laptop :: HP DV8372EA / Windows 7 // Desktop :: X2 7750 / Sabayon 4.2
Currently less active than I'd like to be due to writing my 9 month thesis for my PhD.


McNab, Nelson and Rozgowska, Synthesis, 2009, 13, 2171
Pandian, Hillier, Vincent, Burton, Ashworth, Nelson, Percy and Rinaudo, Chem Phys Lett, 2009, 476, 37
Ashworth, Miles, Nelson, Percy and Singh, Tetrahedron, 2009, 65, 9637
David is offline  

Thread Tools

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

Forum Jump


All times are GMT -5. The time now is 05:43 PM.


Top of PageLast Page

Home  |   Register  |   Calendar  |   FAQ  |   Search  |   Contact Us  |   Archive
Copyright © OCForums.com 2001 - 2008. All Rights Reserved.    Visit: Overclockers.com.    Advertise on OCForums


Other iNET Interactive Sites:
Web Hosting Talk | DB Forums | Mac-Forums | Hosting Catalog | Hot Scripts
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.