Overclock.net › Forums › Overclockers Care › Overclock.net Folding@Home Team › Folding@Home Guides and Tutorials › [Ubuntu] Setting up the SMP (CPU) client
New Posts  All Forums:Forum Nav:

[Ubuntu] Setting up the SMP (CPU) client  

post #1 of 187
Thread Starter 

This guide will cover how to install the SMP client on Ubuntu v10.04 x64, and how to configure it to receive SMP2 WUs. It will also cover how to set up HFM.NET to monitor the client.
It will also show you how to create Panel launchers for both programs, to make things easy.

This version of the SMP client folds SMP2 WUs, WUs which have bonus points. To receive these bonus points, you must first fold 10 eligible WUs. After these 10 are completed, you will start getting a bonus from each WU completed before the Preferred Deadline. The also bonus depends on how fast you finish it, so the faster it's compelted, the bigger the points boost you will get. Once you've finished setting up the client, check the project number of your WU to ensure you're getting SMP2 WUs. The project number should be 6011-6077 or 6701. If not, post here or in the forum and we'll see what the problem is.
Again, you will need to submit 10 SMP WUs before you begin getting bonus points.

SMP Guide:

What you Need:

1) Linux SMP Client. The 1st client in the list, under "Linux (x86) and BSD *combined uniprocessor (CPU) and SMP2"
(Direct Link)

2) You must make sure Ubuntu is up to date. Go to System> Administration> Update Manager, and install all updates:



3) You need to request a folding passkey from Stanford from here. This is necessary for SMP WU bonuses:



Installation:

1) For this installation, create a folder on the Desktop, and call it SMP. Move the the SMP client .tgz file to the SMP client. Double click to open it. Now drag the 2 files into the SMP folder:



2) Now open Terminal. It can be found in Applications> Accessories> Terminal (you can drag it to the panel to make it easier).

*Wherever you see USER, replace with your own Ubuntu account name.*

Enter these commands:
 

Quote:
sudo apt-get install ia32-libs

This will take a couple of minutes.
 

Quote:
cd ~/Desktop/SMP
chmod +x FAH6.34-Linux.tgz

echo "./fah6 -smp -verbosity 9 $* &" > fah
i7 Folders, use echo "./fah6 -smp -bigadv -verbosity 9 $* &" > fah instead.
chmod +x fah



Ubuntu v10.04 Workaround:

3) If using v10.04, you will also need to follow this block of commands:
 

Quote:
cd ~
wget http://darkswarm.org/whosyerdaddy-0.6.sh
chmod +x whosyerdaddy-0.6.sh
sudo cp -a /lib ~/lib64-fah
cd ~/lib64-fah
sudo ~/whosyerdaddy-0.6.sh

4) Now, finally, to make the launcher. Terminal again, and enter these commands:
 

Quote:
cd ~/Desktop/SMP/
nano ~/Desktop/SMP/fah

Now, edit the file to look like this:
 

Quote:
cd ~/Desktop/SMP/
LD_LIBRARY_PATH=~/lib64-fah ~/Desktop/SMP/fah6 -smp -verbosity 9
Again, i7 users enter LD_LIBRARY_PATH=~/lib64-fah ~/Desktop/SMP/fah6 -smp -bigadv -verbosity 9 instead.



Then press CTRL+X, and 'Y' to save changes, then ENTER.

Then use this final command:


Quote:
chmod +x fah

Now, to add the Launcher itself, rightclick the top panel (the 'taskbar' along the top)> "Add to Panel"> "Custom Application Launcher".

• Change "Type" to "Application in Terminal".
• For "Name", enter "SMP Client".
• For "Command", enter:

Quote:
bash ~/Desktop/SMP/fah

Now, download this icon:


Click the spring-like icon, and replace it with the icon above.


You should now have an icon on your Panel:


5) Now, click the launcher you've just added, and the SMP client will open in Terminal. Time to configure it:

