[Ubuntu] Setting up the SMP (CPU) client - Overclock.net - An Overclocking Community

Forum Jump: 

[Ubuntu] Setting up the SMP (CPU) client

Closed Thread
 
Thread Tools
post #1 of 187 (permalink) Old 05-26-2010, 10:20 AM - Thread Starter
Retired Staff
 
zodac's Avatar
 
Join Date: Jul 2007
Location: Dublin, Ireland
Posts: 46,108
Rep: 509 (Unique: 309)

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.


I was not fired. sozo.gif



zodac is offline  
Sponsored Links
Advertisement
 
post #2 of 187 (permalink) Old 05-26-2010, 01:36 PM - Thread Starter
Retired Staff
 
zodac's Avatar
 
Join Date: Jul 2007
Location: Dublin, Ireland
Posts: 46,108
Rep: 509 (Unique: 309)
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.

I was not fired. sozo.gif



zodac is offline  
post #3 of 187 (permalink) Old 05-26-2010, 01:44 PM - Thread Starter
Retired Staff
 
zodac's Avatar
 
Join Date: Jul 2007
Location: Dublin, Ireland
Posts: 46,108
Rep: 509 (Unique: 309)
Pics will be up soon. Got to go back and get them... then edit a few of them.

I was not fired. sozo.gif



zodac is offline  
Sponsored Links
Advertisement
 
post #4 of 187 (permalink) Old 05-26-2010, 01:50 PM
Retired Staff
 
mmx+'s Avatar
 
Join Date: Oct 2009
Location: NC
Posts: 8,679
Rep: 490 (Unique: 333)
Looks good Zodac!


Now folding again...sort of
post-flame-small.gifpost-flame-small.gif Ask me about Folding!post-flame-small.gifpost-flame-small.gif

Sig Quotes (Click to show)Warning: Spoiler! (Click to show)

Quote:
Originally Posted by d3v0 go_quote.gif
It's galaxy, he has a better shot getting an RMA from Jesus himself haha
Quote:
Originally Posted by jprovido go_quote.gif
ati = nvidia
Quote:
Originally Posted by dave12 go_quote.gif
How does a mang get as more gooder at fixing stuff like this, like you do? confused.gif
Quote:
Originally Posted by AWESOME_3_SOME go_quote.gif
and i have a antec 902 case will that bottleneck my psu.
Quote:
Originally Posted by _02 go_quote.gif
It makes me want to punch a marketer with a hammer
Quote:
Originally Posted by zodac go_quote.gif
I'm always...ninja.gif
go_quote.gif


go_quote.gif


mmx+ is offline  
post #5 of 187 (permalink) Old 05-26-2010, 01:50 PM
Dark and Dropped SUV
 
MrBalll's Avatar
 
Join Date: Oct 2008
Location: West TX
Posts: 3,923
Rep: 141 (Unique: 119)
Will be awaiting pics. I am really considering putting Linux on one of my HDD's. I miss it. Also, thanks for the guide.

"Dubstep is porn for blind people."
New Gaming
(15 items)
i7 Rig
(13 items)
CPU
Intel 4790K
Motherboard
Asus Maximums Hero VII
GPU
2x EVGA GTX 970 SC
RAM
Corsair Vengeance 16Gb
Hard Drive
Corsair 250GB SSD
Hard Drive
2x WD Green 1TB
Power Supply
Corsair AX860
Cooling
NH-D14
Case
Corsair 750D
Operating System
Windows 8.1
Monitor
3x Asus VG248QE
Monitor
Asus PB278Q
Keyboard
Logitech G19
Mouse
Razer Deathadder Chroma
Mouse
Razer Goliathus
CPU
i7 920 D0 @ 3.8GHz (watercooled)
Motherboard
Evga x58 e758 (with Enzotech block)
GPU
2x EVGA GTX 275 1792mb
RAM
6GB Corsair Dominator (1600)
Hard Drive
3x 640GB WD Black
Optical Drive
2x Samsungs
Power Supply
Corsair HX1000
Case
Cooler Master HAF 932
Operating System
Windows 7 Home Premium
Monitor
3x 21.5" ASUS, 1x 19" HP
Keyboard
Logitech G19
Mouse
Logitech G5
Mouse
Razer Goliathus Control
▲ hide details ▲


