PDA

View Full Version : Howto setup Folding@Home


Pages : 1 [2]

moz_21
March 26th, 2007, 01:23 PM
That P4 you have is a hot runner anyhow. Keep the fan clean and you'll be just fine. It should throttle or shut down if it ever gets waaayy to hot but that would probably only happen if the fan dies.

jpkotta
March 26th, 2007, 01:47 PM
mahiyar, all of your questions are answered on our wiki: https://help.ubuntu.com/community/FoldingAtHome.

The HT question has it's own section. Yes, you can run two clients and get your CPU meter to 100%, but since you're already worried about thermal issues, it's probably not a good idea. There is a program that limits the CPU usage of a given program if you're still worried about temperature (link in the wiki).

dirtaholman
March 29th, 2007, 04:32 AM
Hello everyone,

Great info on setting up the folding client. However, i have 2 issues. I have a machine running windows vista and one running Kubuntu edgy behind an ipcop firewall. The first problem i'm having is that in Kubuntu, i've had the client running for about 2 days now and still no unitinfo.txt file. sudo updatedb and locate turn up nothing. I've verified the client is properly running with top and ksysguard. The other issue i'm having is that my windows machine is failing to send work units back, i get "could not connect work server (results)". I've port-forwarded port 8080, and made sure the windows firewall wasn't interfereing, but still get the same error. Any ideas anyone? I'd really like to donate!

Thanks in advance!

EDIT: I finally have a unitinfo.txt file, and i found that IE7 was the problem. I have no idea what took so long, but I'm happily crunching and hopefully sending units in now.

rowanparker
April 3rd, 2007, 02:03 PM
Script works grand on Debian :)

jpkotta
April 3rd, 2007, 04:29 PM
Script works grand on Debian :)

Excellent! I didn't waste my time reading the Debian docs (they were interesting anyway).

muguwmp67
April 6th, 2007, 02:11 PM
I've been running fah for a couple of months now, and it is working.

I'm not sure I have it configured correctly though for my AMD 64 X2 processor. When Fah is running, it never reaches more than 50% utilization, which is fine. However, my understanding is that it should scale down as more processor is needed. I never see fah go below 45% utilization, even when another process is dragging the system to its knees.

Is this normal behavior for fah? Its running with nice set at 19.

jpkotta
April 6th, 2007, 04:16 PM
muguwmp67:

It sounds like you're only running one core. You may want to try the SMP client or if you used fah_install from the first post in this thread, then you should set it to run 2 clients. You want to run one UP client per processor, or one SMP client for all processors.

I have decided to build a machine as soon as Intel chips drop in price, which should be around April 22. Then I will be able to test my scripts with SMP clients and add an option for installing them. Right now, you can probably just change the name of the executable in install.sh. Has anyone tried this?

moz_21
April 6th, 2007, 04:45 PM
I've been running fah for a couple of months now, and it is working.

I'm not sure I have it configured correctly though for my AMD 64 X2 processor. When Fah is running, it never reaches more than 50% utilization, which is fine. However, my understanding is that it should scale down as more processor is needed. I never see fah go below 45% utilization, even when another process is dragging the system to its knees.

Is this normal behavior for fah? Its running with nice set at 19.

It is. You've set it up to use one core. Anything that isn't multi-threaded will show as 50% usage when it's going full bore. Since the majority of applications are still single-threaded you are able to run FAH at maximum usage on one core and just the OS and apps on the other.


It sounds like you're only running one core. You may want to try the SMP client or if you used fah_install from the first post in this thread, then you should set it to run 2 clients. You want to run one UP client per processor, or one SMP client for all processors.

That sounds exactly right. If you were running a single core (or if you run a multi-threaded application) it would scale back. FAH is very unobtrusive on every computer I've had it on. The big thing is ram. If you are running big-packets or the beta SMP client I recommend 1GB of ram (unless it's a dedicated folder; you can get away with half of that if you don't need to load a GUI).


I have decided to build a machine as soon as Intel chips drop in price, which should be around April 22. Then I will be able to test my scripts with SMP clients and add an option for installing them. Right now, you can probably just change the name of the executable in install.sh. Has anyone tried this?

I was thinking the same thing about the script but I don't have an x86-64 capable dually running Linux. If/when the 32bit linux SMP client comes out, I'll give it a try but until then I can't say I'm much help.

muguwmp67
April 6th, 2007, 05:34 PM
Thanks for the explanation. I haven't noticed any performance problems while running fah, but was curious as to why it didn't look like it was giving away cycles to other apps. This also explains why the super_pi script comes up with roughly the same result whether fah is running or not.

chewearn
April 15th, 2007, 03:35 AM
hi everyone
I started running F@H a few weeks ago; installed it using the fah_install script. Everything was running smoothly (after a few minor tweaks). Recently I started having problem uploading a couple of WUs, but found out it was server problem at Stanford side; so that should be resolved once the data server is fixed.

Anyway, on to the reason I am posting here. While investigating the problem above, I found out that I was running FAH502-Linux.exe. I recalled during the installation process this application was automatically downloaded by the fah_install script. However, I also noticed the latest version at F@H website is FAH504-Linux.exe.

Questions:
1. Is it ok to continue running version 502?
2. How do I go about updating to version 504?
3. If I update, will my existing completed WU be retained (or should I wait until successful upload before updating to version 504)?

Thanks for all help/feedback. :D

ruudiculus
April 15th, 2007, 04:01 AM
Maybe the best thing you can do if you want to update is to copy the whole 5.02 folder and replace the 5.02 executable with a 5.04 executable. This way you can easily test if 5.04 continues working with your 5.02 WU's. If not (and your WU's are destroyed or something) )you still have the GOOD directory with a 5.02 executable and the original WU's. My quess is that 5.04 will continue working on the WU's fine, but this is a way to try.

chewearn
April 15th, 2007, 04:26 AM
Maybe the best thing you can do if you want to update is to copy the whole 5.02 folder and replace the 5.02 executable with a 5.04 executable. This way you can easily test if 5.04 continues working with your 5.02 WU's. If not (and your WU's are destroyed or something) )you still have the GOOD directory with a 5.02 executable and the original WU's. My quess is that 5.04 will continue working on the WU's fine, but this is a way to try.

Hey, thanks. Sound like a good workaround. I followed it, and it looks like the my finished WUs are still ok.

The only minor issue I noticed is that executable filename is coded inside the fah_install script, and i don't know enough about the script to be able to change it to "FAH504-Linux.exe". Instead I have renamed the filename "FAH504-Linux.exe" to "FAH502-Linux.exe".

ruudiculus
April 15th, 2007, 04:54 AM
Haha, great workaround as well :D

If you want some sort of monitoring applet for your folding process, there's one on my website.

chewearn
April 15th, 2007, 05:18 AM
Haha, great workaround as well :D

If you want some sort of monitoring applet for your folding process, there's one on my website.
I recently have a conversation with you in the applet thread; reported a problem getting the applet added to the gnome panel. :D Haven't got around to investigation more about it. Instead, I have worked out another way to monitor using conky.

l1oyd
June 8th, 2007, 11:39 PM
I think it should be set up but I don't think it is running

when I enter "start" in /opt/foldingathome/ I get error msg

