F@H on Open BSD
Dexter
Vancouver, BC Canada
This was posted at a forum I visit for a youth group I work with. A couple of folks there fold for different teams, and someone asked about F@H on Open BSD. He said:
Does anyone here have some advice or links to point him in the right direction? I'll send him the link to the thread here....and maybe try the soft sell for Team 93
Dexter...
I don't suppose there's a copy of the folding client ported over to OpenBSD? Even with Linux emulation turned on, the client either:
Won't stop looping through the registration section, or
Will download the core file, not find it, and redownload. Repeat until I get tired of wasting bandwidth and kill the process.
Similar results for using the -freeBSD terminal switch, except then the problem is it can't find libtermcap.so.2, even when it's pointed at the right directory. Yes, I have write access to all the directories and files (and if I didn't, I changed permissions accordingly). I've tried copying the library file and changing permissions, but same problem. I'm running OpenBSD 3.5 with a generic kernel (I know I should compile my own...I'll get there eventually) on Intel 386. Intel Celeron 2.4GHz processor running at 2.74GHz, 1.5GB combined RAM and swap space, and slightly over 10GB of free disk space on each of the partitions I tried running the program from. If anyone knows where I can get a port (or has enough spare time on their hands to do a port themselves...)it would be greatly appreciated
Does anyone here have some advice or links to point him in the right direction? I'll send him the link to the thread here....and maybe try the soft sell for Team 93
Dexter...
0
Comments
Ok, for BSD try this:
First, fold as root. That gets you root's access pathings, ie global file and file tree access without perm violations and kernel interfering.
Second, Open and Free are different, you might have ended up with a catch 22 just on differences.
Third, config and run with -local switch imposed in call even if you have one instance running, not probably totally required but good discipline in a *nix environment client.
Fourth, run from console, not from within a virtual console that is GUI based, or you might end up with the virtual console havign path or perms of the GUI login in part.
Fifth, what gcc version do you have running???
Sixth, do you have any errors from a pure console run as root, and if so what are they ohter than libtermcap??? Lib Term Cap, BTW, stands for Terminal Capture Library (libs are like dlls, except they are live libraries, not downloadable within system, and need to be invoked by the proper daemon as they can be owned and set up that way for segmented security), looks liek client cannot write its config files or capture from terminal\console to its work folder. If you set perms to 755 for the whole folder and THEN have it run as config, you might suddenly see it behaving if root is owner and root runs the folding client.
Seventh, you DID give the client an explicit hole to ports 8080 and 80 through your builtin BSD firewalling, yes??? If not, BSD may kill it when it tries and violates firewalling rules.... Let's start there, those are the majors I know of as classes of things know to kill apps.
If nothing good comes of this, posting in Unix\Linux\BSD client areas on folding forum might be good, I am not great with BSD yet and use Free 5.2 more than Open-- just dabble with Open, sorry. I'm more a Linux dude, insofar as *nix stuff goes.
Ping Prime, Ping ~tk. Speak up, please, you two.
--> Dexter: One other thing that might help, Dexter, AFAIK there is still a -debug switch subroutine in the *nix client. So, the youth you are trying to encourage to fold and help here, might try running it in -debug mode and see if that output helps. If not, posting that output on folding's forums might get some ideas in response. Wild guess, but Guha there might be able to help, and through the folding community forums is one way to get things to him.
OpenBSD includes libraries for FreeBSD compatibility, which I have enabled. I'm also running the client in FreeBSD mode.
Good suggestion, but didn't work.
Again, didn't work. Same error message.
Version 2.95
Arguments: -local -freeBSD
[18:39:47] - Ask before connecting: No
[18:39:47] - User name: jgoguen (Team 93)
[18:39:47] - User ID = 192CC9956E9E74B2
[18:39:47] - Machine ID: 1
[18:39:47]
[18:39:47] Loaded queue successfully.
[18:39:47] + Benchmarking ...
[18:39:53] - Preparing to get new work unit...
[18:39:53] + Attempting to get work packet
[18:39:53] - Connecting to assignment server
[18:39:54] - Successful: assigned to (171.67.89.100).
[18:39:54] + News From Folding@Home: Welcome to Folding@Home
[18:39:54] Loaded queue successfully.
[18:39:55] - Deadline time not received.
[18:39:58] + Closed connections
[18:39:58]
[18:39:58] + Processing work unit
[18:39:58] Core required: FahCore_78.exe
[18:39:58] Core found.
[18:39:58] Working on Unit 05 [May 13 18:39:58]
[18:39:58] + Working ...
sh: error while loading shared libraries: libtermcap.so.2: cannot open shared object file: No such file or directory
[18:39:58] CoreStatus = 7F (127)
[18:39:58] Client-core communications error: ERROR 0x7f
[18:39:58] Deleting current work unit & continuing...
sh: error while loading shared libraries: libtermcap.so.2: cannot open shared object file: No such file or directory
[18:39:58] - Preparing to get new work unit...
[18:39:58] + Attempting to get work packet
[18:39:58] - Connecting to assignment server
[18:39:58] - Successful: assigned to (171.67.89.100).
[18:39:58] + News From Folding@Home: Welcome to Folding@Home
[18:39:58] Loaded queue successfully.
[18:40:00] - Deadline time not received.
[18:40:02] + Closed connections
[18:40:07]
[18:40:07] + Processing work unit
[18:40:07] Core required: FahCore_78.exe
[18:40:07] Core found.
[18:40:07] Working on Unit 06 [May 13 18:40:07]
[18:40:07] + Working ...
And that will repeat over and over and over...until I stop the process.
Same error message as above.
As far as I can tell. Even disabled the firewall as much as I could
Think I'm going to have to. Thanks.
Well really so am I, but the security of OpenBSD was just too good fr me to pass up. If I can manage to find a firewall setup for Linux that's as good and efficient as my current /etc/pf.conf I'm going to go back to Linux. Compatibility mode just doesn't work as good as it should.
Link to Gromacs.org:
http://www.gromacs.org/
See if that helps your OpenBSD also, in supporting Core_78 which is a Gromacs core.
HTH.
I dont know much about Linux Distros so I dont know if the Open and free are the same or even somewhat similar. Hope that sticky helps.