SMP Guide

Reinstalled Ubuntu and followed your excellent instructions and.......

Linux SMP is running!!


Now for Fahmon.:)

Thank you.:)

Less than an hour from install to run, a prize?
 
Never timed it but I know I can do it in less time than that!

Never had a problem either. Which goes to show that anyone who does have a problem [ahem, shadow] is clearly not concentrating! :p
 
I must confess that I'm not getting very far with Ubuntu and setting up the SMP client.

The first line I'm supposed to enter into the terminal window (sudo cp -p /etc/apt/sources.lst /etc/apt/sources.list_backup) gives a no such file error.

Sorry, I'm a bit of a newbie when it comes to Linux. Do I need to login in as root? If so, how do you do that. It won't let me login as system administrator from the login screen. :confused:

ms9cw
 
ms9cw said:
Sorry, I'm a bit of a newbie when it comes to Linux. Do I need to login in as root? If so, how do you do that. It won't let me login as system administrator from the login screen. :confused:
Nope, sudo covers that. You log in as a user then when you want to perform an action as the Super User you use the command for Super User DO, sudo. Get it? :)
Some other distros let you log in as root but Ubuntu has it disabled by default for security purposes. Mac OS X does the same thing.

As for that file being missing it looks like a type. There is no /etc/apt/sources.lst. It meant to put /etc/apt/sources.list.

All this step is doing is copying, using the cp command, the current sources list to a new file of a different name so that if something gets broken you can just change the name back and all will be as it was. :)
 
I skipped that part.

With the latest versions of Ubunto you can use the method further down SiriusB's guide, I think its navigate to: system, administration, software sources.

[font=Nimbus Roman No9 L, serif]Feisty Fawn[/font]

In the newest version of Ubuntu the developers have made enabling the repositories much simpler. Navigate to System > Administration > Software Sources. You will be asked for your account password at this point, so enter it and press Enter.

Under the Ubuntu Software tab, put a tick in the 4 check boxes. Click close. You may be told the information about the sources is out of date, simply click the “Reload” button. There you have it, all of the repositories have been enabled!




If you are using Ubuntu within VMWare you can now skip ahead to PART 2: SMP Client Installation.

That worked for me anyway, and less typing.
 
Last edited:
Sorry about that typo! You are the first to pick up on it. Have added it to my to do list and will sort it when I get chance.

I have the rest of the guide marked up I just haven't got around to uploading it and tweaking. I have been busy with a few other things.

I think I might rearrange the guide to show the Feisty Fawn stuff first as it is more likely for people to have the latest version now.
 
I think, fingers crossed, I've finally got a SMP client going on my virtual Ubuntu machine on my C2D laptop.

Thanks again for the help! :)

ms9cw
 
SiriusB said:
Get FahMon on it now so you can monitor it.

Already done! :) One final question: What's the best way of shutting down/pausing a Linux virtual machine so that the process in the WU is not lost when I turn off the PC?

ms9cw
 
Assuming you used finstall to install the client you can open a terminal and change to the foldingathome folder:

Code:
cd ~/foldingathome

Then use the provided start/stop script

Code:
./folding stop

This will stop the client safely. To restart the client go back to the foldingathome folder and enter

Code:
./folding start

Alternatively [and this is probably the better solution] shutdown Ubuntu within the Virtual Machine. When it is done you can turn the VM off. This method would obviously take a bit more time but is probably safer.
 
I've setup a spare HD with Native Ubuntu on it and am a bit disappointed it is only a couple of seconds quicker then running in VMWare. VMWare must be an awesome program.

Tomorrow (actually later today) I shall be seeking advice to add a second SMP client to my VMWare install.

Can I write this directory to CD and move it to the VMWare install to save wasting the WU?
 
You can certainly try!

If you used the finstall script to install folding at home do the following from the Terminal:

Code:
cd ~/foldingathome
mkdir CPU2
cd CPU1
cp fah5 mpiexec FaH ~/foldingathome/CPU2
cd ../CPU2
gedit FaH

In the document that opens change any instance of the word "CPU1" to "CPU2" [should only be two]. Save and close the document.

Code:
./fah5 -configonly

You will now be asked to enter your username, team number etc. The last question will be Machine ID [in Advanced Settings] make sure you choose 2. Once done you will be back to the prompt.

Code:
cd ..
./folding stop

Give the client a moment to stop [it will tell you when it has and take you back to the prompt]

Code:
./uninstallService
./installService
./folding start

Both clients should now be running and should start when Ubuntu boots. Check with FahMon if both are running :)
 
Ok I followed D's shared folder script - took me three goes to get the username (don't laugh no one said it was my login id so I tryed my folding 'username' :rolleyes: ) - any way on third try I didn't get an error (so I'm guessing it worked) but where's IS the folder?

s C:\Virtual Machines\Ubuntu 7.04 is as far as I can go :o

Yes it's offical: I am the the worlds worst Linux user :rolleyes: :D
 
look in "My Network Places" and refresh it - see if anything appears

edit: If that doesn't work then chuck the name of the Ubuntu machine in the address bar of a windows explorer window

eg: \\DAD

that's my dad's computer which is funnily enough called DAD (not his login name btw)
 
Last edited:
How do you create a Linux desktop shortcut for FahMon? I've tried but when I run it I get error messages saying that it can't find the image files it uses.

ms9cw
 
Back
Top Bottom