IPB

Welcome Guest ( Log In | Register )

> Installing the Folding@Home Linux SMP Client on Windows! (The Easy Way), In Ubuntu in VMware Player
brewin
post Jan 6 2008, 11:46 PM
Post #1


Victory is mine!
Group Icon

Group: Administrator
Posts: 1,203
Joined: 11-September 06
From: Missouri
Member No.: 819
Country: USA



This guide is out of date. On Windows, you're probably better off just installing one of the high performance clients. As for Ubuntu, it now has an easy install script called Origami.

If you really want to, you can install Ubuntu in VMware on Windows and then install Origami in that. But I am not sure if there are any benefits in doing this anymore.


________________________________________________________


This is a guide to installing the Folding@Home Linux SMP client in Windows using VMware Player and an Ubuntu virtual disk. This is the absolute simplest guide I could come up with. You do not need any previous knowledge of Ubuntu or VMware. Anyone can do it. Just follow the instructions and you'll be up and running Folding@Home and getting several thousands points per week for yourself, for our team, and for science.

In order to meet the deadlines of 3 to 4 days for SMP work units, you will need to run this client at least 10 hours per day. If you cannot do this, then please consider running a non-SMP client which have much longer deadlines. If you can do this, then great! Just follow each step carefully and make sure to read the footnotes!



This works on any version of Windows and on most multi-core processors. [1]
  1. Download VMware Player 2.0.2 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]

  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
    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.00beta1-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: 51370
    Passkey: Get it here. (Not required)
    Acceptable size of work assignment and work result packets: big
    Change advanced options: no [5]

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

    Type: Application in Terminal
    Name: Fold for x64bit.net!
    Command: /home/ubuntu/Fah/startfah

  10. Now double-click 'Fold for x64bit.net!' [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.


foldon2km4.gif

__________
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.
Thanks to Nvyseal for testing this guide for me and for the screenshots of the process below.
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
m.oreilly
post Jan 10 2008, 08:33 AM
Post #2


Merman of teh broad
Group Icon

Group: Admin
Posts: 7,748
Joined: 22-October 05
Member No.: 153
Country: series of tubes



dave, after shuting down the vmware player to "pause" folding (as brew aluded to), my work unit still made it, unscathed. this is really handy, as in knowing the smp console client in vmware can be paused, or 'preserved', until you want to restart.
Go to the top of the page
 
+Quote Post

Posts in this topic
brewin   Installing the Folding@Home Linux SMP Client on Windows! (The Easy Way)   Jan 6 2008, 11:46 PM
m.oreilly   sweet, brew. does this client detect how may cores...   Jan 6 2008, 11:56 PM
brewin   QUOTE(m.oreilly @ Jan 6 2008, 06:56 PM) s...   Jan 7 2008, 12:02 AM
m.oreilly   i have 8. can i set up additional concurrent foldi...   Jan 7 2008, 12:07 AM
brewin   QUOTE(m.oreilly @ Jan 6 2008, 07:07 PM) i...   Jan 7 2008, 12:45 AM
m.oreilly   thanks brew   Jan 7 2008, 01:08 AM
m.oreilly   brew, do you keep the quotation marks around the ...   Jan 7 2008, 01:19 AM
brewin   QUOTE(m.oreilly @ Jan 6 2008, 08:19 PM) b...   Jan 7 2008, 01:31 AM
m.oreilly   what is the idle/low choice?   Jan 7 2008, 01:39 AM
m.oreilly   um, i'm in the middle of getting this started....   Jan 7 2008, 01:42 AM
brewin   QUOTE(m.oreilly @ Jan 6 2008, 08:42 PM) u...   Jan 7 2008, 01:46 AM
m.oreilly   well, it's installed and all. hope i did every...   Jan 7 2008, 01:58 AM
Nvyseal   Thanks Brew, Its pretty quick   Jan 7 2008, 02:29 AM
m.oreilly   QUOTE(Nvyseal @ Jan 6 2008, 06:29 PM) Tha...   Jan 7 2008, 03:18 AM
Nvyseal   never did that, but it seems just a wii bit faster...   Jan 7 2008, 03:24 AM
brewin   In native Ubuntu, I get 18 to 30 minutes depending...   Jan 7 2008, 03:28 AM
m.oreilly   dang, cool...   Jan 7 2008, 03:29 AM
m.oreilly   i'm getting 5000 every15min atm, using just on...   Jan 7 2008, 06:30 PM
m.oreilly   one thing i notice, is that when trying to eject a...   Jan 10 2008, 02:45 AM
m.oreilly   hehe, after posting the last one, a new virtual dr...   Jan 10 2008, 06:19 AM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 




RSS Lo-Fi Version Time is now: 9th February 2010 - 07:51 AM