Press "Enter" unless the answers are in bold.

  • User name [Anonymous]? [Your Folding Name]
  • Team Number [0]? 37726
  • Passkey []? [Your Passkey]
  • Ask before fetching/sending work <no/yes> [no]?
  • Use proxy <yes/no> [no]?
  • Acceptable size of work assignment and work result packets <bigger units may have large memory demands> -- 'small' is <5MB, 'normal' is <10MB, and 'big' is >10MB <small/normal/big> [normal]? big
  • Change advanced options <yes/no> [no]? yes
  • Core Priority <idle/low> [idle]?
  • Disable highly optimized assembly code <no/yes> [no]?
  • Interval, in minutes, between checkpoints <3-30> [15]?
  • Memory, in MB, to indicate <xxxx available> [xxxx]?
  • Set -advmethods flag always, requesting new advanced scientific cores and/or work units if available <no/yes> [no]? yes
  • Ignore any deadline information <mainly useful if system clock frequently has errors> <no/yes> [no]?
  • Machine ID <1-16> [1]?
  • Launch automatically, install as a service in this directory <yes/no> [no]?
  • *The following options require you to restart the client before they take effect
  • Disable CPU affinity lock <no/yes> [no]?
  • Additional client parameters []?
  • IP address to bind core to <for viewer> []?

A picture in case you need a reference:



Now you've got the SMP client installed. Check the post below for information on how to configure HFM to monitor the client.


Edited by zodac - 1/24/12 at 5:21am
Megadoomer
(14 items)
 
Family Computer
(13 items)
 
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T @ 4.0Ghz ASUS M4A89GTD PRO Sparkle GTS 450 2x4GB G-Skill Sniper 
Hard DriveCoolingOSMonitor
Samsung F1 1TB CM Hyper 212+ Windows 7 Professional x64 Samsung T220 
KeyboardPowerCaseMouse
Logitech MX3000 Laser CM 1000M HAF 922 Logitech VX Revolution 
CPUMotherboardGraphicsRAM
Q6600 Asus PN5-D 750i Evga GTS 250 2x2GB Crucial Ballistix 
Hard DriveOptical DriveOSMonitor
750GB Hitachi Samsung Super Writemaster Windows 7 Professional x64 19" Dell 
PowerCase
Corsair 450VX Antec 900 
  hide details  
Megadoomer
(14 items)
 
Family Computer
(13 items)
 
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T @ 4.0Ghz ASUS M4A89GTD PRO Sparkle GTS 450 2x4GB G-Skill Sniper 
Hard DriveCoolingOSMonitor
Samsung F1 1TB CM Hyper 212+ Windows 7 Professional x64 Samsung T220 
KeyboardPowerCaseMouse
Logitech MX3000 Laser CM 1000M HAF 922 Logitech VX Revolution 
CPUMotherboardGraphicsRAM
Q6600 Asus PN5-D 750i Evga GTS 250 2x2GB Crucial Ballistix 
Hard DriveOptical DriveOSMonitor
750GB Hitachi Samsung Super Writemaster Windows 7 Professional x64 19" Dell 
PowerCase
Corsair 450VX Antec 900 
  hide details  
post #2 of 187
Thread Starter 
HFM Guide:

What you Need:

HFM.NET. The .zip file, under "Featured downloads".
(Direct Link)

Installation:

1) Since there isn't support for the framework HFM is based off in Linux, you will need to configure the OS first. Open Terminal (again), and enter the following command:

Quote:
sudo gedit /etc/apt/sources.list
A text editor will open. At the bottom of this file, add these lines:
Code:
deb http://ppa.launchpad.net/directhex/monoxide/ubuntu jaunty main 
deb-src http://ppa.launchpad.net/directhex/monoxide/ubuntu jaunty main


Save the file and close it.

2) Now, more commands to add:

Quote:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 23DC003A

sudo apt-get update

sudo apt-get install libmono-winforms2.0-cil
Extract the .zip file you downloaded to a folder called HFM on the Desktop.

Now, go back to terminal and enter these lines:

Quote:
cd ~/Desktop/HFM
mono HFM.exe
HFM will open. For now, close it. We'll now make a launcher for it.

3) Create a file on the Desktop. Call it HFMLaunch:



Open the file, and type this in and save the file:
Quote:
mono ~/Desktop/HFM/HFM.exe
4) Open Terminal and use these commands:

Quote:
cd ~/Desktop

sudo mv HFMLaunch /bin

cd /bin

chmod +x HFMLaunch
5) Now, we make a launcher. Rightclick the top Panel> Add to Panel> Custom Application Launcher.

• Leave "Type" as "Application".
• For "Name", enter "HFM".
• For "Command", enter:
Quote:
HFMLaunch
Again, download this icon:


Click the spring thing again, and replace the icon.



It should now look like this:


6) Now we can set HFM to monitor the SMP client. Go to Clients> Add Client.

• For "Instance Name", enter what you'd like to call the client.
• For "Client Processor MHz", enter the CPU speed in Mhz.
• For "Log Folder", enter:
Quote:
~/Desktop/SMP/


