|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Operating Systems > Linux, Unix | |
How To: Folding on Linux
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) | |||||||||||||||||||||||||||||
|
Linux Lobbyist
|
Before I dive into my tutorial and tell you how to setup your machine for running the Folding @ Home process I’ll take just a minute and introduce those of you unaware to what the project is.
The project is a distributed computing effort put together by Stanford University to help research protein folding and, based on that research, help in medical research for conditions such as: Alzheimer’s Disease, Huntington’s Disease, Osteogenesis Imperfecta, Parkinson’s Disease, etc. Basically, you can use your machines idle processes to help in medical research. Not a bad way to put your computer to good use! Now to the good stuff. How do I set this up? Well there is a simple way that allows you to simply run the research application when you remember. It’ll save it’s data to your home folder (clutter things up just a bit) and stop when you stop it. This is the way I ran the program for quite a while but I found it to be a little bothersome to have to manually deal with it all the time. There were a few fixes that I found to help move it behind the scenes, but recently I really started looking into a long-term solution, which is the basis for this tutorial. Overview:
First on the list is to create a dedicated user to run this process. This is done for a few reasons. For one, some people have concerns that the Folding @ Home process may not be completely secure. While there have been no reported security vulnerabilities in its history, it is a valid concern and one that is addressed here. The Folding @ Home process runs ‘work units’ on your machine and reports back to the main servers at Stanford. One of the best ways to ensure security during this communication is to create a limited system user to handle the work. Even if the service was somehow compromised the affected user would have no access to anything, therefore effectively stopping the threat. The syntax of this, if you’re not familiar tells the new system user, folding, to use /var/folding as its home folder as opposed to the standard /home/ area. Second (unless I can figure out the right syntax for the above command), you’ll need to manually create the folder. After the folder is created you will also want to make sure that it is owned strictly by the new user. Now that you have the user set up, the home folder created and ownerships set properly you will want to download the ‘finstall’ script. This is a third party script that helps automate the whole process. In my testing it has been really solid and can be used on Linux, WINE, BSD or OS X based machines (w00t!). UPDATE 4/2/08: If you are using a 64-bit version of Ubuntu, you need to download and install the ia32-libs. Quote:
With this next command we’ll pull down an installer script that will set everything up for us. You’ll want to be in your newly created /var/folding at this point (cd /var/folding/) Once this download has finished you’ll need to add the execute permission on the file. This is done simply with:
Ok, now we’re about half way there. Now we’re ready to run finstall but remembering that we want it installed, owned and run by our new user we’ll want to install it as them first. We’ll need to temporarily switch to that user now. Quote:
Now, as I mentioned, this installer is very comprehensive and will ask you quite a bit to get things setup initially. It will download the actual Folding @ Home program, allow you to verify the checksum (it’s always nice to verify that we’re installing what we think we’re installing!), and also add a FAQ where you can find out more information. The questions that it might ask you are as follows, and appended with my suggested answers. (Depending on your system you may not see all / each question listed here.)
Quote:
It will also ask you for a (optional) team to join. Might I suggest you join the Overclock.net Folding @ Home Team? Show your Overclock.net pride and save the world with the rest of the Overclock.net crew. To join the Overclock.net Folding @ Home Team use the number 37726. After the questions about the name and team it prompts for a few more options. The defaults are safely used here. Ok, once this installer finishes asking you how to set things up you’re *almost* there! Just a few more quick commands and we’re ready to set-and-forget. You can now type ‘exit’ and ‘exit’ to leave the prompt you are in as the new folding user. The only thing left to do is create the startup script and make sure it runs as the new user. Quote:
To go ahead and start the service type:
Quote:
Quote:
Removal Instructions: To remove this after it has been installed can be done in just a few commands:
Quote:
__________________
Eric Turner // 3.737GHz Q6600 / 15116 3DMarks // GPU-Z Validation // Ubuntu Power User Linux posts you may find useful:
Last edited by talntid : 04-02-08 at 06:50 AM. |
|||||||||||||||||||||||||||||
|
|
|
|
#2 (permalink) | |||||||||||||
|
Linux Lobbyist
|
UPDATE 4/2/08:
If you are using a 64-bit version of Ubuntu, you need to download and install the ia32-libs. Quote:
__________________
Eric Turner // 3.737GHz Q6600 / 15116 3DMarks // GPU-Z Validation // Ubuntu Power User Linux posts you may find useful:
|
|||||||||||||
|
|
|
|
#3 (permalink) | |||||||||||||
|
Intel Overclocker
|
Very good guide mate! Thank you!!
__________________
ThermalTake Armor Thread NOKIA N95 Thread 3DMARK06 16486 @ 3.6 Ghz/ 16854 @3.9 Ghz @ XPx64
|
|||||||||||||
|
|
|
|
|
#4 (permalink) | |||||||||||||
|
5.7L
|
Wow, that is so much more complicated than i have ever done, haha. I've always done the same simple routine, about 5 or 6 steps, in Fedora and Arch. Good guide though.
__________________
No longer has a Lude... now has an LS1 Z28! (currently ~350rwhp) - THE CHEVY Owners CLUB!!!
Overclock.net PS3 Theme Download ![]()
|
|||||||||||||
|
|
|
|
#5 (permalink) | ||||||||||||
|
Linux Lobbyist
|
My way is only like 5 or 6 steps, but I illustrate what those steps do, and why.
![]() Half of my steps are to ensure that FAH can't hurt anything on the rig... if there is a bug or something...
__________________
Eric Turner // 3.737GHz Q6600 / 15116 3DMarks // GPU-Z Validation // Ubuntu Power User Linux posts you may find useful:
|
||||||||||||
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|