Go Back   Hardware Canucks > HARDWARE CANUCKS COMMUNITY > HardwareCanucks F@H Team

    
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old April 2, 2008, 04:36 PM
zlojack's Avatar
Hall Of Fame
F@H
 
Join Date: Nov 2007
Location: Toronto
Posts: 2,057

My System Specs

Default Some help getting VMWare and SMP up and running

Hi guys.

Now that I've found my stable 24/7 OC (not that I won't keep playing with it, but this will be the profile I save) I'd like to get folding.

I've downloading VMWare Player (is this right, or should I be using VMWare Server?)
I'm downloading an Ubuntu VMWare 7.10 (Gutsy Gibbon WTF???)

So once I get the Ubuntu down, should I be able to run two instances of Ubuntu with VMWare Player and install the SMP client in each one?
__________________
[SIZE=3]
Reply With Quote
  #2 (permalink)  
Old April 2, 2008, 04:54 PM
3.0charlie's Avatar
3.0 "I kill SR2's" Charlie
F@H
 
Join Date: May 2007
Location: Laval, QC
Posts: 9,613

My System Specs

Default

That's about it - but you need Vmware Server V.1.0.2, not the Player. Ubuntu 7.10 is just fine for the task. In order to have dual SMP clients, you'll need to create 2 virtual machines with both their own Ubuntu install and FAH Linux SMP client.

Start with Server: Download VMware Server, free VMware, virtual server - VMware
Create 2 VMs with 1.5Gb of Ram each.
Install Ubuntu; install all updates.

Then it's a matter of setting up Ubuntu, and installing FAH. I'll dig the setup thread.
__________________
Hydro-Quebec is salivating...
Reply With Quote
  #3 (permalink)  
Old April 2, 2008, 05:05 PM
3.0charlie's Avatar
3.0 "I kill SR2's" Charlie
F@H
 
Join Date: May 2007
Location: Laval, QC
Posts: 9,613

My System Specs

Default

Enable VT (Virtualization Technology) in the BIOS.

To install / create the VMs / install Ubuntu, follow this: Folding@Home SMP Client with VMware & Ubuntu.