It should look like this:



7) Finally, we need to save the configuration file. Go to File> Save Configuration As> Save the file as Config:



Then go to Edit> Preferences> Startup _External. Check the "Load Configuration File" box, and select the Config.hfm file you just saved.
Edited by zodac - 6/28/10 at 4:48am
Megadoomer
(14 items)
 
Family Computer
(13 items)
 
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T @ 4.0Ghz ASUS M4A89GTD PRO Sparkle GTS 450 2x4GB G-Skill Sniper 
Hard DriveCoolingOSMonitor
Samsung F1 1TB CM Hyper 212+ Windows 7 Professional x64 Samsung T220 
KeyboardPowerCaseMouse
Logitech MX3000 Laser CM 1000M HAF 922 Logitech VX Revolution 
CPUMotherboardGraphicsRAM
Q6600 Asus PN5-D 750i Evga GTS 250 2x2GB Crucial Ballistix 
Hard DriveOptical DriveOSMonitor
750GB Hitachi Samsung Super Writemaster Windows 7 Professional x64 19" Dell 
PowerCase
Corsair 450VX Antec 900 
  hide details  
Megadoomer
(14 items)
 
Family Computer
(13 items)
 
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T @ 4.0Ghz ASUS M4A89GTD PRO Sparkle GTS 450 2x4GB G-Skill Sniper 
Hard DriveCoolingOSMonitor
Samsung F1 1TB CM Hyper 212+ Windows 7 Professional x64 Samsung T220 
KeyboardPowerCaseMouse
Logitech MX3000 Laser CM 1000M HAF 922 Logitech VX Revolution 
CPUMotherboardGraphicsRAM
Q6600 Asus PN5-D 750i Evga GTS 250 2x2GB Crucial Ballistix 
Hard DriveOptical DriveOSMonitor
750GB Hitachi Samsung Super Writemaster Windows 7 Professional x64 19" Dell 
PowerCase
Corsair 450VX Antec 900 
  hide details  
post #3 of 187
Thread Starter 
Pics will be up soon. Got to go back and get them... then edit a few of them.
Megadoomer
(14 items)
 
Family Computer
(13 items)
 
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T @ 4.0Ghz ASUS M4A89GTD PRO Sparkle GTS 450 2x4GB G-Skill Sniper 
Hard DriveCoolingOSMonitor
Samsung F1 1TB CM Hyper 212+ Windows 7 Professional x64 Samsung T220 
KeyboardPowerCaseMouse
Logitech MX3000 Laser CM 1000M HAF 922 Logitech VX Revolution 
CPUMotherboardGraphicsRAM
Q6600 Asus PN5-D 750i Evga GTS 250 2x2GB Crucial Ballistix 
Hard DriveOptical DriveOSMonitor
750GB Hitachi Samsung Super Writemaster Windows 7 Professional x64 19" Dell 
PowerCase
Corsair 450VX Antec 900 
  hide details  
Megadoomer
(14 items)
 
Family Computer
(13 items)
 
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T @ 4.0Ghz ASUS M4A89GTD PRO Sparkle GTS 450 2x4GB G-Skill Sniper 
Hard DriveCoolingOSMonitor
Samsung F1 1TB CM Hyper 212+ Windows 7 Professional x64 Samsung T220 
KeyboardPowerCaseMouse
Logitech MX3000 Laser CM 1000M HAF 922 Logitech VX Revolution 
CPUMotherboardGraphicsRAM
Q6600 Asus PN5-D 750i Evga GTS 250 2x2GB Crucial Ballistix 
Hard DriveOptical DriveOSMonitor
750GB Hitachi Samsung Super Writemaster Windows 7 Professional x64 19" Dell 
PowerCase
Corsair 450VX Antec 900 
  hide details  
