SMP Folding in VMware, Please Help Me Get Started
Leonardo
Wake up and smell the glaciersEagle River, Alaska Icrontian
Alright guys, I want to try SMP Folding in VMware/Virtual Machines/Linux - within Windows. I have played around with Notfreds for a sum total of two hours. I got it Folding but it kept corrupting my USB key that I was using for the virtual drive. That is my sum total of Linux and VMware experience.
Currently I have downloaded both Ubuntu 8.10 and VMware Server 2.0. Ubunto will be burned as an ISO shortly.
Where do I go from here? Is there a comprehensive AND UNDERSTANDABLE guide for a noob that you recommend? I seem to be finding lots of guides...all 18 months to two years old. I know that Folding within virtual machines is popular, so there's got to be up-to-date guides. Here are a couple I found so far:
http://smp.aeternum.co.uk/guide/1
http://www.tomshardware.com/forum/235093-49-folding-home-client-vmware-ubuntu
Either of these any good? Please advise, direct me elsewhere...whatever I need to do. No, I am not dead set on Ubuntu. If there is something simpler, let me know. My intent here is not to learn a new OS. This is merely means to and end.
Thanks in advance.
Currently I have downloaded both Ubuntu 8.10 and VMware Server 2.0. Ubunto will be burned as an ISO shortly.
Where do I go from here? Is there a comprehensive AND UNDERSTANDABLE guide for a noob that you recommend? I seem to be finding lots of guides...all 18 months to two years old. I know that Folding within virtual machines is popular, so there's got to be up-to-date guides. Here are a couple I found so far:
http://smp.aeternum.co.uk/guide/1
http://www.tomshardware.com/forum/235093-49-folding-home-client-vmware-ubuntu
Either of these any good? Please advise, direct me elsewhere...whatever I need to do. No, I am not dead set on Ubuntu. If there is something simpler, let me know. My intent here is not to learn a new OS. This is merely means to and end.
Thanks in advance.
0
Comments
Other than that, the actual installation of Ubuntu and the SMP client are easy as can be. The guide here should be sufficient for the SMP side of things. Basically just install Ubuntu (MUST BE 64-bit EDITION) and then follow the Stanford guide I linked. Do not forget to install ia32-libs:
Your performance will probably be better under native linux, but please let us know what you get. I've never actually run Ubuntu as a VM, I do it the other way around, running Windows via Virtualbox under Ubuntu. If you want GPU2 folding to work you will have to run native linux. I'd like to be more thorough, but I'm posting from my blackberry. I'll follow-up later on today.
As I said earlier the installation of Ubuntu via the virtual machine should be pretty straightforward (although let me know if you have any questions). Once you are booted into Ubuntu 8.04 64-bit just do as follows.
Install all available updates. The package manager should run an auto-update on first boot and pop-up a notification to install. If not, just run System > Administration > Update Manager from the menu. Click "Check" to check for updates, install all available. Reboot when prompted. Now that the OS is up to date, we can get started with SMP. Please note that all file and folder names in *nix are case sensitive.
First start up the terminal and install the 32-bit libraries:
Enter your password when prompted. Upon completion you can minimize the terminal and download the unified Linux client 6.02 from here. Extract the archive to "/home/Leonardo/SMP/" (this is assuming your user name is Leonardo, you dig)
Open the terminal back up and navigate to the directory you extracted to:
Now we need to run the client with the -configonly flag, just like in Windows
You know the drill here, enter your info. When you're done we can start the client:
FOLD AWAY.
If you run into any linux related problems we'll have to pull some IC linux gurus in here to straighten that out as my experience is extremely limited. Things should go pretty smoothly though as Ubuntu is as simple as it gets.
When you've got SMP running we can get into installing FahMon under Ubuntu, or sharing the SMP folder out to Windows with Samba to be monitored with the rest of your clients.
Don't assume that I understand much of anything your wrote concerning "code." So far, I managed to open a terminal and download and "apply" some changes. Oh yeah, I also managed to set a password (was forced to), but second time opening a terminal the password would not work.
Mason, thanks for you recommendations. I'll give it a shot and do the best I can. Even if I scrap this at the end, I will still have learned.
I cannot speak to performance under a VM, but with Ubuntu 8.04.1 running natively my SMP performance is double what I get under Windows.
Those are commands to be entered at the command line (Applications > Accessories > Terminal) I wrapped them in code tags so they would stand out and be easier to see. You can literaly copy/paste them into Terminal (use Ctrl-Shift-V to paste into Terminal)
There are 64-bit version of all Ubuntu versions. When you download from http://www.ubuntu.com/getubuntu/download you will need to select version 8.04.1 LTS, choose a download location, and select 64-bit before clicking on "Begin Download"
Indeed, but I bet we can get you going.
There's no rush on this, I realize you're at work.
Thanks for working with me.
BTW, just found and purchased another 9800GX2 on a trading forum. :D
(way to go Leo)
BTW, it's five rigs, not seven. The rest is true.
You're silly. Use 8.04!
He's using VMWare Player and a pre-configured machine. It should be fine for just SMP folding.
We'll have him converting dedicated rigs to native 8.04 within a few weeks.
I am completely new to Linux and everything about it. The two or three word Linux lingo I know I have just learned in the last 12 hours.
Here's the guide I'm using now. It called for 7.10 so that's what I'm using. Let me get this first configuration actually running and Folding, then I'll gladly call on you whizzes to help me upgrade. (note: I did not call you whizzers)
Some quick notes for you, then:
Ubuntu is on a twice-yearly release cycle - once in April, once in October. This corresponds nicely to the version numbering - 7.10 was the October release of the 7th release version, 8.04 was the April release of the 8th version, etc. Each release has an animal associated with it - 7.10 was Gutsy Gibbon, 8.04 was Hardy Heron, 8.10 is Intrepid Ibex - but people will use 8.04 or Hardy interchangeably.
LTS = Long Term Support. Canonical will support this release (the current is 8.04) for at least 3 years, I believe, at which point you're expected to upgrade to the next LTS release or not require assistance. This is, of course, only related to paid support. Community help is available for all releases almost all the time, though obviously the most recent versions will be more active.
Folding will almost certainly always be faster on *nix (that's Unix/Linux/etc) than in Windows, since the Win client is a port, at least for SMP. The GPU client production is likely as dependent on driver quality in *nix as it is in Windows, though I haven't tested this, and thus may be better on Windows at the moment, since drivers for nV and ATI are still lacking, though finally both are open-sourced.
Just the easy tidbits for you. Little steps, right? Welcome to OSS.
Alright, progress report: all updates are installed now. I'm still working on this configuration. I'm just about to the stage where I can start a Folding SMP client. Right now the ugly (yeah, this gnome interface is butt ugly) window shows that a SSL certificate is being installed. Man, this is SLOW, but I think it's working?
Once Folding is running on this config, I'll try, yes, yet another one that looks much more up to date and easier to manipulate and install - HERE.
Please take a look at the software and see where the edit location is for the Team number. I looked in the subfiles of "Folding@Home virtual appliance" but could not find any text pertaining to team numbers. Of course, I may have just missed it. Maybe you could download the file, unzip it, and examine the subfiles.
The installation routine only has prompts for password, time zone, and username.
Even though the writer/compiler appears to be an a$$, I must say that the setup is excellent and elegantly simple, in some ways easier than the Windows SMP setup. correct
I just tried teh ctrl-alt-F1 and nothing happened, not even a blip on the screen. Would the VMware log help?
......never mind, I found it - "Tab"
Leo, I definitely understand why you want to start with a VM environment (and I'll certainly help you as best I can with that) but if you have a dedicated rig that you don't mind taking down for a while, a native installation of Ubuntu is actually a whole lot easier than all this mess. We could have SMP working within an hour and GPU2 working within two or three. The GPU2 client is more difficult to setup, but it's still as easy as copy/paste from a guide into the Terminal. The instructions I followed are here. The instructions are for a headless install (no monitor) so it's perfect for a dedicated rig.