Set up Ubuntu for Folding, following this (taken from pscout's cribsheet):

Quote:
My Ubuntu (7.04) setup notes

My crib sheet for setting up a new ubuntu:

1. install ubuntu 7.04 at stock or known stable oc speeds. I usually install all the updates available before I continue and this will need a reboot. While it is downloading/installing, I often do some of the customizations below that don't require software installs (except for changing dhcp-static of course which will interrupt downloads).

2. add the userid you created to the root group. Doing this will let you move/delete any files including the fah files using the gui file manager without being blocked by permissions.
- system->administration->users and groups, click on manage groups, select root and click on properties.
I select both my id (pete) and root ... not sure if i need to add root here (security exposure?) but it has been working for me

3. i don't like to use dhcp so i setup a static ip for my network (192.168.0.xxx) point it to my gateway (192.168.02.) and point my dns at my gateway. Your network hardware/preferences may be different. It is best to avoid dhcp with the current beta SMP clients.

4. i like my dedicated folding rigs to login automatically so
- system->admin->login window-> security , select the 'enable automatic login' and select your id (pete for me) from the drop down list.

5. after any ubuntu updates in 1 are done and rebooted, time to setup sharing which i use as a shortcut to setup folding and will use later for fahmon monitoring and debugging etc.
system->administration->shared folders
The first time you go down this path you will be prompted to download and install sharing software ... since my main rig is wxp, i leave samba selected and deselect nfs.
Once it downloads and install samba then you can continue ( no reboot necessary)
add your home folder and deselect 'read only' checkbox so you can copy to this from another machine - leave read only if you prefer since it is good enuf for fahmon.
I also select general properties and change the domainname to 'WORKGROUP' since this is my default domain on my WXP rigs. If you WXP home then i expect the default MSHOME is good for you.

now open a terminal window: applications->accessories->terminal
in the terminal window type : 'sudo smbpasswd -a pete' <- use your userid not mine!
and then you will have to enter your password once for the sudo override to authenticate you, and then twice more for the smbpasswd command.

You should now be able to share files with all your other rigs. For convenience i use the same userid and password on all my wxp and linux installs. From my wxp rig i can access all the files in each rigs home directory without being prompted for password. To access my wxp rigs from a linux rig, i will still be prompted for a password, but i usually do all my inter-rig file moves from my wxp main rig. There is probably a way to avoid the pw prompt going from linux to wxp but i have not bothered to find out how.

6. to install software monitoring for the hardware, in a terminal window type the following:
(don't bother with this step if running linux under vmware - use windows monitoring instead)

- 'sudo apt-get install lm sensors' ... you can also do this via synaptic software manger under system, admin but command line is faster for me.
just follow all its prompts and change the last question's answer about updating your system with the generated output from no to yes.
- then in a terminal window type 'sudo sensor-detect'
after this runs, you will need to reboot before the gkrellm display application can access them for display.
- terminal window ... 'sudo apt-get install gkrellm' to install the display app.
- once gkrellm is installed you can launch it from applications->system tools and you can play with it to set up the display and monitored components the way you like it.

7. now to install folding. since the linux client (not the cores) is a 32 bit app, you need to install ia32-libs on any ubuntu level after 6.10 since it is not installed by default with the os.
- terminal window: 'sudo apt-get install ia32-libs' and hit enter to all the prompts. Alternatively install via gui with synaptic software manger if you prefer ... i find a command line easier/faster even for a lousy typist like me.

- for the rest of the folding install you will download the current linux 64 bit client for smp from stanford.folding.edu, downloads.

My shortcut here is I just copy the folding directory from another linux smp rig, delete the copied log files, work directory, queue.dat and machinedependant.dat files and i am ready to fold. I usually update the client.cfg directly with gedit and set local=0 so that my wu count in the logs is correct.

- i don't like the directory names used in the faq so i set up a pete/folding directory (and sometimes a folding2 directory for 2 instances).

I do set up a 'fold' shortcut to launch it with any switches as per the faq ... i use './fah6 -forceasm -verbosity 9 -smp'
I also setup a fold-pause shortcut when i want to run the client to finish the current wu and then stop so i can reconfigure, etc etc without needing to save any wu in progress. shortcut = './fah6 -forceasm -verbosity 9 -smp -pause'
You can create these shortcuts with gedit then use 'chmod +x ./fold' to make them executable.

8. start folding!
The FAH d/l site has changed, it is now http://www.stanford.edu/group/pandegroup/folding/release/FAH6.02beta1-Linux.tgz .

Full Client setup within Linux:

sudo apt-get update
sudo apt-get install ia32-libs
mkdir -p ~/folding/FAH
cd ~/folding/FAH
wget http://www.stanford.edu/group/pandegroup/folding/release/FAH6.02beta1-Linux.tgz .
tar xzf FAH6.02beta1-Linux.tgz
cd ~/folding/FAH
./fah6 -smp

Hope this helps.

John
__________________
Hydro-Quebec is salivating...

Last edited by 3.0charlie; April 3, 2008 at 09:33 AM. Reason: Link updated
Reply With Quote
  #4 (permalink)  
Old April 2, 2008, 05:08 PM
zlojack's Avatar
Hall Of Fame
F@H
 
Join Date: Nov 2007
Location: Toronto
Posts: 2,057

My System Specs

Default

Thanks guys!
__________________
[SIZE=3]
Reply With Quote
  #5 (permalink)  
Old April 2, 2008, 05:12 PM
3.0charlie's Avatar
3.0 "I kill SR2's" Charlie
F@H
 
Join Date: May 2007
Location: Laval, QC
Posts: 9,613

My System Specs

Default

Forgot to add to enable VT (Virtualization Technology) in the BIOS.
__________________
Hydro-Quebec is salivating...
Reply With Quote
  #6 (permalink)  
Old April 2, 2008, 05:17 PM
zlojack's Avatar
Hall Of Fame
F@H
 
Join Date: Nov 2007
Location: Toronto
Posts: 2,057

My System Specs

Default

Cool. Ok, last question. Is Xubuntu, or Ubuntu better for folding?
__________________
[SIZE=3]
Reply With Quote
  #7 (permalink)  
Old April 2, 2008, 05:29 PM
3.0charlie's Avatar
3.0 "I kill SR2's" Charlie
F@H
 
Join Date: May 2007
Location: Laval, QC
Posts: 9,613

My System Specs

Default

No difference that I know of.
__________________
Hydro-Quebec is salivating...
Reply With Quote
  #8 (permalink)  
Old April 2, 2008, 06:11 PM
zlojack's Avatar
Hall Of Fame
F@H
 
Join Date: Nov 2007
Location: Toronto
Posts: 2,057

My System Specs

Default

Can't get VMWare Server to allow me to use "local host"

Supposedly it's not supported in Vista 64-bit?
__________________
[SIZE=3]
Reply With Quote
  #9 (permalink)  
Old April 2, 2008, 06:25 PM
3.0charlie's Avatar
3.0 "I kill SR2's" Charlie
F@H
 
Join Date: May 2007
Location: Laval, QC
Posts: 9,613

My System Specs

Default

Sorry - just saw it in your sig: Vmware doesn't like 64bit. SugarJ tried it and didn't succeed: HCF F@H discussion - post #181 and subs.
__________________
Hydro-Quebec is salivating...
Reply With Quote
  #10 (permalink)  
Old April 2, 2008, 06:28 PM
zlojack's Avatar
Hall Of Fame
F@H
 
Join Date: Nov 2007
Location: Toronto
Posts: 2,057

My System Specs

Default

Damn!

What about VMWare Player? Or do I just stick to the WinSMP client?
__________________
[SIZE=3]
Reply With Quote
Reply


Thread Tools
Display Modes