start: missing job name
Try `start --help' for more information.


So how do I get a "job name"

Also I'm running the script from the wiki (https://wiki.ubuntu.com/FoldingAtHomeTeamUbuntu) after uninstalling the script in this thread

chewearn
June 9th, 2007, 12:37 AM
I think it should be set up but I don't think it is running

when I enter "start" in /opt/foldingathome/ I get error msg

So how do I get a "job name"

Also I'm running the script from the wiki (https://wiki.ubuntu.com/FoldingAtHomeTeamUbuntu) after uninstalling the script in this thread


Use this command to start:
sudo /etc/init.d/foldingathome start

Heinrisch
June 9th, 2007, 06:44 PM
Logfile in /opt/foldingathome/1:
[22:30:53] Project: 3040 (Run 38, Clone 639, Gen 14)
[22:30:53]
[22:30:53] Assembly optimizations on if available.
[22:30:53] Entering M.D.
[22:30:59] Protein: p3040_supervillin-03
[22:30:59]
[22:30:59] Writing local files
[22:30:59] Extra SSE boost OK.
[22:30:59] Writing local files
[22:30:59] Completed 0 out of 5000000 steps (0%)


It looks like the client has stopped right there, at step 0. If I check status it says that the client is running. Has it stopped or just that it does not update until it has completed the current task?

chewearn
June 10th, 2007, 01:55 AM
Logfile in /opt/foldingathome/1:
[22:30:53] Project: 3040 (Run 38, Clone 639, Gen 14)
[22:30:53]
[22:30:53] Assembly optimizations on if available.
[22:30:53] Entering M.D.
[22:30:59] Protein: p3040_supervillin-03
[22:30:59]
[22:30:59] Writing local files
[22:30:59] Extra SSE boost OK.
[22:30:59] Writing local files
[22:30:59] Completed 0 out of 5000000 steps (0%)
It looks like the client has stopped right there, at step 0. If I check status it says that the client is running. Has it stopped or just that it does not update until it has completed the current task?

That's normal. By default, every 15 minutes, it will save the computation to disk, and you should see a new message.

Spartan.II.117
June 12th, 2007, 12:18 AM
i used the fah_install script and it worked great, then i had to re-install Ubuntu and so i used it again and copied my old directory but now it runs and works for a while i come back and it's no longer running. anyone else having similar issues?
P.S i'm running fiesty

jpkotta
June 12th, 2007, 10:08 AM
I've had trouble in the past using restored backups. It's not guaranteed to work. The fact that it runs for a while suggests you did everything correctly, and the client is having trouble in spite of it.

Spartan.II.117
June 13th, 2007, 12:03 AM
do you have any suggestions on how to fix it? uninstall/reinstall, remove work folder etc?

jpkotta
June 13th, 2007, 10:08 AM
Maybe I'm forgetting something. Can you say whether or not this command returns anything?
grep foldingathome /etc/passwd
If it doesn't return anything, then it isn't installed completely, and you should keep your backup, uninstall, reinstall, then replace the installation with the backup (the installer does more than simply copy files).

Spartan.II.117
June 17th, 2007, 01:53 AM
foldingathome:x:1001:1001::/opt/foldingathome:/bin/false

Like i said, it runs for awhile (15 min?) then quits. possibly when trying to write to the log.
(just realised that it's possibly related to a problem i've been having with gedit... investigating now... will post my findings within the half-Hr)

Spartan.II.117
June 17th, 2007, 02:52 AM
well it's been nearly an HR and still nothing (it's still working) but it hasnt moved a percent yet, so i assume it's running properly.

Spartan.II.117
June 17th, 2007, 05:53 PM
nope, it quit later, i ran it from the terminal today and it's gotten through about 6-7 percent, so once it finishes i'm going to un/re-install

jpkotta
June 18th, 2007, 01:15 AM
I was thinking that maybe it didn't have the special f@h user created, but it does. Your plan is what I would do.

Spartan.II.117
June 18th, 2007, 03:23 AM
yep, it finished so i re-installed and i caught it at the right time because the work server was down. so it now works fine!

pjc330
July 1st, 2007, 10:33 AM
Hi, Sorry if this is the worng place, I can't find an answer on the Forum.

How do I move a WU at 23% from one computer to another. An old P450 box is working on a big WU and and has crashed a few times. I want to put it on a faster cumputer so it will finish before the deadline.

I copied the Folding folder and all it sub folder to the faster box but it does not restart the old WU from the saved piont. It fails the run any WUs. With new FAH504 download and install it retrieves a new WU.

I must be missing a setting in the -config after changing computers.

I a new to Ubuntu and Folding@Home.

Thanks

jpkotta
July 1st, 2007, 03:49 PM
Hi, Sorry if this is the worng place, I can't find an answer on the Forum.

How do I move a WU at 23% from one computer to another. An old P450 box is working on a big WU and and has crashed a few times. I want to put it on a faster cumputer so it will finish before the deadline.

I copied the Folding folder and all it sub folder to the faster box but it does not restart the old WU from the saved piont. It fails the run any WUs. With new FAH504 download and install it retrieves a new WU.

I must be missing a setting in the -config after changing computers.

I a new to Ubuntu and Folding@Home.


Thanks

Is the slow computer a Windows machine? You need to jump through some hoops to move from Windows to Linux. Look at the Sneakernetting link on the F@H wiki page (see my sig). That will tell you 90% of what you need to do to move WUs from Windows to Linux (the other 10% is installing Wine).

Anything you set with -config is stored in client.cfg, so all settings should be copied.

pjc330
July 2nd, 2007, 11:23 AM
Both the old and new computers are setup with Ubuntu 7.04.

I looked again at the Sneaker netting page. I think I did what the page said about moving WUs between computers with the same OS. I know nothing about a Ubuntu Registry (or if it has one). Do I need to copy some thing else to the new computer to get it to recognize the old WU? I did move the entire FOLDING directory/folder to the new computer.

I want to move the old WU to a different computer and continue folding that WU on the new computer that is network and internet connected.

I just can’t get the faster computer to work the old computers WU. It is folding a different WU as we speak without any problems.

The old computers WU is: p4308_dpdp-ii I think it’s a Beta WU, that may have something to do with the problem.

I will keep trying.

Thanks

jpkotta
July 2nd, 2007, 01:02 PM
There is no Ubuntu registry (thank goodness). You would have used the Wine registry if the slow computer was running Windows.

All I can say is that F@H was not designed to move WUs around, so there is probably some hidden undocumented thing that is causing the move to fail. Maybe check out the semi-official F@H forums http://forum.folding-community.org/. I have moved WUs between Windows and Linux, but it was not easy, and the computers I was using were very similar hardware-wise.

theonlyalterego
July 6th, 2007, 10:34 AM
I'm getting the following errors when I follow the howto:

ub-desktop:~$ sudo /etc/init.d/foldingathome start
/etc/init.d/foldingathome: 23: [[: not found
/etc/init.d/foldingathome: 33: [[: not found
/etc/init.d/foldingathome: 147: [[: not found
/etc/init.d/foldingathome: 147: arith: syntax error: "++num"


Has anyone seen anything like this before?

jpkotta
July 6th, 2007, 11:56 AM
Has anyone seen anything like this before?

Ugh. You probably got this from the forum thread. I hate the fact that only one person can edit a post. Wikis are better for this kind of thing. I'll talk to an admin about removing the old version of the script.

Use the latest version from the wiki (link in my sig).

GreenGirl
July 7th, 2007, 09:18 PM
I installed Folding@Home earlier today and have some questions:

-If I close the terminal window, does that close f@h, or will f@h run in the background? Is there a specific command for exiting f@h? (I shut my computer down at night, and I don't want to screw up f@h by exiting the program incorrectly)

-If closing the terminal window does close f@h, is there anyway to prevent this? (should I run f@h in the background? As you can probably guess, I'm a linux newbie.) I'd rather not have to keep a terminal window minimized all the time.

-Why doesn't my username show up on the stat list on the website? (I can't check now because their server is down, but earlier it wasn't listed.) Is it because I haven't finished folding my first protein yet?

-I'd like to join Team Ubuntu. I do this by going into config and setting my team to 45104, right? Can I do this while F@H is already running?

Thanks.

nanotube
July 7th, 2007, 10:23 PM
I installed Folding@Home earlier today and have some questions:

-If I close the terminal window, does that close f@h, or will f@h run in the background? Is there a specific command for exiting f@h? (I shut my computer down at night, and I don't want to screw up f@h by exiting the program incorrectly)


that depends on what command you use to start the fah client...

-If closing the terminal window does close f@h, is there anyway to prevent this? (should I run f@h in the background? As you can probably guess, I'm a linux newbie.) I'd rather not have to keep a terminal window minimized all the time.

if you add ' &' to the start command, that will put it in the background, and you can safely close the terminal. if you want to later kill the process, just find it in the process list (in system monitor), and kill it.

-Why doesn't my username show up on the stat list on the website? (I can't check now because their server is down, but earlier it wasn't listed.) Is it because I haven't finished folding my first protein yet?

yes, your username won't show up until you submit your first completed work unit (and there will be some delay after that, since that list isn't updated real time.


-I'd like to join Team Ubuntu. I do this by going into config and setting my team to 45104, right? Can I do this while F@H is already running?

Thanks.

you have to restart the fah client in order for the changes to take effect.

i think that takes care of all your questions. ;)

GreenGirl
July 7th, 2007, 10:27 PM
Thanks. One more question: when I close the program, it saves the progress it's made so far, right? I'm not going to lose the data because it didn't finish folding the protein?

nanotube
July 8th, 2007, 01:18 AM
Thanks. One more question: when I close the program, it saves the progress it's made so far, right? I'm not going to lose the data because it didn't finish folding the protein?

yes, it saves progress periodically, and fairly frequently. so you won't lose anything to speak of. :)

GreenGirl
July 8th, 2007, 05:59 AM
I tried running it in the background, closing the terminal window, opening a new terminal window and typing "ps", but the only processes listed were bash and ps. So I tried running it regularly, opening a new window (while it was running in the other window) and typing "ps", and it still wasn't listed.:confused: Any idea what I'm doing wrong?

freebeer
July 8th, 2007, 09:15 AM
try:


ps -e


The -e parameter tell ps to show every process. Without it, you only see processes related to your logged-in account. (Folding runs as a root process, I believe.)

glotz
July 8th, 2007, 09:33 AM
Depends how you installed it. I used the script provided with sudo and then it's running on it's on 'foldingathome' account.

GreenGirl
July 8th, 2007, 10:58 AM
ok, it shows up if I use ps -e, but if I close the terminal window it disappears from ps -e, even though I was running it as ./FAH504-Linux.exe&

Swab
July 8th, 2007, 11:09 AM
ok, it shows up if I use ps -e, but if I close the terminal window it disappears from ps -e, even though I was running it as ./FAH504-Linux.exe&

Closing the terminal will stop the process. The wiki has an script to setup FAH as a service which resolves this issue.

GreenGirl
July 8th, 2007, 11:39 AM
ok, thanks. :)

GreenGirl
July 8th, 2007, 12:24 PM
I installed finstall and rebooted my computer. It looks like fah now starts automatically. :) ps -e is saying:

5286 ? 00:00:00 FaH
5301 ? 00:00:00 FaH
5303 ? 00:00:05 FAH504-Linux.ex
5304 ? 00:00:05 FAH504-Linux.ex

Is FaH supposed to have 4 processes?

Only problems I'm having is that qd (which was supposed to install with finstall) doesn't seem to exist, and fpd is saying I'm Anonymous and Team[0], even though I entered my username and the ubuntu team number when I configured FaH.

jpkotta
July 8th, 2007, 01:06 PM
For the curious, you must do more than background a process to detach it from a terminal.
(exec some_command) &
The '()' forks the shell into a new one (one that isn't attached to the terminal), and "exec" replaces the new shell process with the some_command process, which a) means you don't have an extra shell running, and b) starts a bit faster. I have in my ~/.bashrc a "daemon" function that will do this.
# super stealth background launch
# disconnects from launching shell, keeps running until killed
function daemon
{
(exec "$@" >&/dev/null &)
}
daemon some_command

Now, back on topic, F@H has several processes. The FahCore_....exe processes are threads (I think) of the core, which is actually doing the work. There is also the client, which starts and stops cores and uploads results, etc. But it looks like you (GreenGirl) have two clients running, which may or may not be OK, depending on what finstall does. If you have 2 CPUs and you are not running the SMP client, you'll want one client (plus its associated cores) for each CPU.

GreenGirl
July 8th, 2007, 03:04 PM
Ugh, I'm sorry I'm being such a pain about this but does anyone know how to uninstall finstall? I want to be able to see my progress (fpd isn't working now for some reason) and now that I know how to get it running in the background without a terminal window (thanks, jpkotta) I think it would probably be better to just manually run it in the background and move it to the foreground whenever I want to see the progress, rather than have finstall handle everything.

Swab
July 8th, 2007, 03:20 PM
Ugh, I'm sorry I'm being such a pain about this but does anyone know how to uninstall finstall? I want to be able to see my progress (fpd isn't working now for some reason) and now that I know how to get it running in the background without a terminal window (thanks, jpkotta) I think it would probably be better to just manually run it in the background and move it to the foreground whenever I want to see the progress, rather than have finstall handle everything.

There is a text file you can check for progress... unitinfo.txt if I recall correctly. Sorry I'm not folding at the moment!

sam0t
July 8th, 2007, 03:58 PM
5286 ? 00:00:00 FaH
5301 ? 00:00:00 FaH
5303 ? 00:00:05 FAH504-Linux.ex
5304 ? 00:00:05 FAH504-Linux.ex

Is FaH supposed to have 4 processes?


Yes it is, I wondered the very same thing and found the answer at folding@home forums.

SuperAndy
July 17th, 2007, 09:16 AM
After following the howto here (https://help.ubuntu.com/community/FoldingAtHome), specifically this bit:

"For me this was all I needed as it automatically created the init scripts I needed to start after reboot. However the init scripts don't seem to work for everyone, so if you need to do it manually:

1.

Make a file called foldingathome in the /etc/init.d directory:

gksudo gedit /etc/init.d/foldingathome

2.

Paste this in:

#!/bin/sh
# /etc/init.d/foldingathome for Ubuntu
# Start the F@H service.

pushd /home/YOUR_USERNAME_HERE/foldingathome/
su YOUR_USERNAME_HERE -c "screen -d -m ./folding start"
popd

3.

Save and exit
4.

Make a symlink into the /etc/rc2.d directory:

sudo ln -s /etc/init.d/foldingathome /etc/rc2.d/S99fah

Now, when i start, the booting freezes about 4/5th of the way through.

If i stick it in recovery mode, i get to the andy@andy_desktop promt, and then it freezes, and i get a:

SOFT LOCKUP DETECTED ON CPU#0!

The exclamation mark really takes the ****... I am pretty sure it was that init.d stuff. I have tried deleting the /etc/init.d/foldingathome entry, but it makes no difference (i am using a livecd to get in there to edit the stuff).

Anyone got any ideas over this?

jpkotta
July 17th, 2007, 10:13 AM
If you deleted the f@h stuff, it shouldn't affect the system at all. It sounds like a hardware problem. I couldn't tell you much more than that. Maybe try a different kernel?

SuperAndy
July 17th, 2007, 10:14 AM
i have tried the two kernels i have in grub. the thing is, its the only thing i changed to my system, nothing else. there's nothing it could be. i will have another bash though...

sad_iq
July 28th, 2007, 03:25 PM
Ok...here goes...the first time I read this howto...installed it...works great(the install part)...but when I try to run it it prints this: sudo /etc/init.d/foldingathome start
/etc/init.d/foldingathome: 23: [[: not found
/etc/init.d/foldingathome: 33: [[: not found
/etc/init.d/foldingathome: 147: [[: not found
/etc/init.d/foldingathome: 147: arith: syntax error: "++num"

Sorry if it was posted before but I cannot read all the pages in this thread...and searching for it turned out nothing. Sorry for the trouble but I would like to have this running!!!

jpkotta
July 28th, 2007, 05:22 PM
Use the script from the wiki. Link in my sig.

sad_iq
July 28th, 2007, 06:40 PM
Use the script from the wiki. Link in my sig.

Ok...thanks...works now...somebody should update the thread thou!!!

jpkotta
July 29th, 2007, 10:14 PM
Ok...thanks...works now...somebody should update the thread thou!!!

Yes. Yes they should. I've emailed the admins twice. I've tried to contact the original poster. This is why forums suck for information that has any sort of permanence. Wikis are much better for documentation. I must say that the script got much more exposure in the forums, but the howto really should have been something more like "Here's a link to the wiki page, where the real howto is. Post your problems here.". Anyway, if the admins ever get back to me, I'll redo it properly.

otchster
August 1st, 2007, 11:25 PM
I need to know a few things....


First off, I have this set up on an old PC running Ubuntu.. I have it set up with no monitor, so I have tap in remotely.. I have installed and successfully can run F@H...

My question is.. If puTTY (the program I use to connect to the machine) looses its connection, will F@H still run???

Could I actually close puTTy after I starte F@H, that way I don't always have to have a connection terminal running on my other computer ??

If I do get disconnected, will F@H save its current progress for the next time, or does it start over???


Thanks all :-)

nanotube
August 2nd, 2007, 02:58 PM
I need to know a few things....


First off, I have this set up on an old PC running Ubuntu.. I have it set up with no monitor, so I have tap in remotely.. I have installed and successfully can run F@H...

My question is.. If puTTY (the program I use to connect to the machine) looses its connection, will F@H still run???

Could I actually close puTTy after I starte F@H, that way I don't always have to have a connection terminal running on my other computer ??

If I do get disconnected, will F@H save its current progress for the next time, or does it start over???


Thanks all :-)

about your first question: easiest thing is to try it and see. connect, start fah, disconnect, connect again, then see if cpu is still being eaten by the fah process or not. :)

if the fah process is killed by disconnect, you could try starting the process with & at the end, which would put the process in the background... but i'm not sure if that will keep it alive.

a surefire way is to use a neat little program called "screen", which lets you run a bunch of virtual "terminals" in your shell session, and which you can connect and disconnect from between logins, so that should let you run fah even when you're not connected.

you could also run fah at boottime in an init script, which would leave it running without you having to do anything at all. :)

as to progress saving- fah periodically writes its progress to disk, so you don't lose all your work if something crashes. so no worries there.

jpkotta
August 3rd, 2007, 06:02 PM
My question is.. If puTTY (the program I use to connect to the machine) looses its connection, will F@H still run???


If you start it correctly, yes. Use one of the scripts from the wiki (fah_install or finstall); they are written for this purpose. If you are curious, read this post: http://ubuntuforums.org/showpost.php?p=2985303&postcount=295.

screen is good too, but in this case I'd say use the scripts because they will also start it at boot time, which is almost certainly what you want.


If I do get disconnected, will F@H save its current progress for the next time, or does it start over???

It saves every 15 min by default. You can set this during the initial config or by running it with the -config (or -configonly) option.

legatek
August 15th, 2007, 03:41 PM
I would like to report a bug with the latest version of the install script on the Wiki page.

I have been happily folding on my home computer (Edgy) for a couple of days so I decided to also load F@H on my work computer (Feisty). Currently there are two scripts on the Wiki page, one dated 20061219 and the other still in beta dated 20070702. I downloaded and installed the beta script to install F@H. Since I connect through a proxy at work I had to download the client manually and move it into /opt/foldingathome/config. The problem is the beta script will not recognize if a client exists at this location unless it installs the client there itself. The client version doesn't matter, nor does it matter if the client has user or root permissions. It is not recognized. However, the earlier script works fine, so now I have two computers contributing to Team Ubuntu world domination.

In case it matters, I should mention that I first had to create the foldingathome and config directories manually, since the install script didn't do it before trying (unsuccessfully) to connect to the Stanford site.

jpkotta
August 15th, 2007, 09:05 PM
Thanks for the report. Can you download the client by hand and put it in the same directory as the install script? That was the intention for manual downloads. I will update the docs to reflect this when I get a chance.

legatek
August 16th, 2007, 03:23 AM
OK, that works fine. The problem was that the install script directed me to save the client to /opt/foldingathome/config myself. Thanks.

freebeer
August 16th, 2007, 08:13 AM
I used the script from the wiki to set it up on my dual Core machine. The install seems to have gone well, except that the script didn't correctly identify that I have two CPUs. So, as directed, I told the script that I had two. It dutifully installed the two setups, but the second one failed to launch (so I'm only running one instance right now). I manually edited the .cfg file in /opt/foldingathome/2 to change the machineid to 2 thinking that might help (it was set as "1" like the one that's working) but that didn't seem to have the desired effect. Where'd I mess up?

I'm new to the dual-core thing and I thought it was interesting to note how the one instance would flip between cores in htop. One cpu would be reporting 100% usage for a bit, then the second cpu would be at 100% while the other one dropped to near zero. Is this normal "load balancing" that I'm seeing? Just curious.

Spartan.II.117
August 16th, 2007, 04:11 PM
yes, it's load balancing, when you have two cores running F@H it wont happen anymore. as for the install, i had a similar issue when i installed it on a dual processor server i had to run etc/init.d/foldingathome start each time i started the computer.

freebeer
August 16th, 2007, 08:53 PM
Thanks for the confirmation on the load balancing.

Had to start it manually, eh? Bummer. I don't do much in the way of rebooting... I just let 'em run. I guess I'll have to play around a bit more to see how to get that second one configured and running. I like the idea of it just running at start-up (otherwise I'll forget to restart them, or won't be here post-power interuption to get them going again).

Spartan.II.117
August 16th, 2007, 10:10 PM
i never did any research into it myself, it was a server and it ran 24/7, so it was not a big deal/

brandonlw
September 12th, 2007, 09:58 AM
Hey folks, I am new to the whole Ubuntu/Linux world. My brother wants me to learn more about it so I threw it on a spare machine here at work. I wanted to get into the FAH stuff because I have extra machines sitting around, so I figured why not. Sure I could go the easy route and leave Windows on them but I hate not being able to figure something out.

Followed the posted instructions and was simple enough until I got the LOG at the bottom. (NOTE ... I originally joined the Ubuntu team but after trying it 10 different times I stopped entering it in :) )

We are behind a firewall here at work but I know that isnt the problem because we have Windows machines running FAH, unless I am just blind to something obvious. So .. where should I start troubleshooting? I found one related topic on google but it did not help me at all


--- Opening Log file [September 12 13:48:44]


# Linux Console Edition ################################################## #####
################################################## #############################

Folding@Home Client Version 5.02

http://folding.stanford.edu

################################################## #############################
################################################## #############################

Launch directory: /home/administrator/fah_install
Executable: ./FAH502-Linux.exe


[13:48:44] - Ask before connecting: No
[13:48:44] - User name: brandonlw (Team 0)
[13:48:44] - User ID not found locally
[13:48:44] + Requesting User ID from server
[13:48:44] - Couldn't send HTTP request to server
[13:48:44] (Got status 403)
[13:48:44] + Could not connect to Primary Assignment Server for ID
[13:48:44] - Couldn't send HTTP request to server
[13:48:44] (Got status 403)
[13:48:44] + Could not connect to Secondary Assignment Server for ID
[13:48:44]
+ Could not get ID from server. Retrying...

freebeer
September 13th, 2007, 11:14 PM
Have you re-tried recently? Sometimes their servers are down for maintenance. (The 403 error indicates another issue from what I've read about it, but I'm guessing it's just a maintenance thingy.)

glotz
September 13th, 2007, 11:52 PM
In about one month time (http://folding.extremeoverclocking.com/team_overtake.php?s=&t=45104)(?) we will enter top 100 folding@home teams. I want that on ubuntuforums.org frontpage when it happens. It would also be nice on ubuntu.com.

I'm no people person and I cannot make it happen however. Are you and can you? That's the challenge and your time frame is approx. 1 month.

Make it happen!

brandonlw
September 14th, 2007, 09:20 AM
Have you re-tried recently? Sometimes their servers are down for maintenance. (The 403 error indicates another issue from what I've read about it, but I'm guessing it's just a maintenance thingy.)

Yep ... at least 4 or 5 times a day. And it retries 11 times on its own with a minute or so intervals. I have 2 other computers and my laptop (2 XP and 1 98 ) all on the same switch running FAH just fine. So I'm trying to figure out if there is some setting in Ubuntu that would need to be changed (Which wouldn't make sense).

Spartan.II.117
September 15th, 2007, 04:00 AM
brandon, how did you install f@h? if you did'nt already, i would recommend FAH_install from the wiki

Phalse
October 1st, 2007, 10:02 PM
I just noticed that there is a version 6 of the SMP-x64 client. I am having a problem getting this to run. I have tried following the wiki but I still can't get it to go. Could this be because I'm trying to run this from the live CD?

I'm trying to learn how to work with Ubuntu while doing this so this is the first time that I'm jumping into Linux. I figured Ubuntu would be a great start :)

OfficeLinebacker
October 1st, 2007, 11:50 PM
I think you have to pass a new switch to the client, -smp. So for example if the CLIENT OPTS used to be '-forceasm -verbosity 9' they would become '-foceasm -verbosity 9 -smp'

Seemed to work for me after a few go rounds.

ant2ne
October 5th, 2007, 12:32 PM
From WebbrowserFirefox can't find the file at /opt/foldingathome/1/unitinfo.txt.

antsvr@antubuntu:/opt/foldingathome/1$ ls /opt/foldingathome/1
client.cfg FAH502-Linux.exe machinedependent.dat MyFolding.html

Also: I have a windows machine that sits idle most of the time. Where is the how to install on XP that?

glotz
October 5th, 2007, 01:08 PM
I think you have to finnish one unit for the file to appear. Here's how to setup any windoze box http://folding.stanford.edu/

ant2ne
October 5th, 2007, 03:08 PM
I think you have to finnish one unit for the file to appear. Here's how to setup any windoze box http://folding.stanford.edu/So, how do i verify that it is running at all?

glotz
October 5th, 2007, 04:53 PM
:) Thats a good question! Just wait a few days and the file should be there. Maybe someone else knows better.

chewearn
October 6th, 2007, 12:23 PM
Actually, I don't think that is correct. unitinfo.txt should appear as soon as your unit is downloaded and started folding.

For example, here is the unitinfo.txt currently on my system:
Current Work Unit
-----------------
Name: p2566_BBA5_ext
Download time: October 6 15:19:46
Due time: December 27 15:19:46
Progress: 3% [__________]
To check if it is running, look also for the file FAHlog.txt (in the same directory), which is a log of the folding progress and various messages. Also, check your CPU usage; you should have process FahCore_xx.exe (xx depends on the unit being worked on; e.g. FahCore_79.exe) taking up almost 100% CPU.

glotz
October 7th, 2007, 01:23 PM
AstalaVista is that your first unit ever? That's what I meant.

ant2ne
October 7th, 2007, 03:34 PM
Actually, I don't think that is correct. unitinfo.txt should appear as soon as your unit is downloaded and started folding.

For example, here is the unitinfo.txt currently on my system:
Current Work Unit
-----------------
Name: p2566_BBA5_ext
Download time: October 6 15:19:46
Due time: December 27 15:19:46
Progress: 3% [__________]
To check if it is running, look also for the file FAHlog.txt (in the same directory), which is a log of the folding progress and various messages. Also, check your CPU usage; you should have process FahCore_xx.exe (xx depends on the unit being worked on; e.g. FahCore_79.exe) taking up almost 100% CPU.Crap it isn't running then. I wonder what I'm doing (did) wrong!

chewearn
October 7th, 2007, 10:37 PM
AstalaVista is that your first unit ever? That's what I meant.

Alright, that's not my first unit.
But I have set-up F@H in a couple of machines, and unitinfo.txt always appeared as soon as folding started.

chewearn
October 7th, 2007, 10:46 PM
Crap it isn't running then. I wonder what I'm doing (did) wrong!

You didn't say how you set-up your F@H. If you give more info, maybe we can help.

Actually, I now prefer the simplest method; simply put the FAH504-Linux.exe into a subdirectory of home; e.g. ~/FAH/
Then run FAH504-Linux.exe from terminal.

On one machine, I have a dual core; then I simply have two subdirectories, FAH1 and FAH2; and again, run FAH504-Linux.exe directly in each subdirectories.

This method can also be applied to running F@H in Windows. The only downside, you cannot close the terminal window.

jpkotta
October 7th, 2007, 11:35 PM
The only downside, you cannot close the terminal window.

You do not need to keep the term open!
http://ubuntuforums.org/showpost.php?p=2985303&postcount=295
I'm adding this to the wiki.

jpkotta
October 8th, 2007, 02:06 AM
I've updated my fah_install script. Get it in the wiki (https://help.ubuntu.com/community/FoldingAtHome). It adds the 6.00(beta1) client. You should be able to update everything by running the following commands:

sudo /etc/init.d/foldingathome stop
sudo tar zcvf fahbck.tar.gz /opt/foldingathome
sudo ./install.sh install
sudo /etc/init.d/foldingathome start

You will want to make sure you allow the installer to update the /etc/default/foldingathome file, since the 6.00(beta1) client needs an extra option for SMP work units.

ant2ne
October 8th, 2007, 04:19 PM
You didn't say how you set-up your F@H. If you give more info, maybe we can help.I used the install script mentioned on the first page of this thread. sudo ./folding_install.sh install

Spartan.II.117
October 9th, 2007, 05:57 AM
you might want to try the script that jpcotta was talking about , it's very good. (ps thanks for updating it, my install quit about a week ago and i couldn't figure out why for awhile.)

evets
October 9th, 2007, 09:54 AM
I've been folding for 2 years, come next month. I fold on 3 different teams.

So, first of all, thank you for your contributions, and this neato tut on setting up FAH on Ubuntu!

Secondly, I was hoping there would be a team Ubuntu, and now that I know there is, I'll be folding for "Humanity" pretty soon, as well. I am just waiting on some parts to finish rebuilding my wife's winbox, then I can take my old Dapper box back, and load up FAH using your tut.

Thanks again!

jpkotta
October 9th, 2007, 11:43 AM
I used the install script mentioned on the first page of this thread. sudo ./folding_install.sh install

DO NOT USE THAT SCRIPT! Use the one in the wiki (link in my sig). The one on the first post is very old.

ant2ne
October 9th, 2007, 02:58 PM
DO NOT USE THAT SCRIPT! Use the one in the wiki (link in my sig). The one on the first post is very old.Maybe someone should edit the post then. ](*,)


After using the wiki
antsvr@antubuntu:~$ top | grep Fah
8789 antsvr 39 19 21516 12m 1172 R 100 1.4 133:26.62 FahCore_78.exe
8792 antsvr 39 19 21492 12m 1156 R 96 1.4 133:04.77 FahCore_78.exe I'm now on the team! \\:D/

I still got no unitinfo.txt :sad:

Spartan.II.117
October 9th, 2007, 03:44 PM
have you restarted your computer? and what folder are you looking in for unitinfo? and which script did you use?

ant2ne
October 10th, 2007, 06:31 PM
have you restarted your computer? and what folder are you looking in for unitinfo? and which script did you use?
Firefox can't find the file at /opt/foldingathome/1/unitinfo.txt.

I used this script
https://help.ubuntu.com/community/FoldingAtHome?action=AttachFile&do=get&target=fah_install-20071008.tar.gz
From this site
https://help.ubuntu.com/community/FoldingAtHome

markp1989
October 10th, 2007, 06:36 PM
i know this may sound realy stupid, but what is Folding@Home?

jpkotta
October 10th, 2007, 06:45 PM
i know this may sound realy stupid, but what is Folding@Home?

It only sounds stupid because you didn't ask Google first. If you have any questions after reading stuff from the homepage or whereever, we'll be happy to answer them.

mjwood0
October 14th, 2007, 01:49 AM
I tried running the fah_install script to complete the installation, but the script threw an error and exited.

I couldn't find the client executable. If you have it already, please copy it to /opt/foldingathome/config/.
Do you want me to download it for you?

1) yes
2) no
Please pick a number: 1
--01:47:47-- http://folding.stanford.edu/release/FAH6.00beta1-Linux.tgz
=> `FAH6.00beta1-Linux.tgz'
Resolving folding.stanford.edu... 171.67.22.50
Connecting to folding.stanford.edu|171.67.22.50|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
01:47:47 ERROR 404: Not Found.