MrBalll is offline  
post #6 of 187 (permalink) Old 05-26-2010, 01:53 PM
Retired Staff
 
LiLChris's Avatar
 
Join Date: Mar 2010
Location: Miami, Fl
Posts: 16,447
Rep: 512 (Unique: 373)
Trying it now

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

v7 Folding Beta Client Guides
GPU Folding - CPU Folding - Folding Flags

v6 Folding Client Guides
GPU Folding - CPU Folding - Folding Flags

Vocaloid Fanclub


LiLChris is offline  
post #7 of 187 (permalink) Old 05-26-2010, 02:08 PM - Thread Starter
Retired Staff
 
zodac's Avatar
 
Join Date: Jul 2007
Location: Dublin, Ireland
Posts: 46,108
Rep: 509 (Unique: 309)
Quote:
Originally Posted by LiLChris View Post
Trying it now

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

Does it matter?

I was not fired. sozo.gif



zodac is offline  
post #8 of 187 (permalink) Old 05-26-2010, 02:10 PM
Retired Staff
 
LiLChris's Avatar
 
Join Date: Mar 2010
Location: Miami, Fl
Posts: 16,447
Rep: 512 (Unique: 373)
Quote:
Originally Posted by zodac View Post
I dunno.

Does it matter?
On a persistent usb it does lol.
Alright 325mb

v7 Folding Beta Client Guides
GPU Folding - CPU Folding - Folding Flags

v6 Folding Client Guides
GPU Folding - CPU Folding - Folding Flags

Vocaloid Fanclub


LiLChris is offline  
post #9 of 187 (permalink) Old 05-26-2010, 02:11 PM
Retired Staff
 
mmx+'s Avatar
 
Join Date: Oct 2009
Location: NC
Posts: 8,679
Rep: 490 (Unique: 333)
Quote:
Originally Posted by zodac View Post
I dunno.

Does it matter?
511.8mb, to be exact (assuming you mean the lib64-fah directory)


Now folding again...sort of
post-flame-small.gifpost-flame-small.gif Ask me about Folding!post-flame-small.gifpost-flame-small.gif

Sig Quotes (Click to show)Warning: Spoiler! (Click to show)

Quote:
Originally Posted by d3v0 go_quote.gif
It's galaxy, he has a better shot getting an RMA from Jesus himself haha
Quote:
Originally Posted by jprovido go_quote.gif
ati = nvidia
Quote:
Originally Posted by dave12 go_quote.gif
How does a mang get as more gooder at fixing stuff like this, like you do? confused.gif
Quote:
Originally Posted by AWESOME_3_SOME go_quote.gif
and i have a antec 902 case will that bottleneck my psu.
Quote:
Originally Posted by _02 go_quote.gif
It makes me want to punch a marketer with a hammer
Quote:
Originally Posted by zodac go_quote.gif
I'm always...ninja.gif
go_quote.gif


go_quote.gif


mmx+ is offline  
post #10 of 187 (permalink) Old 05-26-2010, 02:22 PM - Thread Starter
Retired Staff
 
zodac's Avatar
 
Join Date: Jul 2007
Location: Dublin, Ireland
Posts: 46,108
Rep: 509 (Unique: 309)
Pictures added.

I was not fired. sozo.gif



zodac is offline  
Closed Thread

Quick Reply
Message:
Options

Register Now

In order to be able to post messages on the Overclock.net - An Overclocking Community forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.
User Name:
If you do not want to register, fill this field only and the name will be used as user name for your post.
Password
Please enter a password for your user account. Note that passwords are case-sensitive.
Password:
Confirm Password:
Email Address
Please enter a valid email address for yourself.
Email Address:

Log-in



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page


Forum Jump: 

Posting Rules  
You may post new threads
You may 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 Off
Pingbacks are Off
Refbacks are Off