stupid simple SMP upgrade to SERVER ubuntu install

Soldato
Joined
31 May 2006
Posts
7,564
Location
West London
Finstall didn't work or manual install - no idea how to upload 2 wu in que either as connect is being very anoying.

Keep it in words of one sysible or less or it's back to nuking the vmware and starting again (only way i've upgraded successfully so far :o )
 
God knows. I installed a very basic GUI to boot into for things like this.

Mr Berserker or Mr SirusB (where is he?) would be the best bet.
 
I did manual install. After installing Ubuntu server (make sure it's the x64 one, obviously, and don't bother with any of the options it offers you at the end).

Then, login, run 'apt-get update', then 'apt-get install ia32-libs', install the beta2 folding client and configure it as normal, edit /etc/rc.local and add commands to run the client at startup. Start the client (or reboot). Done. For a second client, repeat the install in a second directory, configure (with a different machine ID), and add the commands to start that to /etc/rc.local too. Also done. :)

Just done one of these in the last few days. the whole lot runs in a 1.9 GB VMWare disk image.

Note - you won't get any fancy monitoring doing it this way. I personally don't bother - just check the clients once a week to make sure they haven't died. You can keep an eye on CPU usage on the host too - if that drops, you know it's gone wrong. :)
 
Your wish is my command.

Code:
apt-get update
apt-get install ia32-libs
mkdir directory-to-put-folding-client
cd directory-to-put-folding-client
wget http://www.stanford.edu/group/pandegroup/folding/release/FAH6.00beta2-Linux.tgz
mkdir 01
cd 01
tar xzf ../FAH6.00beta2-Linux.tgz
./fah6 -configonly
Now configure your client. Don't forget to set big workunits and advmethods if you want them.

For a dual-client configuration, continue here, otherwise skip to the next bit.

Code:
mkdir ../02
cd ../02
tar xzf ../FAH6.00beta2-Linux.tgz
./fah6 -configonly
Configure this client too. Don't forget to set the Machine ID to 2.

Now, in either case, edit the file /etc/rc.local using your editor of choice (nano?)

For single client, add this before the last line (exit 0):

Code:
cd full-path-to-directory-to-put-folding-client/01
nohup nice -19 ./fah6 -local -smp -forceasm -verbosity 9 &

And for a two-client setup, do the same except the code you insert needs to be:

Code:
cd full-path-to-directory-to-put-folding-client/01
nohup nice -19 ./fah6 -local -smp -forceasm -verbosity 9 &

cd full-path-to-directory-to-put-folding-client/02
nohup nice -19 ./fah6 -local -smp -forceasm -verbosity 9 &
Reboot to check it all works. :)
 
link worked but install didn't :(

Edit: ignore that - ./fah6 now starts client :)
All looks so different now... no more viewing Fahlog or Fahinfo as its all visable in the windows - But where my command promt?
and how do i shut down if needed now?

Doh! no not right is running a standard wu - 2453 on one core :(
 
Did you follow my post all the way through? It does all the fah6 stuff, makes it do SMP WUs, sorts the command prompt out, etc.
 
did all bar second to last as don't know full path from C:

- I've now no way to turn off standard wu :(

Edit: starting again with fresh VMware vertual drive (2GB) to save some raptor space
 
Last edited:
From C:? This is Ubuntu you're talking about. :p

Anyway, if you installed it under root's login directory, it'll be /root/whatever. Anywhere else, just run 'pwd' and it'll tell you. :)

There is a way to kill WUs in progress but better to let them run out IMO.
 
Ok all up and running - 97% 775MB and no command line promt?
what does appending output to 'nohup.out' mean/do?

I thought the server version was striped down - without a promt it's nothing!
 
found the command line - part of your script didn't work (not that I care now it's working)
and my old - :cat ~/foldingathome/01/unitinfo.txt - still works a treat, as does the up/down arrows to repeat prevous commands :)

just under 11min's a frame - 2605
 
The nohup bit was the thing to edit into /etc/rc.local to make it a service.

Just so you can see what it should look like, here's the contents of an /etc/rc.local file I made earlier:

Code:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

cd /root/foldingathome/01
nohup nice -19 ./fah6 -local -smp -forceasm -verbosity 9 &

cd /root/foldingathome/02
nohup nice -19 ./fah6 -local -smp -forceasm -verbosity 9 &

exit 0

PS - the ./folding thing was part of someone else's script (not sure which one - probably from the SMP guide).

Note re stopping the client. Is a pain if you're not sure what you're doing. Quickest way is to run:

chmod -x /etc/rc.local

and reboot. To restart the service, run:

chmod +x /etc/rc.local

and reboot.
 
nothing works - will try finstall again, the give up :(
WinSMP also dead :(

Edit: followed SB's manuel install guide (page 6) but changed web address - now up and running but still no commandline.
makes me want to reuse the pritty versions again - as every server install is completely different...
 
Last edited:
Any.
I'll I have now is a window with a rolling (but not scrolling) fahlog.
identical to a winsmp window - but closeding the window just runs VMware invisably.
I can type commands, but none work (and no error messages)

it's like in inside a txt file with no way out - I'd send you a screen shot but the connect is down again (mumble mumble)
 
Back
Top Bottom