Results 1 to 14 of 14
Threaded View
-
09-24-2008, 12:54 AM #1
Linux SMP Folding in Windows with VMWare Server
This guide was written by WFO from PlanetAMD64.com.
http://www.planetamd64.com/index.php?showtopic=29163
I made a few changes to reflect program updates released since then.
This guide was written with Windows Xp in mind, but the latest VMWare Server beta supposedly is Vista x64 compatible.
VMware only supports two cores in each guest OS. To take advantage of all 4 cores you'll need 2 complete Linux installs in VMware with different machine IDs.
First stop is the VMware website: http://www.vmware.com/download/server/
Click the link at the top to register for your free serial number(s).
The latest release is VMware Server 1.0.7 which will work with Windows XP and Vista 32 bit.
For Vista 64 bit you can try VMware Server 2.0 Release Candidate 2 which is Vista x64 compatible: http://www.vmware.com/beta/server/overview.html
I tried it with Vista x64 and while it installed just fine, I was unable to install Linux in the Virtual Machine I created. It may have been a compatibility issue with my machine though, I'm not sure.
http://www.ubuntu.com/getubuntu/download
Choose the Desktop Edition and 64bit AMD and Intel computers. Choose the download location and Start Download.
It is very important that you get the 64 bit edition.
Burn your Linux .iso and you are ready to begin.
Click the VMWare exe to start the install. You will get an error message about ISS not being installed or improperly configured. Ignore it and continue. It will appear to hang when the blue progress bar has traveled across the screen. Don’t worry. It’s still installing. Give it time. Enter the S/N when prompted and click finish. Reboot if prompted to do so. Otherwise launch VMware/Local Host/OK.
Click New Virtual Machine/Next. Typical/Next. Select Linux/Ubuntu or Other Linux 64bit. Use network address translation. Select disk space allocated. I used 8GB. Selecting less and you won’t have room for pictures, music or other extras you may want to add Check allocate disk space now/ finish. Click edit Virtual Machine settings. Highlight Processor. Select 2. Double check ram settings. I recommend 512.
Insert the Ubuntu/Xubuntu CD. Click Open Existing Virtual Machine and the CD will launch. If by some chance it doesn’t, open and close the CD tray. Or you may have to close and re-launch VMware. Select Start or Install Ubuntu. The Live CD will boot. When the Desktop is loaded, click “Install.”
My selections during install were?
English/Forward
Time Zone: Your time zone
Set time/ your local time whatever it is
Keyboard -U.S. English/ Forward
Select your Username and password
Select Use Entire Disk. It will only use what you previously allocated. Don’t worry. Your data is safe.
The next screen will show all choices previously selected. Select Install or back if you need to change something. After the install you will be prompted to remove the CD and restart the OS. When the desktop is reached, from the drop down menus on top of the screen, click System/Administration/Update Manager. Install all updates. Feel free to get a cup of coffee or an adult beverage while this takes place.
When the updates are installed, you’ll need to open the terminal. Applications/Accessories/Terminal. Minimize the Terminal. Open the Firefox browser and come to this page. Copy and paste the following command into the Terminal Window. I say copy and paste because any typing errors will just ruin your day. Leave the browser open. You will be bouncing between these instructions and the Terminal as you copy and paste.
sudo apt-get install ia32-libs
Press "Enter." Enter password when prompted. Press “Enter” again. Enter y to continue when prompted. Note the smp will not run without the above 32bit compatibility libraries.
Open your home folder. “Places/Home Folder.” Right click and create a new folder called “folding” Open it right click and create another new folder called FAH
In Firefox go to the F@H download page: http://folding.stanford.edu/English/Download and download the Linux (x86) and BSD *combined uniprocessor and SMP client 6.02.
Download the Linux client to the desktop in the guest OS(Ubuntu). Right click and choose extract here. Open that folder, highlight the two files, right click and copy. Go back to the FAH folder you created, open it, right click and paste.
You can move the .tgz file and the FAh6.02-Linux folder on the desktop to the trash once that is done.
Close the FAH folder and go back to your Terminal.
To configure the client type:
cd folding/FAH ...press “enter”
./fah6 –smp –configonly ... press “enter”
Enter your folding name and Team 41608.
When asked to enter a passkey you can simply hit enter to ignore that step.
Enter the advanced options and make sure you say yes to WUs greater than 5MB or you will get error messages while folding. Don't disable highly optimized assembly code. And don’t select more ram than you gave the Virtual Machine. Now just type:
./fah6 –smp –forceasm –verbosity 9
Press “Enter” and away you go. I always leave the Terminal up and just minimize VMware. The screen will be black when you bring it up. Just click the cursor in the black part of the screen and you are in Ubuntu. To free the cursor, press Ctrl-Alt. You can disable screensaver to avoid the black screens. You can also close the VMware box and vmware will continue running as a service.
With the V6 client you must use the –smp flag or it will download a standard client. Failure to use the –smp will destroy a smp client on a restart. You will lose your work!!! Stanford will have a check in place when the client comes out of beta.
Please note... if you have shut down the client, use Ctrl+C. To shut down VMware, first use System/quit/shut down from Ubuntu/Xubuntu. When the guest shuts down, click File and Exit in VMware. Not using this procedure will cause your computer to hang on shut down because Linux and VMware are still running. When restarting Ubuntu and the SMP client, bring up the Terminal and navigate to the folder the SMP is in. Type:
cd folding/FAH
press enter
And lastly the command...
./fah6 -smp –forceasm –verbosity 9
OPTIONAL: To make it a little easier for yourself, one can make a script by running following commands:
echo "./fah6 -smp –forceasm -verbosity 9" > FaH
chmod +x FaH
Now you'll just have to run
./FaH
The above are case sensitive.
To Monitor the client in FahMon. right click the FAH folder click sharing options and check "share this folder". You will be asked to install samba share. Once that is done go back to the FAH folder, right click sharing options, and check "share this folder" once more.
Feel free to ask questions if you run into any problems.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Steam for Linux Now Available
By RSS_Poster in forum NewsReplies: 0Last Post: 02-15-2013, 06:37 PM -
Windows 8 Users Get Windows 8 Media Center Pack Free From Microsoft For Limited Time
By sushrukh in forum Operating SystemsReplies: 5Last Post: 01-24-2013, 05:55 AM -
Audigy 1-2-2ZS-4 Drivers for Windows 7 / Windows 8 32 & 64bit!
By phenom2 in forum Video & AudioReplies: 1Last Post: 12-17-2012, 11:34 AM -
Steam for Linux Beta Now Available
By RSS_Poster in forum NewsReplies: 10Last Post: 11-10-2012, 11:24 PM -
Crucial To Support Next-Generation Intel® Server Platform with New Server Memory
By RSS_Poster in forum NewsReplies: 0Last Post: 09-14-2011, 04:41 AM




Reply With Quote
Bookmarks