Once you are at the compute tab choose the following options:
size: standard.2xlarge
Install Image: Ubuntu Maverick 10.10
instances : 2

then hit create
do it once more but this time
size: standard.xlarge
Install Image: Ubuntu Maverick 10.10
instances : 1

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

Paste this in below.
Should look like this

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

Now

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

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
Now paste this in below, it's different from above.
Should look like this

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

Now

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
size: standard.2xlarge
Install Image: Ubuntu Maverick 10.10
instances : 2

then hit create
do it once more but this time
size: standard.xlarge
Install Image: Ubuntu Maverick 10.10
instances : 1

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

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

Now hit Ctrl+X, enter Y and hit enter to save it.
Now enter
Code:
chmod +x install
Code:
./install
Code:
cd /fah

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

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

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

Now hit Ctrl+X, enter Y and hit enter to save it.
Now enter
Code:
chmod +x install
Code:
./install
Code:
cd /fah

Now
Code:
screen ./fah6 -smp 4

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






