Downloading Folding@Home failed.


Looks like Stanford might have changed their path structure or something...

Spartan.II.117
October 14th, 2007, 02:20 PM
if you want to edit the script, it looks like it should point here: http://www.stanford.edu/group/pandegroup/folding/release/FAH6.00beta1-Linux.tgz

jpkotta
October 14th, 2007, 05:08 PM
They changed the URL. I updated the script in the wiki.

Spartan.II.117
October 14th, 2007, 06:00 PM
Thanks!

nitteo
October 30th, 2007, 10:40 AM
Is the OP also for Ubuntu? I am trying to get F@H started in my rig.

Spartan.II.117
October 30th, 2007, 03:51 PM
yes, but you want to follow the link to the wiki on the first line, those instructions are up to date.

xhie
November 21st, 2007, 02:33 PM
I get this when I try to run:

To start folding right now, run '/opt/foldingathome/foldingathome start'

lina@iLoveCandy:~/fah_install$ sudo /etc/init.d/foldingathome start
/etc/init.d/foldingathome: 23: [[: not found
/etc/init.d/foldingathome: 33: [[: not found
/etc/init.d/foldingathome: 147: [[: not found
/etc/init.d/foldingathome: 147: arith: syntax error: "++num"

The install went just fine, I tried twice with the same resault each time.

jpkotta
November 21st, 2007, 04:30 PM
I get this when I try to run:

To start folding right now, run '/opt/foldingathome/foldingathome start'

lina@iLoveCandy:~/fah_install$ sudo /etc/init.d/foldingathome start
/etc/init.d/foldingathome: 23: [[: not found
/etc/init.d/foldingathome: 33: [[: not found
/etc/init.d/foldingathome: 147: [[: not found
/etc/init.d/foldingathome: 147: arith: syntax error: "++num"

The install went just fine, I tried twice with the same resault each time.

Read the first line of the first post of this thread:
"This first post is outdated, please see: https://help.ubuntu.com/community/FoldingAtHome"

I PMed an admin to remove the attachment.

jpkotta
November 24th, 2007, 10:35 PM
The first post of the thread is out of date, and ndhskp is not around AFAIK. So I more or less copied it to https://help.ubuntu.com/community/FoldingAtHome/Install. Feel free to improve it.

Swmmrman
December 6th, 2007, 04:23 PM
Been having a frustrating issue. After a computer crash(Very literal variety), I had to reinstall ubuntu. then i tried to reinstall my folding at home. However, It seems to install just fine. But it never creates the FAHlog.txt file. And never seems to run. when i run and sudo /etc/init.d/foldingathome status. Says the client is running And the FAHlog.txt isnt there. However, upon checks(After reading this entire post) The processes are not running. And it can easily uninstalled as if its not running. I get no increase in processor usage. Issuing the start command results in it saying the client started. But nothing changes.

I have noticed during install it claims the foldingathome group and user were created. However after several checks threw groups and users. No such group exists. When uninstalling it says it cant delete the user/group cause it doesnt exists. I have even gone to the lenghts of created the user and grp prior to install and no go.

Im running Ubuntu 7.10 Gutsy. Trying to install the SMP client. Have got the libs needed. Installed Via Wiki instructions. Using sudo. Not sure if any of this will affect anything. I have webmin installed. And also have installed a postfix server as well as a webserver.(and many other things Wow rocks on ubuntu) I keep the firewall set to allow all.

Sorry for the long post. Just wanted to get all the information I have at once. Any help would be appreciated.

jpkotta
December 6th, 2007, 09:44 PM
Very strange. Are you running a 64-bit system? Can you post the output of the following commands?
sudo ls -lR /opt/foldingathome
cat /etc/default/foldingathome
grep -C 2 -E vvv /etc/init.d/foldingathome

Swmmrman
December 7th, 2007, 01:00 AM
/opt/foldingathome:
total 20
drwxr-xr-x 2 foldingathome foldingathome 4096 2007-12-06 20:54 1
drwxr-xr-x 2 foldingathome foldingathome 4096 2007-12-06 20:54 config
-rw-r--r-- 1 root root 6331 2007-12-06 20:54 README
-rwx---r-- 1 foldingathome foldingathome 1170 2007-12-06 20:53 reconfigure.sh

/opt/foldingathome/1:
total 336
-rwxr-xr-- 1 foldingathome foldingathome 151 2007-12-06 20:54 client.cfg
-r-xr-xr-x 1 foldingathome foldingathome 252100 2007-12-06 20:54 fah6
-rw-r--r-- 1 foldingathome foldingathome 8 2007-12-06 20:54 machinedependent.dat
-r-xr-xr-x 1 foldingathome foldingathome 68492 2007-12-06 20:54 mpiexec
-rw-r--r-- 1 foldingathome foldingathome 1502 2007-12-06 20:54 MyFolding.html

/opt/foldingathome/config:
total 344
-rw-r--r-- 1 root root 1097 2007-12-06 20:54 client1.options
-rwxr-xr-- 1 foldingathome foldingathome 151 2007-12-06 20:54 client.cfg
-r-xr-xr-x 1 foldingathome foldingathome 252100 2007-12-06 20:53 fah6
-rw-r--r-- 1 foldingathome foldingathome 870 2007-12-06 20:54 FAHlog.txt
-rw-r--r-- 1 foldingathome foldingathome 8 2007-12-06 20:54 machinedependent.dat
-r-xr-xr-x 1 foldingathome foldingathome 68492 2007-12-06 20:53 mpiexec
-rw-r--r-- 1 foldingathome foldingathome 1502 2007-12-06 20:54 MyFolding.html
stephan@sillymonkey:~$


$ cat /etc/default/foldingathome
# Folding@Home Linux client system default options.

# This file contains system-wide options for Folding@Home. They are applied to
# all clients, whether in /opt/foldingathome or a user's $HOME directory. They
# can be overridden on a per-client basis by using
# $folding_dir/config/client<num>.options.

# This file is simply a shell script that is sourced by the foldingathome init
# script. Everything after a '#' is ignored.

# Use the CLIENT_OPTS variable to set any options that you want the client to
# use. Run the client executable with the help option (e.g. "FAH504-Linux.exe
# -help") to learn what options are available.
# Example: CLIENT_OPTS='-advmethods -forceasm'

# IMPORTANT NOTE TO SMP USERS:
# As of version 6.00(beta1), you must add the "-smp" option to get SMP work units!

CLIENT_OPTS='-smp'


~$ grep -C 2 -E vvv /etc/init.d/foldingathome
. /lib/lsb/init-functions

# vvv these variables are modified by the install script vvv
fah_dir=/opt/foldingathome
executable=fah6


yes im running 64 bit ubuntu. And yes its a 64 system.

Swmmrman
December 7th, 2007, 04:06 AM
On my last install attempt i checked the logs. It did infact successfully create and delete the user/group foldingathome. I also confirmed via webmin that while it was installed, The group was there and so was the user. However same fail message. An interesting note. on another computer with a fresh install of ubuntu(I borked it). It is doing the exact same thing.

On a bright note. It is installing and runing under wine.. Albeit slowly.(2 frames per min vrs 30 sec) At least i can still fold.

Btw have any of you had experince with fully setup compiz(The settings manager installed and cube going) And multi monitors(Somehow my settings borked it other computer badly)
When i got the second monitor connected. It locked and killed tfter reboot i could log in however i could not get ful xserver. All i had was a tan background(no background set) even under other sesions.

jpkotta
December 7th, 2007, 08:47 PM
On my last install attempt i checked the logs. It did infact successfully create and delete the user/group foldingathome. I also confirmed via webmin that while it was installed, The group was there and so was the user. However same fail message. An interesting note. on another computer with a fresh install of ubuntu(I borked it). It is doing the exact same thing.

On a bright note. It is installing and runing under wine.. Albeit slowly.(2 frames per min vrs 30 sec) At least i can still fold.


All of your files look OK; it looks like the client hasn't been run except for the configuration mode, but we knew that. Try running the client manually, and post the output:

sudo su --shell /bin/sh --command "cd /opt/foldingathome/1/ ; ./fah6 -smp" -- foldingathome



Btw have any of you had experince with fully setup compiz(The settings manager installed and cube going) And multi monitors(Somehow my settings borked it other computer badly)
When i got the second monitor connected. It locked and killed tfter reboot i could log in however i could not get ful xserver. All i had was a tan background(no background set) even under other sesions.

This is off topic here. If you want to discuss further, you should make a new thread.

I will say that I got it working on dual monitors in Xfce. I got the dual screen set up through nvidia-settings (twinview). Then I got compiz working, and I don't remember anything special I had to do to make it work with 2 screens. Followed this guide: http://ubuntuforums.org/showthread.php?t=623752.

Swmmrman
December 8th, 2007, 02:14 AM
ok intersting thing, Says the cleint only supports 64bit systems.... I know for a fact that this is 64 bit...
Note: Please read the license agreement (fah6 -license). Further
use of this software requires that you have read and accepted this agreement.

This client only supports 64-bit linux machines. Your machine was detected as ''.

Swmmrman
December 8th, 2007, 02:16 AM
Ok on second check... Some how the 64 bit installer i have installed 32 bit os,,,,guess ill have to redownload/redo my install/live CD. How do i verify my install of ubuntu is 64 bit.

Swmmrman
December 8th, 2007, 04:10 AM
My good man i must thank you for helping me find my error. I had grabed my 32 bit ubuntu CD instead of the 64 bit. I will label them to prevent further issues.(Though i will still try to find interesting ones)

Status = Happily folding

jpkotta
December 8th, 2007, 05:29 PM
You can always check what arch you're using with the command
uname -m
or
uname -a

kpictjl
December 10th, 2007, 11:42 PM
I installed F@H using the installation script folding.sh as directed on this howto (https://help.ubuntu.com/community/FoldingAtHome/Install).

However after I try to add my own user name and team name the MyFolding.html still shows Anonymous and None? I tried to change to my name/team using this...
sudo ./folding.sh --rename

The client.cfg file DOES show my new user name and team, but it doesn't seem to be taking. I have this running fine on 3 other machines.

By they way, how can we contact Christer Edwards? It looks like the wiki I listed above needs updating... It doesn't have the folding.sh script. Or am I doing it wrong.

Thanks.

glotz
December 11th, 2007, 06:23 AM
The point of wikies is anybody can edit them. Feel free to.

I used the link in my signature to install F@H. Maybe give it a try.

kpictjl
December 11th, 2007, 08:50 PM
After looking a little closer.

In this folder.../var/lib/folding/foldingathome/CPU1.
FAHlog.txt says F@H recognizes my User Name and Team number.
[04:01:44] - User name: kpictjl1 (Team 68208)
client.cfg has my User Name and Team Number.
[settings]
username=kpictjl1
team=68208

however, MyFolding.html, still shows Anonymous.
Your information
User name: Anonymous
Team number: 0

mmm...so why doesn't MyFolding.html get updated? Mostly I'm not confident that this machines "work" will be reported correctly.

kpictjl
December 11th, 2007, 10:51 PM
I filed my above issue as a bug here (https://bugs.launchpad.net/folding/+bug/175460).

Christer will fix it in the next release, but my workaround is to delete Myfolding.htlm and then restart the service.

Swmmrman
December 13th, 2007, 04:09 PM
Where can i find the protien think gui? I thiought i found it in this thread, But have had no luck locating it
Edit: NVM found it

Swmmrman
December 13th, 2007, 04:26 PM
Ok found and installed protien think. However.. All info is blank. I know for a fact. that i have a unitinfo .txt anyone know why it would be blank.

jpkotta
December 17th, 2007, 02:31 AM
The wiki pages were getting really cluttered with all the different install methods, so I made dedicate pages for each method and just links in the main page.

war59312
January 12th, 2008, 05:38 AM
[09:38:06] + Downloading new core: FahCore_81.exe
[09:38:07] + 10240 bytes downloaded
[09:38:07] + 20480 bytes downloaded
[09:38:07] + 30720 bytes downloaded
[09:38:07] + 40960 bytes downloaded
[09:38:07] + 51200 bytes downloaded
[09:38:07] + 61440 bytes downloaded
[09:38:07] + 71680 bytes downloaded
[09:38:07] + 81920 bytes downloaded
[09:38:07] + 92160 bytes downloaded
[09:38:07] + 102400 bytes downloaded
[09:38:07] + 112640 bytes downloaded
[09:38:07] + 122880 bytes downloaded
[09:38:07] + 133120 bytes downloaded
[09:38:07] + 143360 bytes downloaded
[09:38:07] + 153600 bytes downloaded
[09:38:07] + 163840 bytes downloaded
[09:38:07] + 174080 bytes downloaded
[09:38:07] + 184320 bytes downloaded
[09:38:07] + 194560 bytes downloaded
[09:38:07] + 204800 bytes downloaded
[09:38:07] + 215040 bytes downloaded
[09:38:07] + 225280 bytes downloaded
[09:38:07] + 235520 bytes downloaded
[09:38:08] + 245760 bytes downloaded
[09:38:08] + 256000 bytes downloaded
[09:38:08] + 266240 bytes downloaded
[09:38:08] + 276480 bytes downloaded
[09:38:08] + 286720 bytes downloaded
[09:38:08] + 296960 bytes downloaded
[09:38:08] + 307200 bytes downloaded
[09:38:08] + 317440 bytes downloaded
[09:38:08] + 327680 bytes downloaded
[09:38:08] + 337920 bytes downloaded
[09:38:08] + 348160 bytes downloaded
[09:38:08] + 358400 bytes downloaded
[09:38:08] + 368640 bytes downloaded
[09:38:08] + 378880 bytes downloaded
[09:38:08] + 389120 bytes downloaded
[09:38:08] + 399360 bytes downloaded
[09:38:08] + 409600 bytes downloaded
[09:38:08] + 419840 bytes downloaded
[09:38:08] + 430080 bytes downloaded
[09:38:08] + 440320 bytes downloaded
[09:38:08] + 450560 bytes downloaded
[09:38:08] + 460800 bytes downloaded
[09:38:08] + 471040 bytes downloaded
[09:38:08] + 481280 bytes downloaded
[09:38:08] + 491520 bytes downloaded
[09:38:08] + 501760 bytes downloaded
[09:38:08] + 512000 bytes downloaded
[09:38:08] + 522240 bytes downloaded
[09:38:08] + 532480 bytes downloaded
[09:38:08] + 542720 bytes downloaded
[09:38:08] + 552960 bytes downloaded
[09:38:08] + 563200 bytes downloaded
[09:38:08] + 573440 bytes downloaded
[09:38:08] + 583680 bytes downloaded
[09:38:08] + 593920 bytes downloaded
[09:38:08] + 604160 bytes downloaded
[09:38:08] + 614400 bytes downloaded
[09:38:08] + 624640 bytes downloaded
[09:38:08] + 634880 bytes downloaded
[09:38:08] + 645120 bytes downloaded
[09:38:08] + 655360 bytes downloaded
[09:38:08] + 665600 bytes downloaded
[09:38:08] + 675840 bytes downloaded
[09:38:08] + 686080 bytes downloaded
[09:38:08] + 696320 bytes downloaded
[09:38:08] + 706560 bytes downloaded
[09:38:09] + 716800 bytes downloaded
[09:38:09] + 727040 bytes downloaded
[09:38:09] + 737280 bytes downloaded
[09:38:09] + 747520 bytes downloaded
[09:38:09] + 757760 bytes downloaded
[09:38:09] + 768000 bytes downloaded
[09:38:09] + 778240 bytes downloaded
[09:38:09] + 788480 bytes downloaded
[09:38:09] + 798720 bytes downloaded
[09:38:09] + 808960 bytes downloaded
[09:38:09] + 819200 bytes downloaded
[09:38:09] + 829440 bytes downloaded
[09:38:09] + 839680 bytes downloaded
[09:38:09] + 849920 bytes downloaded
[09:38:09] + 860160 bytes downloaded
[09:38:09] + 870400 bytes downloaded
[09:38:09] + 880640 bytes downloaded
[09:38:09] + 890880 bytes downloaded
[09:38:09] + 901120 bytes downloaded
[09:38:09] + 911360 bytes downloaded
[09:38:09] + 921600 bytes downloaded
[09:38:09] + 931840 bytes downloaded
[09:38:09] + 942080 bytes downloaded
[09:38:09] + 952320 bytes downloaded
[09:38:09] + 962560 bytes downloaded
[09:38:09] + 972800 bytes downloaded
[09:38:09] + 983040 bytes downloaded
[09:38:09] + 993280 bytes downloaded
[09:38:09] + 1003520 bytes downloaded
[09:38:09] + 1013760 bytes downloaded
[09:38:09] + 1024000 bytes downloaded
[09:38:09] + 1034240 bytes downloaded
[09:38:09] + 1044480 bytes downloaded
[09:38:09] + 1054720 bytes downloaded
[09:38:09] + 1064960 bytes downloaded
[09:38:09] + 1075200 bytes downloaded
[09:38:09] + 1085440 bytes downloaded
[09:38:09] + 1095680 bytes downloaded
[09:38:09] + 1105920 bytes downloaded
[09:38:09] + 1116160 bytes downloaded
[09:38:09] + 1126400 bytes downloaded
[09:38:10] + 1136640 bytes downloaded
[09:38:10] + 1146880 bytes downloaded
[09:38:10] + 1157120 bytes downloaded
[09:38:10] + 1167360 bytes downloaded
[09:38:10] + 1177600 bytes downloaded
[09:38:10] + 1187840 bytes downloaded
[09:38:10] + 1198080 bytes downloaded
[09:38:10] + 1208320 bytes downloaded
[09:38:10] + 1218560 bytes downloaded
[09:38:10] + 1228800 bytes downloaded
[09:38:10] + 1239040 bytes downloaded
[09:38:10] + 1243183 bytes downloaded
[09:38:10] Verifying core Core_81.fah...
[09:38:10] Signature is VALID
[09:38:10]
[09:38:10] Trying to unzip core FahCore_81.exe
[09:38:10] - Couldn't open file FahCore_81.exe
[09:38:10] + Error: Could not extract core
[09:38:10] + Core download error (#8), waiting before retry...Sever Issue? :(

Spartan.II.117
January 12th, 2008, 06:09 AM
i dont know what methods it uses to extract the core, but that seems to be the problem as far as i can tell. did this just start(after having used F@H for awhile)? if not (new user/install), try re-installing

war59312
January 12th, 2008, 06:12 AM
OK deleted the .exe files and killed the process using system monitor and then started back up via sudo /etc/init.d/foldingathome start and what do you know, now its working fine. Really strange.

Yeah was a new install, newbie here... thanks anyhow... learning quick hehe...

Swmmrman
January 14th, 2008, 05:10 PM
I had one of mine start doing that after fetching completing a unit. Did that about 10 times. (Same core name too) Then deleted the core and moved on by itself. My guess was it was a server with a bad work packet.

frbe0101
February 12th, 2008, 10:27 PM
Got it working on my laptop, now here a odd request, but is there a way to put in a script that stop it when the laptop is running on batteries?

jpkotta
February 12th, 2008, 10:35 PM
Not odd at all. See the second bullet of the first post of this thread. It will tell you to go here: https://help.ubuntu.com/community/FoldingAtHome#head-353ddb49ec5a97223b3e0f1be7d8a7acfab7f59e

seeking_alpha
February 24th, 2008, 03:41 AM
Is there a way to run protein_think aside from putting "python fahmain.py" in the terminal?

It's my 1st time running Linux, but I've been folding for almost a year. I just switched my 2 PS3s running 24/7 to Team Ubuntu:) They cut through WUs like a hot knife through butter

Thanks in advance

Spartan.II.117
February 24th, 2008, 06:22 PM
jpcotta:
could FAH install be updated for 6.00 beta 2?
also i believe you could create a deb if you could configure your script into a makefile. these would be awesome.

Spartan

jpkotta
February 25th, 2008, 02:12 AM
I updated it a couple of days after the previous beta expired.

I didn't want to use a Makefile, because then people would need to install make, which AFAIK is not installed by default. I believe you only need a tarball and a few scripts for a deb, but I've never gone into the details. In any event, I like Christer Edwards's script, which just uses finstall. It just doesn't do the SMPs right yet. As soon as it does (and I haven't tried since the beta expired), I'll probably just use that.

Spartan.II.117
February 25th, 2008, 02:21 AM
it isn't working properly for me, i had to get the new beta off the site and run it manually. also the make script was for creating a .deb, i should have specified, but a channel from stanford with auto-updatable .debs would have been awesome.

jpkotta
February 25th, 2008, 02:26 AM
Is there a way to run protein_think aside from putting "python fahmain.py" in the terminal?

It's my 1st time running Linux, but I've been folding for almost a year. I just switched my 2 PS3s running 24/7 to Team Ubuntu:) They cut through WUs like a hot knife through butter

Thanks in advance
This might help.
https://help.ubuntu.com/community/AddingProgramToSessionStartup

jpkotta
February 25th, 2008, 02:38 AM
it isn't working properly for me, i had to get the new beta off the site and run it manually. also the make script was for creating a .deb, i should have specified, but a channel from stanford with auto-updatable .debs would have been awesome.

I just retested it and it works for me. What exactly goes wrong? BTW, you need to uninstall and reinstall, I don't think update will do it for you. Perhaps "update" is poorly named; it doesn't update everything, it only updates the scripts that I wrote. This is because if you update the client, I just assumed that the WUs would not be compatible, and you'd have to start over anyway.

Spartan.II.117
March 5th, 2008, 05:32 PM
i figured it out: the scripts did update, and i got the client from stanford but forgot to change the user on it. everything works now.i just wish i could get all the SPARC's around campus working on it.

jpkotta
May 3rd, 2008, 08:57 PM
A new beta client is out, which means the old one is expiring soon.

http://folding.stanford.edu/English/Download
https://help.ubuntu.com/community/FoldingAtHome

Spartan.II.117
May 4th, 2008, 04:19 AM
I tried installing with the new script, but when i go to start it it shows failed and my processor usage does nothing.

jpkotta
May 4th, 2008, 07:49 PM
You mean that the installation appeared to be successful, but when you run sudo /etc/init.d/foldingathome start it fails?

Try replacing /etc/init.d/foldingathome with the attached script. It should print out some error messages.

Spartan.II.117
May 5th, 2008, 05:15 PM
well, the new script starts it fine. and based on the noise of my computer last night, i think it was succeeding but reporting failure.

jpkotta
May 5th, 2008, 06:34 PM
Good. All that's different is that I removed the --quiet option from start-stop-daemon. The client always takes a few seconds to actually get up and running, up to several minutes if it has to up/download work units.

jpkotta
May 24th, 2008, 06:10 PM
I just updated to Hardy on some of my machines. It seems like the Linux process scheduler is really weird. F@H is niced to 19, yet it seems like the scheduler is giving it more time than other processes. This, in turn, screws up frequency scaling. I'm still looking into this problem; I haven't seen any good workarounds.

Spartan.II.117
May 24th, 2008, 08:19 PM
is this 64bit or 32 bit or both? i have noticed no such issues on my 64bit system.

jpkotta
May 26th, 2008, 02:08 AM
It's both, but was more noticable on my 32-bit machine because it's a laptop (cpufreq scaling) and it is a single core. Anyway, I found the problem: the new CFS process scheduler in the kernel. The scheduler tries to give groups of processes their "fair share" of cpu time. Apparently, the way of grouping processes is by UID. Since I run F@H as it's own user (I really think this is the correct thing to do), it was basically getting half the CPU time, and my processes were getting the other half. There is a mechanism for tuning the share of CPU time each UID gets, in /sys/kernel/uids/$UID/cpu_share. Apparently the default is for everyone to get 1024 "units", I set foldingathome to get 16 and it works much better.

<rant>
I'm questioning the wisdom of adding the CFS to a desktop distribution, or at least this particular policy. When I'm on a desktop computer, I'm the one who's running programs; background jobs should have a low priority. CFS is probably great for servers, but I'm not convinced of its utility for desktops.
</rant>

Edit: Apparently, this is already getting fixed: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/188226

Edit:
The fix is to add
deb http://mirror.cs.umn.edu/ubuntu/ hardy-proposed main restricted
deb-src http://mirror.cs.umn.edu/ubuntu/ hardy-proposed main restricted
(use your favorite mirror or us.archive.ubuntu.com instead of umn) and install the correctly configured kernel with sudo aptitude update && sudo aptitude upgrade && sudo aptitude install linux-generic

KAdams4458
June 14th, 2008, 04:13 AM
Well, I'm a little baffled. I've been tinkering with getting the client installed and running through out the day, and I'm hitting a wall. Maybe one of you could point me in the right direction, because I'm stumped.

My system is single-core 64-bit. I can successfully install everything, apparently, but nothing ever shows up in the system monitor. Hmmm. Look at this:

To start folding right now, run `sudo /etc/init.d/foldingathome start`.


user@Vera:~/fah_install$ sudo /etc/init.d/foldingathome start
* Starting Folding@Home client 1 [ OK ]

Looks normal, right? After seeing nothing happening, I decide to try this:

user@Vera:~/fah_install$ sudo /etc/init.d/foldingathome stop
[sudo] password for user:
* Stopping Folding@Home client 1 [fail]
user@Vera:~/fah_install$


Okay, so now I'm confused. It says it starts, but never really does, since it never appears in the system moniotor, and stopping it fails. For that matter, everything fails except the start command. After dinking around with this and getting no where for the better part of a day, I decided I better ask around, since someone else may all ready know exactly what to do. I've lost enough hair today, and I'd rather keep the rest of it for as long as I can. :)

freebeer
June 14th, 2008, 07:14 PM
I don't really know... I'm not familiar with system monitor. I wonder if it only monitors non-root processes? *shrug*

It looks to me that it's running. Have a look at your unitinfo.txt file... you said you let it run for a while? If it's running for a while, you should see some progress. Also, after you run the start command, can you check the processes with top or htop? You should see it there.

KAdams4458
June 15th, 2008, 05:38 AM
I don't really know... I'm not familiar with system monitor. I wonder if it only monitors non-root processes? *shrug*

It looks to me that it's running. Have a look at your unitinfo.txt file... you said you let it run for a while? If it's running for a while, you should see some progress. Also, after you run the start command, can you check the processes with top or htop? You should see it there.

It doesn't show up in top, either. I just checked the unitinfo.txt, and after supposedly running for over 24 hours, it still has not been created. Something is definitely not right, and I can't seem to figure out what that something could be.

freebeer
June 15th, 2008, 12:00 PM
hmm... I'm not sure. With top and no progress on unitinfo.txt, I'd have to conclude that it's definitely not running.

Have a look at your FAHlog.txt file. Maybe there's a clue as to what the problem might be.

frbe0101
June 19th, 2008, 12:21 PM
I been able to make turn on and turn off buttons for folding@home, how do I tell it (in terminal) to run on just one core instead of two cores?

jpkotta
June 19th, 2008, 06:34 PM
I been able to make turn on and turn off buttons for folding@home, how do I tell it (in terminal) to run on just one core instead of two cores?

How did you install it? Do you want to make this configurable or just permanently disable one of the cores?

If you're using the SMP client (64-bit) you can't make it use only 1 core.

DeaconBlues
June 22nd, 2008, 02:53 PM
Is there a way to get Folding@Home using your GPU instead of CPU?

It says in the following link that only Windows is supported at the moment:

http://folding.stanford.edu/English/FAQ-NVIDIA#ntoc8

I read somewhere you get much faster calculations using the GPU.

jpkotta
June 23rd, 2008, 02:14 AM
Is there a way to get Folding@Home using your GPU instead of CPU?

It says in the following link that only Windows is supported at the moment:

http://folding.stanford.edu/English/FAQ-NVIDIA#ntoc8

I read somewhere you get much faster calculations using the GPU.

That's the official FAQ, and if it says Windows only, then you need Windows. I doubt any virtualization solution will work either, since that would still use the Linux driver. It sucks because GPUs do indeed calculate faster (there is a trade off: the things they can calculate are limited), and it appears that the effort to make a Linux version isn't worth it to F@H.

mptpro
July 3rd, 2008, 06:15 PM
Anyone think they'll release a simple installer (I do miss that days of Windows .exe).

Or least put it in the repositories (or the add/remove), and have it show up inthe "Applications" menu, AND have a grpahical client.

I installed F@H on two ubunut boxes and four winxp machines. The first time I did it with ubunut took me over and over, the second machine took about 10 minutes.

Windows took about 3 minutes.

And the windows has a graphical interface so I can see that it is working.

I know I can do all these things with command line, but to firgure it out the first time is a pain.

sorry for the rant.

glotz
July 4th, 2008, 05:40 PM
It's a good rant but on wrong forum.

jpkotta
July 4th, 2008, 06:38 PM
Christer Edwards is working on a .deb and getting it in the repos. https://help.ubuntu.com/community/FoldingAtHome/origami

As far as graphical client goes, try the Windows one in wine maybe? The console one is better anyway, because it runs all the time, even when no one is logged in (in both Windows and Linux).

DogDragonsm31
August 13th, 2008, 08:03 AM
I'm still new to ubuntu and still trying to get a the flow of things,
but I'm not giving up on it. It's on my main rig and I can get
from it and into the other 2 machines to put files or get files.
But I haven't been able to get F@H on my main rig.
I keep messing up some where, So is there a place I can like
get spoon fed on how to do it.
A friend told me to get "Beginning Ubuntu Linux- From Novice
to Professional".
Which I did, just got it. But I like to fold while I'm reading
it.

jpkotta
August 13th, 2008, 11:47 AM
https://help.ubuntu.com/community/FoldingAtHome/origami

It doesn't get much more automatic than that. There are other methods too, see the main page at https://help.ubuntu.com/community/FoldingAtHome.

glotz
August 13th, 2008, 11:56 AM
Been to the f@h link in jpkottas signature above?

DogDragonsm31
August 13th, 2008, 01:55 PM
Been to the f@h link in jpkottas signature above?

no but will check out that you said thanks

spudgunner
October 8th, 2008, 11:12 PM
So I've managed to to folding install... I have and Instal Core2 Duo, but it only detected one core. I'm looking for a way to install another single core client beside the one I already have, but with a differnet machine number (so it uses a differnet core). I tried running the install.sh, but it says a client is already installed and will only accept 'reinstall' and 'uninstall'.

So how do you pull off running two single core clients at the same time?

Thanks,

Josh

jpkotta
October 9th, 2008, 10:42 AM
I assume you're using the script from https://help.ubuntu.com/community/FoldingAtHome/fah_install. In that case, it tells you how many cores it detected, but in case it's wrong, you can specify the actual number. You must uninstall and then install. "update" is not what you're looking for (see the wiki page above). Also, if you are running a 64-bit OS, you should only run one client.

spudgunner
October 10th, 2008, 12:37 AM
Therein lies my problem... it never gave me an option as to how many cores I have, and I installed the 32-bit client, so it should have. I have no idea what to do.

jpkotta
October 16th, 2008, 10:01 PM
spudgunner, try the new script in the wiki.

WelterPelter
January 19th, 2009, 07:44 PM
For anyone running Protein Think.
I just finished a new release of Protein Think (0.0.5-a) that addresses the couple of problems people were encountering. My ability to test the application is limited, however, so if you run into any problems with it, please let me know.

Get it here (http://sourceforge.net/project/showfiles.php?group_id=164311).

This release fixes:

- Difficulty reading new unitinfo.txt files
- Difficulty in which program would fail if certain data was not available. Now it will continue running, even without this non-critical data

Enjoy!

PS - If anyone happens to be folding on a multicore machine, you could help me by copying folders 1 and 2 and sending them to me. I want to upgrade PT to handle multiple cores, but don't have access to one. Thanks.

alpha754293
January 25th, 2009, 10:25 AM
I'm trying to install F@H on 8.04 server and when I try to start fah, it says: "No such file or directory."

I'm currently using (or trying to use) the F@H Linux SMP 6.23 beta R1 client.

# ls
fah6 mpiexec
# ./fah6
bash: ./fah6: No such file or directory
#

Help? Please?

*edit*
n/m. Got it.

For Ubuntu 8.04 Server AMD64, you need to run


$ sudo apt-get install ia32-libs


in order for it to run properly.

bbarcelo
February 19th, 2009, 02:13 PM
I have had F@H installed for the last several weeks or so and installed it using the finstall method listed in the Ubuntu wiki documentation. However, I found that even after several weeks, so statistics were being sent to the F@H site. This caused me to question whether any data was being sent. I decided to remove F@H and try re-installing using a different method.

I downloaded origami through aptitude and looked up the proper command to install it (sudo origami install etc..) but I receive the following error:

###############################################
# the root user shell must be /bin/bash #
###############################################

However, I'm 99% sure my shell is bash but to check I performed the following:
$sudo -i
#ps -p $$
which yields:
PID TTY TIME CMD
2129 pts/0 00:00:00 bash

I've tried everything I can find via Google and searching the Ubuntu forums for related issues didn't help much. I hope someone in this thread can help out. Thank you.

jpkotta
February 19th, 2009, 02:18 PM
The heavy-handed workaround is to link /bin/sh to /bin/bash:
sudo ln -s /bin/bash /bin/sh

bbarcelo
February 19th, 2009, 04:28 PM
The heavy-handed workaround is to link /bin/sh to /bin/bash:
sudo ln -s /bin/bash /bin/sh

Heavy-handed is oft a word accompanied by trouble down the line. What makes this approach unfavorable? Is there any other approach that might solve the problem with a bit more.. finesse?

jpkotta
February 19th, 2009, 05:24 PM
It really shouldn't cause any problems. Bash syntax is supposed to be a superset of Bourne shell syntax. A few releases ago, Ubuntu made Dash the default /bin/sh, which broke a lot of things that assumed that /bin/sh was actually Bash. The converse or this is false - anything that works for Dash should work for Bash.

The proper fix would be to either make root's shell bash (which it appears to be already), or to fix whatever is spitting out the warning.

To be sure that bash is actually root's shell, check
cat /etc/passwd | grep root

It should look something like this:
root:x:0:0:root:/root:/bin/bash

I would ask origami's author about it: https://bugs.launchpad.net/origami

bbarcelo
February 19th, 2009, 05:28 PM
It really shouldn't cause any problems. Bash syntax is supposed to be a superset of Bourne shell syntax. A few releases ago, Ubuntu made Dash the default /bin/sh, which broke a lot of things that assumed that /bin/sh was actually Bash. The converse or this is false - anything that works for Dash should work for Bash.

The proper fix would be to either make root's shell bash (which it appears to be already), or to fix whatever is spitting out the warning.

To be sure that bash is actually root's shell, check
cat /etc/passwd | grep root

It should look something like this:
root:x:0:0:root:/root:/bin/bash

I would ask origami's author about it: https://bugs.launchpad.net/origami

I ran the command you listed in your reply and got this:
root:x:0:0:root:/root:bash

I will ask the author as well, but could it be that if I change the line above the look like this:
root:x:0:0:root:/root:/bin/bash
..that I won't break anything and perhaps satisfy the origami installer?

edit #1:
I decided to go and test my theory and sudo -i works without any warning, so bash is being called correctly I assume (unless a system restart is required to institute the changes I made in /etc/passwd). Origami's installer finished but the startup script failed to start. This is an problem related to my processor though so I'll work on sorting that out next.

jpkotta
February 19th, 2009, 05:35 PM
I ran the command you listed in your reply and got this:
root:x:0:0:root:/root:bash

I will ask the author as well, but could it be that if I change the line above the look like this:
root:x:0:0:root:/root:/bin/bash
..that I won't break anything and perhaps satisfy the origami installer?

Yes. It should always be an absolute path anyway, for security reasons. I believe the proper way to do it is with
sudo usermod --shell /bin/bash root

bbarcelo
February 19th, 2009, 05:46 PM
Well, origami has apparently installed successfully but when I run sudo origami start, the following happens:

Starting up FAH client(s) on 1 processor(s):
Starting FAH client at CPU1...
FAH client #1 startup: OK


Starting of FAH client(s): FAILURE

I'd love to read the log file or something on this but I haven't found it ... yet. I'm starting to think maybe origami is more trouble than its worth and to just download the client off their site.

paintandswim09
April 5th, 2009, 01:45 PM
(Sorry for the thread jack, I couldn't find a better place for this, and I didn't think it was worth its own thread)

I'm running F@H on a dual-core laptop that gets used by the whole family, and we typically log out when we're done, so there's a fair amount of time that the laptop spends sitting around, with only the screen turned off, with nobody logged in. Since F@H technically runs as a process of its own user (that _is_ right, correct?) is it still running when no humans are logged in?

BTW ranked #472 on TeamUbuntu, top 15% F@H wide

jpkotta
April 5th, 2009, 05:23 PM
paintandswim09:

This is more or less the official F@H help thread for Ubuntu. You're not off topic.

It depends on how you installed it. If you used one of the scripts from the wiki, then it should be running when no one is logged in. You can check by running top or another process monitor and seeing how long the F@H processes have been running when you first log in.

sweetbrett
April 8th, 2009, 09:47 PM
i modified the install.sh to download the newer 6.24beta smp client

frbe0101
May 6th, 2009, 12:03 PM
How do I remove folding@home from the startup script? I still would like to run it but no longer want it to run automatically on startup.

jpkotta
May 6th, 2009, 12:29 PM
Assuming the init script is called "foldingathome",
sudo update-rc.d -f foldingathome remove
You could also use something like sysvconfig.

mag00
May 8th, 2009, 12:45 PM
Why all my FAHCORE_A2.exe processes are using least than 10% of CPU each one?

I am using the 6.24 SMP client in a Q6600 with 4gb of RAM and Jaunty 9.04.

This is my config.cfg contents
[settings]
username=mag00
team=53066
passkey=
asknet=no
bigpackets=big
machineid=10
local=104

[http]
active=no
host=localhost
port=8080

[core]
checkpoint=30

[clienttype]
type=3


This is a piece of FAHLOG.txt
mag00@Q6600:~/folding$ ./start

Note: Please read the license agreement (fah6 -license). Further
use of this software requires that you have read and accepted this agreement.

Using local directory for work files
4 cores detected


--- Opening Log file [May 6 16:53:26 UTC]


# Linux SMP Console Edition ################################################## #
################################################## #############################

Folding@Home Client Version 6.24beta

http://folding.stanford.edu

################################################## #############################
################################################## #############################

Launch directory: /home/mag00/folding
Executable: ./fah6
Arguments: -local -advmethods -smp 4 -verbosity 9

[16:53:26] - Ask before connecting: No
[16:53:26] - User name: mag00 (Team 53066)
[16:53:26] - User ID: 76F696CD7D7F0A23
[16:53:26] - Machine ID: 10
[16:53:26]
[16:53:26] Loaded queue successfully.
[16:53:26] Unit 9's deadline (May 6 00:43) has passed.
[16:53:42] - Warning: Could not delete all work unit files (9): Core file absent
[16:53:42] - Preparing to get new work unit...
[16:53:42] - Autosending finished units... [May 6 16:53:42 UTC]
[16:53:42] Trying to send all finished work units
[16:53:42] + No unsent completed units remaining.
[16:53:42] - Autosend completed
[16:53:42] + Attempting to get work packet
[16:53:42] - Will indicate memory of 3899 MB
[16:53:42] - Connecting to assignment server
[16:53:42] Connecting to http://assign.stanford.edu:8080/
[16:53:44] Posted data.
[16:53:44] Initial: 40AB; - Successful: assigned to (171.64.65.56).
[16:53:44] + News From Folding@Home: Welcome to Folding@Home
[16:53:44] Loaded queue successfully.
[16:53:44] Connecting to http://171.64.65.56:8080/
[16:53:50] Posted data.
[16:53:50] Initial: 0000; - Receiving payload (expected size: 4830945)
[16:54:04] - Downloaded at ~336 kB/s
[16:54:04] - Averaged speed for that direction ~295 kB/s
[16:54:04] + Received work.
[16:54:04] + Closed connections
[16:54:04]
[16:54:04] + Processing work unit
[16:54:04] Core required: FahCore_a2.exe
[16:54:04] Core found.
[16:54:04] Working on queue slot 00 [May 6 16:54:04 UTC]
[16:54:04] + Working ...
[16:54:04] - Calling './mpiexec -np 4 -host 127.0.0.1 ./FahCore_a2.exe -dir work/ -suffix 00 -checkpoint 30 -verbose -lifeline 14264 -version 624'

[16:54:04]
[16:54:04] *------------------------------*
[16:54:04] Folding@Home Gromacs SMP Core
[16:54:04] Version 2.07 (Sun Apr 19 14:51:09 PDT 2009)
[16:54:04]
[16:54:04] Preparing to commence simulation
[16:54:04] - Ensuring status. Please wait.
[16:54:14] - Looking at optimizations...
[16:54:14] - Working with standard loops on this execution.
[16:54:14] - Files status OK
[16:54:15] - Expanded 4830433 -> 23973957 (decompressed 496.3 percent)
[16:54:15] Called DecompressByteArray: compressed_data_size=4830433 data_size=23973957, decompressed_data_size=23973957 diff=0
[16:54:15] - Digital signature verified
[16:54:15]
[16:54:15] Project: 2669 (Run 14, Clone 60, Gen 29)
[16:54:15]
[16:54:15] Entering M.D.
NNODES=4, MYRANK=3, HOSTNAME=Q6600
NNODES=4, MYRANK=0, HOSTNAME=Q6600
NNODES=4, MYRANK=1, HOSTNAME=Q6600
NNODES=4, MYRANK=2, HOSTNAME=Q6600
NODEID=0 argc=20
NODEID=1 argc=20
NODEID=2 argc=20
NODEID=3 argc=20
:-) G R O M A C S (-:

Groningen Machine for Chemical Simulation

:-) VERSION 4.0.99_development_20090307 (-:


Written by David van der Spoel, Erik Lindahl, Berk Hess, and others.
Copyright (c) 1991-2000, University of Groningen, The Netherlands.
Copyright (c) 2001-2008, The GROMACS development team,
check out http://www.gromacs.org for more information.


:-) mdrun (-:

Reading file work/wudata_00.tpr, VERSION 3.3.99_development_20070618 (single precision)
Note: tpx file_version 48, software version 64

NOTE: The tpr file used for this simulation is in an old format, for less memory usage and possibly more performance create a new tpr file with an up to date version of grompp

Making 1D domain decomposition 1 x 1 x 4
starting mdrun '22848 system'
7500000 steps, 15000.0 ps (continuing from step 7250000, 14500.0 ps).


A few months ago everything was fine and the 4 processes was using 25% each one.

Any ideas?

[]'s

jpkotta
May 9th, 2009, 10:26 PM
Any ideas?

Not really. Nothing looks weird in your logs. Although I don't think you need the -local option on Unix, and I'm not sure if -smp takes an arguement.

You could try the official forum http://foldingforum.org/. You could also try purging F@H from your system and reinstalling.

swoody
July 2nd, 2009, 09:48 PM
Hello everybody! I just wanted to throw out a reminder to everyone here, as well as anyone who may stumble upon this looking for help. The Ubuntu Folding@Home Team does have it's own IRC channel!! It's up and running strong again, and hopefully it can be a great resource for those looking for help getting F@H setup, or troubleshooting any issues you may be having. If nothing else, come hang out and we can shoot the breeze and talk about folding!

So come on by, and check us out on #ubuntu-folding on the FreeNode network! We look forward to seeing you guys there!!

YannBuntu
September 25th, 2009, 06:43 AM
Hi all,
looks like the wiki ( https://help.ubuntu.com/community/FoldingAtHome ) is not up-to-date (see ppa for origami for example... ), can someone update it please?

Which of the install methods you think is the easiest one for a "standard install": laptop with one CPU on Ubuntu 9.04, and i would like to have the possibility to start/stop F@H via a button or command line. If possible i would like also to control which % of the CPU is used by F@H.

thanks in advance for your answers!

swoody
September 25th, 2009, 05:57 PM
Hi all,
looks like the wiki ( https://help.ubuntu.com/community/FoldingAtHome ) is not up-to-date (see ppa for origami for example... ), can someone update it please?

Which of the install methods you think is the easiest one for a "standard install": laptop with one CPU on Ubuntu 9.04, and i would like to have the possibility to start/stop F@H via a button or command line. If possible i would like also to control which % of the CPU is used by F@H.

thanks in advance for your answers!

Well, you're in luck...

I *just* got done updating quite a bit on the Origami Wiki page (https://help.ubuntu.com/community/FoldingAtHome/origami) so feel free to check it out. I haven't gotten to the main Folding@Home wiki page yet, but I'll work to get it caught up a bit.

As far as which method would be easiest to use, stable, and easy to monitor... that would of course have to be origami :) It's also what I run on my single-core, 9.04 laptop, so if you ever have any issues/questions I may be able to lend some advice.

It takes two commands to install, one command to check your progress, and can be stopped/started by a simple command as well. All of the info you could need is on the wiki page I linked. However, origami has it's own wiki if you'd like to check it out as well:
http://origami.zelut.org/doku.php

As far as having the F@H client only use a certain % of your CPU - I don't know of a way to do that currently. The way the client works is by using your 'spare' processing power. It has very low priority, so any programs, apps, etc. that you run will still receive all the CPU power that they want. Then, whatever power isn't being utilized will go to the F@H client. This way, you won't notice any system lag, lack of power, or any other ill-effects from the F@H client, but it also does as much folding as possible. Since it works this way, it will keep your CPU at 100% no matter what you're currently doing on your computer.

Welcome to the fold, YannBuntu ):P

YannBuntu
September 28th, 2009, 02:08 AM
Thanks a lot, i will test it, and that will help me update the ubuntu-fr wiki too :)

Just a remark: here https://help.ubuntu.com/community/FoldingAtHome/origami#Ubuntu%20PPA%20(.deb) you should remove Dapper and Gutsy as ubuntu desktop is not supported any more for thoses versions. Also you could add Jaunty (and Karmic) if there are PPA..

jpkotta
September 28th, 2009, 02:49 AM
...should remove Dapper and Gutsy as ubuntu desktop is not supported any more for thoses versions...

Dapper server is supported until June 1, 2011. I think Gutsy is completely unsupported.

YannBuntu
September 28th, 2009, 03:15 AM
@all: some questions:
- with origami, how can I start/stop the folding process? (i think it is possible with the "finstall" F@H installer (https://help.ubuntu.com/community/FoldingAtHome/finstall))
- how can I add/remove origami from the "applications that start at the beginning of my session"?
- is it possible to limit the CPU used by origami ? (i don't want my laptop fan to be too noisy)

I think these informations should be in the wiki...

other question: is the the "finstall" F@H installer (https://help.ubuntu.com/community/FoldingAtHome/finstall) still working on Ubuntu 9.04 ? (last update of the wiki was in June 2008...)

@jpkotta: you are right! :)

swoody
September 28th, 2009, 02:39 PM
@all: some questions:
- with origami, how can I start/stop the folding process?
sudo origami stop
and
sudo origami start

- how can I add/remove origami from the "applications that start at the beginning of my session"?
Origami auto-starts by itself on bootup. However, there has been a conflict between the usplash used in Jaunty and several programs which auto-start by default (origami being one of them). This is still being tested with 9.10, but it appears that this will no longer be an issue. For the time being, you can either run:
sudo origami start
to start origami after bootup, or disable usplash. There have been users who have reported that by removing usplash several of their programs that are set to auto-start worked as they should.

- is it possible to limit the CPU used by origami ? (i don't want my laptop fan to be too noisy)
No, I don't believe there is. If there is something available to do this, it would be a third-party app, and I do not know of any offhand. If you have a multi-core CPU, you should be able to limit the program to only one core, and this would effectively reduce your CPU usage to 50% (on a dual-core).

I think these informations should be in the wiki...
You raise a very good point here. I will make a note to include more info on how to stop/start origami, as well as a section for FAQ.

other question: is the the "finstall" F@H installer (https://help.ubuntu.com/community/FoldingAtHome/finstall) still working on Ubuntu 9.04 ? (last update of the wiki was in June 2008...)
I believe it is still functional under Jaunty. I tried it out fairly recently, and I don't recall encountering any issues.

jpkotta
September 28th, 2009, 05:27 PM
- is it possible to limit the CPU used by origami ? (i don't want my laptop fan to be too noisy)

Now that I think about it, there is a note in the wiki about this. https://help.ubuntu.com/community/FoldingAtHome#cpulimit

However, F@H should run at a low enough priority that it should not kick up the frequency of your CPU. In my experience, even at 100% CPU usage, the fan is not needed at the lowest frequency. You should verify that you have frequency scaling enabled, and that F@H is not kicking it up.

YannBuntu
September 28th, 2009, 09:44 PM
Thanks a lot for your quick answers! :KS