post #4 of 187
Looks good Zodac!
Octagonal
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 860 3.8ghz Asus P7P55D Pro GTX260 + Asus GTS450 DirectCU 2x1GB XMS3 Platinum 1333MHZ CAS9 
Hard DriveOptical DriveOSMonitor
Intel X25-V 40GB + WD Caviar Blue 500gb none Windows 7 Professional x64 Asus VH242H (23.6" 1920x1080) 
PowerCase
XFX 650w XXX (SeaSonic) Lian Li PC-A05S 
  hide details  
Octagonal
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 860 3.8ghz Asus P7P55D Pro GTX260 + Asus GTS450 DirectCU 2x1GB XMS3 Platinum 1333MHZ CAS9 
Hard DriveOptical DriveOSMonitor
Intel X25-V 40GB + WD Caviar Blue 500gb none Windows 7 Professional x64 Asus VH242H (23.6" 1920x1080) 
PowerCase
XFX 650w XXX (SeaSonic) Lian Li PC-A05S 
  hide details  
post #5 of 187
Will be awaiting pics. I am really considering putting Linux on one of my HDD's. I miss it. Also, thanks for the guide.
i7 Rig
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 D0 @ 3.8GHz Evga x58 e758 (with Enzotech block) 2x EVGA GTX 275 1792mb 6GB Corsair Dominator (1600) 
Hard DriveOptical DriveOSMonitor
3x 640GB WD Black 2x Samsungs Windows 7 Home Premium 3x 21.5" ASUS, 1x 19" HP 
KeyboardPowerCaseMouse
Logitech G19 Corsair HX1000 Cooler Master HAF 932 Logitech G5 
Mouse Pad
Razer Goliathus Control 
  hide details  
i7 Rig
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 D0 @ 3.8GHz Evga x58 e758 (with Enzotech block) 2x EVGA GTX 275 1792mb 6GB Corsair Dominator (1600) 
Hard DriveOptical DriveOSMonitor
3x 640GB WD Black 2x Samsungs Windows 7 Home Premium 3x 21.5" ASUS, 1x 19" HP 
KeyboardPowerCaseMouse
Logitech G19 Corsair HX1000 Cooler Master HAF 932 Logitech G5 
Mouse Pad
Razer Goliathus Control 
  hide details  
post #6 of 187
Trying it now

Code:
cd ~/lib64-fah
How big is that file?
Edited by LiLChris - 5/26/10 at 2:07pm
>.<
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 930 4.0ghz 1.27v EVGA E758 3-Way (black/gray) Evga GTX 480 / Evga 9800gtx+ (physx&folding) Corsair Dominator 6gb 1600 8-8-8-24 
Hard DriveOSMonitorPower
x25-M SSD 80gb + 1TB F3 + 2x2TB WD Green Win 7 64bit Viewsonic 20" + Samsung 40" Corsair 1000w 
Case
Haf 932 (modded) - Now caseless 
  hide details  
>.<
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 930 4.0ghz 1.27v EVGA E758 3-Way (black/gray) Evga GTX 480 / Evga 9800gtx+ (physx&folding) Corsair Dominator 6gb 1600 8-8-8-24 
Hard DriveOSMonitorPower
x25-M SSD 80gb + 1TB F3 + 2x2TB WD Green Win 7 64bit Viewsonic 20" + Samsung 40" Corsair 1000w 
Case
Haf 932 (modded) - Now caseless 
  hide details  
post #7 of 187
Thread Starter 
Quote:
Originally Posted by LiLChris View Post
Trying it now

Code:
cd ~/lib64-fah
How big is that file?
I dunno.

Does it matter?
Megadoomer
(14 items)
 
Family Computer
(13 items)
 
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T @ 4.0Ghz ASUS M4A89GTD PRO Sparkle GTS 450 2x4GB G-Skill Sniper 
Hard DriveCoolingOSMonitor
Samsung F1 1TB CM Hyper 212+ Windows 7 Professional x64 Samsung T220 
KeyboardPowerCaseMouse
Logitech MX3000 Laser CM 1000M HAF 922 Logitech VX Revolution 
CPUMotherboardGraphicsRAM
Q6600 Asus PN5-D 750i Evga GTS 250 2x2GB Crucial Ballistix 
Hard DriveOptical DriveOSMonitor
750GB Hitachi Samsung Super Writemaster Windows 7 Professional x64 19" Dell 
PowerCase
Corsair 450VX Antec 900 
  hide details  
Megadoomer
(14 items)
 
Family Computer
(13 items)
 
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T @ 4.0Ghz ASUS M4A89GTD PRO Sparkle GTS 450 2x4GB G-Skill Sniper 
Hard DriveCoolingOSMonitor
Samsung F1 1TB CM Hyper 212+ Windows 7 Professional x64 Samsung T220 
KeyboardPowerCaseMouse
Logitech MX3000 Laser CM 1000M HAF 922 Logitech VX Revolution 
CPUMotherboardGraphicsRAM
Q6600 Asus PN5-D 750i Evga GTS 250 2x2GB Crucial Ballistix 
Hard DriveOptical DriveOSMonitor
750GB Hitachi Samsung Super Writemaster Windows 7 Professional x64 19" Dell 
PowerCase
Corsair 450VX Antec 900 
  hide details  
post #8 of 187
Quote:
Originally Posted by zodac View Post
I dunno.

Does it matter?
On a persistent usb it does lol.
Alright 325mb
>.<
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 930 4.0ghz 1.27v EVGA E758 3-Way (black/gray) Evga GTX 480 / Evga 9800gtx+ (physx&folding) Corsair Dominator 6gb 1600 8-8-8-24 
Hard DriveOSMonitorPower
x25-M SSD 80gb + 1TB F3 + 2x2TB WD Green Win 7 64bit Viewsonic 20" + Samsung 40" Corsair 1000w 
Case
Haf 932 (modded) - Now caseless 
  hide details  
>.<
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 930 4.0ghz 1.27v EVGA E758 3-Way (black/gray) Evga GTX 480 / Evga 9800gtx+ (physx&folding) Corsair Dominator 6gb 1600 8-8-8-24 
Hard DriveOSMonitorPower
x25-M SSD 80gb + 1TB F3 + 2x2TB WD Green Win 7 64bit Viewsonic 20" + Samsung 40" Corsair 1000w 
Case
Haf 932 (modded) - Now caseless 
  hide details  
post #9 of 187
Quote:
Originally Posted by zodac View Post
I dunno.

Does it matter?
511.8mb, to be exact (assuming you mean the lib64-fah directory)
Octagonal
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 860 3.8ghz Asus P7P55D Pro GTX260 + Asus GTS450 DirectCU 2x1GB XMS3 Platinum 1333MHZ CAS9 
Hard DriveOptical DriveOSMonitor
Intel X25-V 40GB + WD Caviar Blue 500gb none Windows 7 Professional x64 Asus VH242H (23.6" 1920x1080) 
PowerCase
XFX 650w XXX (SeaSonic) Lian Li PC-A05S 
  hide details  
Octagonal
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 860 3.8ghz Asus P7P55D Pro GTX260 + Asus GTS450 DirectCU 2x1GB XMS3 Platinum 1333MHZ CAS9 
Hard DriveOptical DriveOSMonitor
Intel X25-V 40GB + WD Caviar Blue 500gb none Windows 7 Professional x64 Asus VH242H (23.6" 1920x1080) 
PowerCase
XFX 650w XXX (SeaSonic) Lian Li PC-A05S 
  hide details  
post #10 of 187
Thread Starter 
Pictures added.
Megadoomer
(14 items)
 
Family Computer
(13 items)
 
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T @ 4.0Ghz ASUS M4A89GTD PRO Sparkle GTS 450 2x4GB G-Skill Sniper 
Hard DriveCoolingOSMonitor
Samsung F1 1TB CM Hyper 212+ Windows 7 Professional x64 Samsung T220 
KeyboardPowerCaseMouse
Logitech MX3000 Laser CM 1000M HAF 922 Logitech VX Revolution 
CPUMotherboardGraphicsRAM
Q6600 Asus PN5-D 750i Evga GTS 250 2x2GB Crucial Ballistix 
Hard DriveOptical DriveOSMonitor
750GB Hitachi Samsung Super Writemaster Windows 7 Professional x64 19" Dell 
PowerCase
Corsair 450VX Antec 900 
  hide details  
Megadoomer
(14 items)
 
Family Computer
(13 items)
 
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T @ 4.0Ghz ASUS M4A89GTD PRO Sparkle GTS 450 2x4GB G-Skill Sniper 
Hard DriveCoolingOSMonitor
Samsung F1 1TB CM Hyper 212+ Windows 7 Professional x64 Samsung T220 
KeyboardPowerCaseMouse
Logitech MX3000 Laser CM 1000M HAF 922 Logitech VX Revolution 
CPUMotherboardGraphicsRAM
Q6600 Asus PN5-D 750i Evga GTS 250 2x2GB Crucial Ballistix 
Hard DriveOptical DriveOSMonitor
750GB Hitachi Samsung Super Writemaster Windows 7 Professional x64 19" Dell 
PowerCase
Corsair 450VX Antec 900 
  hide details  
New Posts  All Forums:Forum Nav:
  Return Home
This thread is locked  
Overclock.net › Forums › Overclockers Care › Overclock.net Folding@Home Team › Folding@Home Guides and Tutorials › [Ubuntu] Setting up the SMP (CPU) client