Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Overclock.net Forum > Overclock.net Folding@Home Team

Reply
 
LinkBack Thread Tools
Old 01-28-08   #1 (permalink)
Linux Lobbyist
 
purdueman's Avatar
 
amd ati

Join Date: Mar 2006
Location: B-Town, MI
Posts: 860

Rep: 109 purdueman is acknowledged by manypurdueman is acknowledged by many
Unique Rep: 91
Folding Team Rank: 235
Trader Rating: 3
Default Guide: Linux SMP in VMware & FahMon

Linux SMP Client on Windows, In Ubuntu in VMware I read our guide but this one seems to be faster to setup. This can be done by anyone even if they have no experience with Linux, VMware, or folding. I am a prime example.



How To: Setup Linux SMP Client on Windows, In Ubuntu in VMware

Quote:
Bracketed numbers [#] are footnotes

This works on any version of Windows and on most multi-core processors. [1]

1. Download VMware Player 2.0.4 for Windows. You must register first.

2. Install VMware Player. Reboot if it prompts you to and then come back to this page.

3. Download the Ubuntu 7.10 amd64 VMware image. (770MB) [2]
If you want/need a different VMware Image or would like a torrent select a VMware Image from here. http://www.thoughtpolice.co.uk/vmware/

4. Make a new folder in My Documents called VMware and unzip this file there. Open the Ubuntu-7.10-desktop-amd64 folder you just unzipped.

5. Open the .vmx file in Wordpad and add numvcpus = "2" to the end of it. [3] Save and close it. Now double-click the .vmx file. This will start VMware Player and Ubuntu will begin booting.

6. You should see a nice brown desktop. In the main menu, click Applications / Accessories / Terminal.

7. Type this (all on one line, let it wrap) into the terminal. It would be much easier to open Firefox in Ubuntu, navigate to this page, copy the text below, then paste it into the terminal. So do that.
CODE
Code:
sudo apt-get install ia32-libs && mkdir ~/Fah && cd ~/Fah && echo "cd ~/Fah && ./fah6 -smp -advmethods -forceasm -verbosity 9" >> startfah && chmod +x startfah && wget http://www.stanford.edu/group/pandegroup/folding/release/FAH6.02-Linux.tgz && tar xvf F* && ./fah6 -smp -configonly
Press Enter. The password is ubuntu. Everything will be downloaded, extracted, and installed like magic. [4]

8. Now you will configure your client. Here are some good choices. For anything not listed here, just press Enter for the default choice.

User Name: Your Name
Team Number: 37726 (Overclock.net)
Passkey: None
Acceptable size of work assignment and work result packets: big
Change advanced options: yes
[5]
Leave all advanced options to default except the one below

Set -advmethods flag always, requesting new advanced
scientific cores and/or work units if available: yes


9. Now close the terminal. Right-click the desktop and choose Create Launcher. Type in the information below.

Type: Application in Terminal
Name: Folding
Command: /home/ubuntu/Fah/startfah

10. Now double-click 'Folding' [6] [7]


For quad-cores:
If you would like to utilize all four cores for Folding@Home instead of just two, you will need to exit VMware Player and rename the folder in My Documents/VMware to something else (like Ubuntu-7.10-desktop-amd64-2) and then repeat this guide starting at step 4. VMware Player only supports two virtual processors, so you will need to run two instances of VMware Player.


__________
Footnotes:

1. You must have a CPU that supports 64-bit guests in VMware. If you're not sure, download and run this tool to find out.
2. This 770MB zip file contains a virtual hard disk that decompresses to over 2GB. Make sure you have plenty of space.
3. You can also increase the available memory by changing memsize = "256" to a larger number like 512 or 1024 depending on your amount of system memory.
4. If files fail to download, you probably have a networking problem. In the main menu, go to System / Administrator / Network. Password is ubuntu. Choose the connection and click Properties. Uncheck Enable roaming mode and for Configuration choose DHCP. Press OK and then Close. Press Ctrl+Alt and click Ethernet at the top of VMware Player. Choose NAT. In Ubuntu, go to System / Quit / Restart. After Ubuntu has booted, start at step 6 in this guide.
5. If you are setting up two instances for a quad-core and this is your second time through the guide, type yes for Change advance options and then change Machine ID to 2.
6. If you need to close the client, just hit Ctrl+C in the terminal. Then when you want to start it again, just double-click the icon.
7. Exiting VMware Player without first shutting down Ubuntu will create a snapshot of the current state. The next time you run Ubuntu it will boot up instantly and everything will be as you left it. In other words, do this.
Source: http://www.x64bit.net/site/board/ind...showtopic=5232

If you want/need a different VMware Image try this site http://www.thoughtpolice.co.uk/vmware/

Using FahMon in Windows to monitor your Linux SMP


1. In your Ubuntu VMware install navigate to your Fah folder.

Click Places>Home and then right click on your Fah folder. Click share.
Type ubuntu for the password when prompted.
You will only need to install Samba (the windows option).
To make sure your folder is being shared go to System>Administration>Shared Folders
If not click add and choose the folder.

2. Next inside Ubuntu set your samba password and username by opening a terminal session (Applications>Accessories>Terminal) and use the code below. For example use ubuntu as user and then you will be prompted for a password. Use ubuntu for the password too.

Code:
sudo smbpasswd -a ubuntu
3. Now in Windows navigate to your network (Start>My Network) and you should see your VMWare install named Ubuntu. Open it and type your username and password you just set up.

4. Now install FahMon in Windows.

Once installed run FahMon
*Note for Vista users. If you have UAC enabled you will have to run as Admin.

5. Now time to add your client. Right click the white box and click add client.

Name your client VMware SMP.
Now for the location navigate to your Network and then Ubuntu and then Fah.
*Use the Fah folder not the Fah/work
*Fahmon may read your SMP client as hung initially.

My location looks like \\UBUNTU\Fah


I found I get the most PPD by running a Linux SMP + GPU2.
See http://www.overclock.net/overclock-n...ah-6-12-a.html for GPU2 guide.


Updated: 10/15/08

System: Mr. Grizzly
CPU
Phenom 2 940 X4 @ 3.7ghz
Motherboard
ASUS M3A78-EM
Memory
2x2GB Corsair XMS2 @ 872mhz
Graphics Card
ASUS 4870 1GB
Hard Drive
640GB Westen Digital
Sound Card
Xtreme Music
Power Supply
OCZ GameXStream 600W
Case
Antec 300
CPU cooling
Tuniq Tower 120
OS
Windows Vista Premium 64bit/ Arch Linux 64bit
Monitor
Samsung 206bw
1 Million+ Folding at Home points

Last edited by purdueman : 10-15-08 at 05:44 PM
purdueman is offline I fold for Overclock.net   Reply With Quote
Old 01-30-08   #2 (permalink)
Original OCN Gangsta
 
Burn's Avatar
 
intel nvidia

Join Date: Sep 2004
Location: Massachusetts
Posts: 13,639
Blog Entries: 2

FAQs Submitted: 14
Folding Team Rank: 126
Team Name: CPU Burners
Hardware Reviews: 5
Trader Rating: 7
Default

Awesome! Any idea if they can make an image using Linux Mint? It would be MUCH smaller and more lightweight.
__________________
My CNC Mill Project
Quote:
Originally Posted by CyberDruid
Burn + Electricty + Water =
But the man has the patience of a saint...
We cannot change the cards we are dealt, just how we play the hand.
--Randy Pausch
Current Best Benchmark

System: Burning Phoenix
CPU
Intel Q9550
Motherboard
Gigabyte EP45-UD3P
Memory
4GB G.Skill DDR2-1000 5-5-5-15
Graphics Card
eVGA GTX 260 Core 216 SuperClocked
Hard Drive
3 WD 80GB RAID0, Seagate 500GB, WD 1TB Caviar BLCK
Sound Card
Creative SB Audigy 2 ZS
Power Supply
Silverstone OP750
Case
Lian-Li PC-A10B
CPU cooling
D-Tek Fuzion V1
GPU cooling
D-Tek Fuzion GFX + D-Tek Unisink
OS
Windoze 7 Professional
Monitor
Dual Dell E207WFP 20.1" Widescreen LCD's
1 Million+ Folding at Home points
Burn is offline I fold for Overclock.net Overclocked Account Burn's Gallery   Reply With Quote
Old 01-31-08   #3 (permalink)
4.0ghz
 
Bal3Wolf's Avatar
 
intel nvidia

Join Date: Sep 2006
Location: Kentucky
Posts: 6,253

Rep: 461 Bal3Wolf is a proven memberBal3Wolf is a proven memberBal3Wolf is a proven memberBal3Wolf is a proven memberBal3Wolf is a proven member
Unique Rep: 309
Folding Team Rank: 104
Hardware Reviews: 1
Trader Rating: 8
Default

Probly could be done but how well does linux mint fold i tried debian business card with the libs needed and it would give alot of time issues and kernal problems. After i send my last unit for the day i might try and see how it works right now i got my linux ubuntu down to 700megs could go smaller for users not using ssh or samba.
__________________
3dmark06 vista 15365
CPUZ 4169
Prime95 4HR

System: game/folding
CPU
q6600 L743 1.20vid 450x8 3600 1.34
Motherboard
Gigabyte EP45-UD3P
Memory
OCZ FLEX2 pc9200 1150mhz
Graphics Card
Evga 8800GT Superclocked 760/1892/2000
Hard Drive
3x 320gig raid 0 1x 1tb 1x 750gig
Power Supply
Ultra X-Connect V-Series ULT33183 700 Watts
Case
Antec 900 modded
CPU cooling
tuniq tower+SILVERSTONE FM121
GPU cooling
Nv silencer 5 rev 3
OS
Windows Vista Ultimate 64bit
Monitor
ASUS VW246H Black 24" 2ms
1 Million+ Folding at Home points
Bal3Wolf is offline I fold for Overclock.net Overclocked Account   Reply With Quote
Old 01-31-08   #4 (permalink)
Original OCN Gangsta
 
Burn's Avatar
 
intel nvidia

Join Date: Sep 2004
Location: Massachusetts
Posts: 13,639
Blog Entries: 2

FAQs Submitted: 14
Folding Team Rank: 126
Team Name: CPU Burners
Hardware Reviews: 5
Trader Rating: 7
Default

Honestly, I can't say...Either way, I think it would be a good improvement. I thought I remembered reading an article saying that the difference in PPD was very minimal between distros, and so go with the smallest or most convenient distro that works for you. Linux Mint would probably take up half the space and be just as efficient

I would make an image myself, but I don't have VMWare Workstation :\
__________________
My CNC Mill Project
Quote:
Originally Posted by CyberDruid
Burn + Electricty + Water =
But the man has the patience of a saint...
We cannot change the cards we are dealt, just how we play the hand.
--Randy Pausch
Current Best Benchmark

System: Burning Phoenix
CPU
Intel Q9550
Motherboard
Gigabyte EP45-UD3P
Memory
4GB G.Skill DDR2-1000 5-5-5-15
Graphics Card
eVGA GTX 260 Core 216 SuperClocked
Hard Drive
3 WD 80GB RAID0, Seagate 500GB, WD 1TB Caviar BLCK
Sound Card
Creative SB Audigy 2 ZS
Power Supply
Silverstone OP750
Case
Lian-Li PC-A10B
CPU cooling
D-Tek Fuzion V1
GPU cooling
D-Tek Fuzion GFX + D-Tek Unisink
OS
Windoze 7 Professional
Monitor
Dual Dell E207WFP 20.1" Widescreen LCD's
1 Million+ Folding at Home points
Burn is offline I fold for Overclock.net Overclocked Account Burn's Gallery   Reply With Quote
Old 01-31-08   #5 (permalink)
4.0ghz
 
Bal3Wolf's Avatar
 
intel nvidia

Join Date: Sep 2006
Location: Kentucky
Posts: 6,253

Rep: 461 Bal3Wolf is a proven memberBal3Wolf is a proven memberBal3Wolf is a proven memberBal3Wolf is a proven memberBal3Wolf is a proven member
Unique Rep: 309
Folding Team Rank: 104
Hardware Reviews: 1
Trader Rating: 8
Default

Well im downloading all the distros of linux mint their smallest cd is 600 some megs about same size as a ubuntu cd.
__________________
3dmark06 vista 15365
CPUZ 4169
Prime95 4HR

System: game/folding
CPU
q6600 L743 1.20vid 450x8 3600 1.34
Motherboard
Gigabyte EP45-UD3P
Memory
OCZ FLEX2 pc9200 1150mhz
Graphics Card
Evga 8800GT Superclocked 760/1892/2000
Hard Drive
3x 320gig raid 0 1x 1tb 1x 750gig
Power Supply
Ultra X-Connect V-Series ULT33183 700 Watts
Case
Antec 900 modded
CPU cooling
tuniq tower+SILVERSTONE FM121
GPU cooling
Nv silencer 5 rev 3
OS
Windows Vista Ultimate 64bit
Monitor
ASUS VW246H Black 24" 2ms
1 Million+ Folding at Home points
Bal3Wolf is offline I fold for Overclock.net Overclocked Account   Reply With Quote
Old 01-31-08   #6 (permalink)
Linux Lobbyist
 
purdueman's Avatar
 
amd ati

Join Date: Mar 2006
Location: B-Town, MI
Posts: 860

Rep: 109 purdueman is acknowledged by manypurdueman is acknowledged by many
Unique Rep: 91
Folding Team Rank: 235
Trader Rating: 3
Default

Well Linux Mint is not 64 bit as of right now so I couldn't use all of my 4gbs. Isn't Linux Mint just Ubuntu with just added codecs and other stuff so I don't think it would be lighter or have they changed other stuff? Xubuntu might be a better idea.

System: Mr. Grizzly
CPU
Phenom 2 940 X4 @ 3.7ghz
Motherboard
ASUS M3A78-EM
Memory
2x2GB Corsair XMS2 @ 872mhz
Graphics Card
ASUS 4870 1GB
Hard Drive
640GB Westen Digital
Sound Card
Xtreme Music
Power Supply
OCZ GameXStream 600W
Case
Antec 300
CPU cooling
Tuniq Tower 120
OS
Windows Vista Premium 64bit/ Arch Linux 64bit
Monitor
Samsung 206bw
1 Million+ Folding at Home points
purdueman is offline I fold for Overclock.net   Reply With Quote
Old 01-31-08   #7 (permalink)
Hardcore Music Lover
 
Unknownm's Avatar
 
amd ati

Join Date: Aug 2006
Location: Vancouver
Posts: 6,549

Rep: 319 Unknownm is a proven memberUnknownm is a proven memberUnknownm is a proven memberUnknownm is a proven member
Unique Rep: 229
FAQs Submitted: 1
Trader Rating: 7
Default



I'm pretty sure I read your guide right or did I put it in the wrong spot?
Attached Thumbnails
Guide: Linux SMP in VMware-untitled.jpg  
__________________
Coma's youtube HD Encoder: (32-bit & 64-bit Windows)

Youtube: Audiotranceable

System: Rig
CPU
X3 720BE @ 3.44Ghz
Motherboard
Gigabyte GA-MA790X-UD4P
Memory
2x1GB DDR2-800 @ 860Mhz
Graphics Card
Radeon 4830 @ 720/1050
Hard Drive
500GB SATAII
Sound Card
Realtek HD
Power Supply
BFG 680w
Case
Cooler Master Elite 335
OS
Windows 7 Pro 64-bit
Monitor
P1130 @ 1792x1344x85hz
Unknownm is online now Overclocked Account Unknownm's Gallery   Reply With Quote
Old 01-31-08   #8 (permalink)
Original OCN Gangsta
 
Burn's Avatar
 
intel nvidia

Join Date: Sep 2004
Location: Massachusetts
Posts: 13,639
Blog Entries: 2

FAQs Submitted: 14
Folding Team Rank: 126
Team Name: CPU Burners
Hardware Reviews: 5
Trader Rating: 7
Default

I had that same issue too...Put it on the next line. I don't know why, but it at least loads up. I don't know if it implements two CPU's or not, but I get both cores fully loaded on FAH when I did it that way.
__________________
My CNC Mill Project
Quote:
Originally Posted by CyberDruid
Burn + Electricty + Water =
But the man has the patience of a saint...
We cannot change the cards we are dealt, just how we play the hand.
--Randy Pausch
Current Best Benchmark

System: Burning Phoenix
CPU
Intel Q9550
Motherboard
Gigabyte EP45-UD3P
Memory
4GB G.Skill DDR2-1000 5-5-5-15
Graphics Card
eVGA GTX 260 Core 216 SuperClocked
Hard Drive
3 WD 80GB RAID0, Seagate 500GB, WD 1TB Caviar BLCK
Sound Card
Creative SB Audigy 2 ZS
Power Supply
Silverstone OP750
Case
Lian-Li PC-A10B
CPU cooling
D-Tek Fuzion V1
GPU cooling
D-Tek Fuzion GFX + D-Tek Unisink
OS
Windoze 7 Professional
Monitor
Dual Dell E207WFP 20.1" Widescreen LCD's
1 Million+ Folding at Home points
Burn is offline I fold for Overclock.net Overclocked Account Burn's Gallery   Reply With Quote
Old 01-31-08   #9 (permalink)
Hardcore Music Lover
 
Unknownm's Avatar
 
amd ati

Join Date: Aug 2006
Location: Vancouver
Posts: 6,549

Rep: 319 Unknownm is a proven memberUnknownm is a proven memberUnknownm is a proven memberUnknownm is a proven member
Unique Rep: 229
FAQs Submitted: 1
Trader Rating: 7
Default

Quote:
Originally Posted by Burn View Post
I had that same issue too...Put it on the next line. I don't know why, but it at least loads up. I don't know if it implements two CPU's or not, but I get both cores fully loaded on FAH when I did it that way.
ah well just installing it now

http://img168.imageshack.us/img168/7401/19383456uv4.jpg
__________________
Coma's youtube HD Encoder: (32-bit & 64-bit Windows)

Youtube: Audiotranceable

System: Rig
CPU
X3 720BE @ 3.44Ghz
Motherboard
Gigabyte GA-MA790X-UD4P
Memory
2x1GB DDR2-800 @ 860Mhz
Graphics Card
Radeon 4830 @ 720/1050
Hard Drive
500GB SATAII
Sound Card
Realtek HD
Power Supply
BFG 680w
Case
Cooler Master Elite 335
OS
Windows 7 Pro 64-bit
Monitor
P1130 @ 1792x1344x85hz
Unknownm is online now Overclocked Account Unknownm's Gallery   Reply With Quote
Old 02-01-08   #10 (permalink)
Linux Lobbyist
 
purdueman's Avatar
 
amd ati

Join Date: Mar 2006
Location: B-Town, MI
Posts: 860

Rep: 109 purdueman is acknowledged by manypurdueman is acknowledged by many
Unique Rep: 91
Folding Team Rank: 235
Trader Rating: 3
Default

Keyword guys WORDPAD I had the same problem with Notepad.

Also I would change the memsize = "256" to 1024 or 512.

System: Mr. Grizzly
CPU
Phenom 2 940 X4 @ 3.7ghz
Motherboard
ASUS M3A78-EM
Memory
2x2GB Corsair XMS2 @ 872mhz
Graphics Card
ASUS 4870 1GB
Hard Drive
640GB Westen Digital
Sound Card
Xtreme Music
Power Supply
OCZ GameXStream 600W
Case
Antec 300
CPU cooling
Tuniq Tower 120
OS
Windows Vista Premium 64bit/ Arch Linux 64bit
Monitor
Samsung 206bw
1 Million+ Folding at Home points
purdueman is offline I fold for Overclock.net   Reply With Quote
Reply


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



All times are GMT -4. The time now is 05:17 AM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.17303 seconds with 9 queries