These instructions will help setup and manage Folding@home SMP clients on HP Cloud Servers from a Windows 7 system. View
Getting Started with HP Cloud Services for more information about HP Cloud Services and
signup here.
This assumes you already have access to HP Cloud Services private beta and have created servers. I used Ubuntu 10.10 (64-bit) on two standard.2xlarge and one standard.xlarge servers. I created another thread to
setup and monitor the SMP clients with HFM.NET.
Create a new folder called PuTTY on your Windows 7 system. Save all files to this location.
Download PuTTY and PuTTYgen.
http://the.earth.li/~sgta...y/latest/x86/putty.exe http://the.earth.li/~sgta...atest/x86/puttygen.exe Go to
https://manage.hpcloud.com/compute/ select Manage Servers and follow the
Creating a Key Pair instructions. I named the Key Pairs (.pem file) after the compute cluster location because only one key is needed for each compute cluster location (US West 2 - AZ2 and US West 2 - AZ1 or az-1.region-a.geo-1 and az-2.region-a.geo-1).
Open PuTTYgen and select Conversions and Import Key. Select the Key Pair (.pem file) you created and then select Save private key. Ignore the warning.
I saved the files as USWest2-AZ2.ppk and USWest2-AZ1.ppk because only one key is needed for each compute cluster location.
Close PuTTYgen.
Copy your server's
Public IP address.
Open PuTTY.
Paste your server's
Public IP address into the Host Name (or IP address) field.
Expand SSH under Connection and select Auth.
Select Browse under Private key field for authentication and select your private key USWest2-AZ2.ppk or USWest2-AZ1.ppk
Select Session, enter the server's
Public IP address under Saved Sessions and select Save.
Select Open and yes on the Security Alert.
Logon as root
Update the OS and installed the SMP client with the following commands.
apt-get update
apt-get upgrade -y
mkdir -p /folding
cd /folding
wget www.stanford.edu/group/pandegroup/folding/release/FAH6.34-Linux64.tgz
tar xzf FAH6.34-Linux64.tgz
chmod +x fah6
Start the SMP client with the following command. Replace the # with 4 or 8 depending on the number of vCPU you're using. Ensure you enter your username, team # 111065 and your
passkey.
screen ./fah6 -smp #
screen allows us to enter new commands and close PuTTy while keeping the SMP client running.
After the SMP client is running hold the Crtl key down and press A then D to detach the screen. Always detach the screen before you close PuTTy.
Enter screen -r if you need to return to the SMP client.
Right-click on the PuTTy window and select Close to end the session. If you Saved your Sessions you will be able to simply double-click on the Saved Session name when you open PuTTy. Remember to logon as root and enter screen -r to return to the SMP client if needed.
I added the additional information for those that are not familiar with Linux and the
CLI.
Use the following commands to navigate to the folding directory and start the SMP client.
cd /folding
screen ./fah6 -smp #
Ctrl+C will shutdown the SMP client.
The reboot command will restart the system. Type reboot, press Enter and wait a couple minutes for the system to restart. Right-click on the Putty window and select Restart Session. If you receive “Network error: Connection timed out” then you didn’t wait long enough.
The top command will show you running tasks. It's like the Task Manager in Windows. Press Ctrl+C to exit.
cat /proc/cpuinfo will display your CPU information.
<message edited by david12857 on Wednesday, February 15, 2012 9:53 PM>