Overclock.net › Forums › Overclockers Care › Overclock.net Folding@Home Team › Quick and Dirty HPCS F@H Setup Guide
New Posts  All Forums:Forum Nav:

Quick and Dirty HPCS F@H Setup Guide  

post #1 of 28
Thread Starter 
Once you are at the compute tab choose the following options:

size: standard.2xlarge
Install Image: Ubuntu Maverick 10.10
instances : 2

120

then hit create
do it once more but this time

size: standard.xlarge
Install Image: Ubuntu Maverick 10.10
instances : 1

116

SSH into one of the 8c boxes using the Public IP and key it gives you.

388
Code:
nano install

Paste this in below.
Code:
#!/bin/bash

mkdir /fah

chmod 777 /fah

cd /fah

curl -O http://www.stanford.edu/group/pandegroup/folding/release/FAH6.34-Linux64-SMP.exe

mv FAH6.34-Linux64-SMP.exe fah6

chmod +x fah6

cat /proc/stat | awk 'BEGIN { TARGET_NCPUS=16 } ; { if ($1 == "intr") { for (i=NR-2;i<TARGET_NCPUS;i++) print "cpu" i S } ; S="" ; for (i=2;i<=NF;i++) S=S " " $i ; print }' > /tmp/stat.save

mount --bind /tmp/stat.save /proc/stat


Should look like this

420

Now hit Ctrl+X, enter Y and hit enter to save it.

Now enter
Code:
chmod +x install
Code:
./install
Code:
cd /fah

420

Now
Code:
screen ./fah6 -smp 8 -bigadv

420

Now enter your F@H information and it should start.
Hit CTRL+a+d and so it detaches your screen session.

Now run
Code:
top

420

You should see it running.

Open up another Terminal window and do this for the second 8c instance.

Now for the 4c instance you'll do the following below.

SSH into the 4c box and just like before
Code:
nano install

Now paste this in below, it's different from above.
Code:
#!/bin/bash

mkdir /fah

chmod 777 /fah

cd /fah

curl -O http://www.stanford.edu/group/pandegroup/folding/release/FAH6.34-Linux64-SMP.exe

mv FAH6.34-Linux64-SMP.exe fah6

chmod +x fah6

Should look like this

420

Now hit Ctrl+X, enter Y and hit enter to save it.

Now enter
Code:
chmod +x install
Code:
./install
Code:
cd /fah


420

Now
Code:
screen ./fah6 -smp 4

420

And just like before, enter your information and it should start going.
Hit CTRL+a+d and so it detaches your screen session.
Edited by mbudden - 1/24/12 at 8:16pm
post #2 of 28
Thread Starter 
HFM Setup

SSH into the machine using the IP that you got from HP.

388

Now type in
Code:
apt-get update

420

Now enter this below and hit Y.
Code:
apt-get install apache2

420

After that is done you will need to edit a file, do so by using this command.
Code:
nano /etc/apache2/sites-available/default

You will need to change the following.

1) Change DocumentRoot to /fah
2) Change Directory to />
3) Change allow from to your IP, not HP's. You can use a service like IPChicken for that.

Here is the spaces below.

420

After you're done. Hit CTRL+X, hit Y and then enter to save.

Now you will enter.
Code:
service apache2 restart

And now you can add the client to HFM. When adding a client, click the "Web Server" radio button. (The URL is just the HP Public URL. So HTTP://123.123.123.123. No need for username or passkey.)

Now repeat for the other 2 clients.
post #3 of 28
Thanks for the guide. I am an absolute noob when it comes to using a Terminal but I think I have everything up and running now. Now I just have to find a way to monitor everything with HFM.
If I close the terminals will the process still run?
post #4 of 28
Thread Starter 
Quote:
Originally Posted by Extreme Newbie View Post

Thanks for the guide. I am an absolute noob when it comes to using a Terminal but I think I have everything up and running now. Now I just have to find a way to monitor everything with HFM.
If I close the terminals will the process still run?

Yes and no. You have you make sure you detatched the screen session before closing the terminal window. Ctrl+a+d and it will give you a message on screen about it being detatched.

As for HFM, check the other thread. They got HFM up and running. HFM really didn't matter to me.

Sent from my HTC Ace using Tapatalk.
Edited by mbudden - 1/25/12 at 5:48am
post #5 of 28
Thread Starter 
I added the HFM guide to the second post. wink.gif
Thanks to Hoth and Jedi for their help.

I should also mention, the HFM guide is just for the guide above.
You can tweak it if you did something different.
Edited by mbudden - 1/25/12 at 6:42am
post #6 of 28
Quote:
Originally Posted by mbudden View Post

Yes and no. You have you make sure you detatched the screen session before closing the terminal window. Ctrl+a+d and it will give you a message on screen about it being detatched.
As for HFM, check the other thread. They got HFM up and running. HFM really didn't matter to me.
Sent from my HTC Ace using Tapatalk.

How do I type "ctrl+a+d" in the terminal while F@H is running?
    
CPUGraphicsRAMHard Drive
i5-2410M @ 2.9ghz Nvidia GT 540M 1GB DDR3 4GB DDR3 1333mhz 500GB 5400rpm 
OSMonitorPowerCase
Win 7 Home 64 1366x768 gloss 90w power brick Acer 
  hide details  
    
CPUGraphicsRAMHard Drive
i5-2410M @ 2.9ghz Nvidia GT 540M 1GB DDR3 4GB DDR3 1333mhz 500GB 5400rpm 
OSMonitorPowerCase
Win 7 Home 64 1366x768 gloss 90w power brick Acer 
  hide details  
post #7 of 28
Thread Starter 
Quote:
Originally Posted by robwadeson View Post

How do I type "ctrl+a+d" in the terminal while F@H is running?

Why would you type it out...?

375
post #8 of 28
I mean push redface.gif
    
CPUGraphicsRAMHard Drive
i5-2410M @ 2.9ghz Nvidia GT 540M 1GB DDR3 4GB DDR3 1333mhz 500GB 5400rpm 
OSMonitorPowerCase
Win 7 Home 64 1366x768 gloss 90w power brick Acer 
  hide details  
    
CPUGraphicsRAMHard Drive
i5-2410M @ 2.9ghz Nvidia GT 540M 1GB DDR3 4GB DDR3 1333mhz 500GB 5400rpm 
OSMonitorPowerCase
Win 7 Home 64 1366x768 gloss 90w power brick Acer 
  hide details  
post #9 of 28
Thread Starter 
Just like I said, hit CTRL + A + D. Not all at the same time. Hold CTRL then hit A and then D. Screen should say "Detached" etc like this.

454
post #10 of 28
Thread Starter 
What do people think about changing up the guide to not add the corehack and -bigadv? It seems that people are getting bigadv WU's that won't be able to be completed in time.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Overclock.net Folding@Home Team
This thread is locked  
Overclock.net › Forums › Overclockers Care › Overclock.net Folding@Home Team › Quick and Dirty HPCS F@H Setup Guide