Message boards : Number crunching : Does it support freebsd? Yes. [solved]
Author | Message |
---|---|
Sony Send message Joined: 9 Jan 07 Posts: 2 Credit: 379 RAC: 0 |
when i run the boinc, it shown: Message from server: platform 'i386-portbld-freebsd' not found |
Mats Petersson Send message Joined: 29 Sep 05 Posts: 225 Credit: 951,788 RAC: 0 |
This should probably go into the number crunching section of the forum, but the answer is: No, *BSD is not currently supported by Rosetta - no way to say if it will be in the future or not. Perhaps a moderator can move the thread. -- Mats |
Mod.Tymbrimi Volunteer moderator Send message Joined: 22 Aug 06 Posts: 148 Credit: 153 RAC: 0 |
|
Mats Petersson Send message Joined: 29 Sep 05 Posts: 225 Credit: 951,788 RAC: 0 |
Well, it may be possible to trick a FreeBSD into running a Linux image (for example - I doubt that Windows image will work at all!), but I don't know if that's going to work well. As far as I know, the only Unices that are supported are: Linux x86, 32-bit. MacOS X x86, ppc, 32-bit. -- Mats |
Dotsch Send message Joined: 12 Feb 06 Posts: 111 Credit: 241,803 RAC: 0 |
moved from science forum. Not suported by Rosetta : HP-UX, Solaris, AIX, IRIX, TRU64, FreeBSD, NetBSD, OpenBSD and Linux on non x86 hardware (SPARC, HPPA, MIPS, PPC and Alpha). For the most platforms are BOINC clients on the third party site available. Did the project plan to port to the major Unix platforms ? - Some major Unix platforms (HP-UX on PARISC and IA64, Solaris on SPARC and x86, and FreeBSD on i386) generate a very good throughtput on SETI and SIMAP. It is posible, to let the Linux binaries running on OpenBSD x86 and FreeBSD x86, if the Linux binary compatibility would be installed. |
alpha Send message Joined: 4 Nov 06 Posts: 27 Credit: 1,550,107 RAC: 0 |
Granted, I haven't tried getting the Linux application running on FreeBSD using Linux emulation, but I don't see why we can't have a native FreeBSD application for a project with such popularity as this. What would it take to get this to happen? A petition of 25 or 50 people? Any project that doesn't support FreeBSD is losing contributors! I'd much rather be running Rosetta than Einstein on my FreeBSD boxes, but Einstein is one of the few (3!) BOINC projects that support FreeBSD. A lot of the time, getting source code written for Linux to compile on FreeBSD is trivial. |
Dotsch Send message Joined: 12 Feb 06 Posts: 111 Credit: 241,803 RAC: 0 |
Granted, I haven't tried getting the Linux application running on FreeBSD using Linux emulation, but I don't see why we can't have a native FreeBSD application for a project with such popularity as this. Full Ack ! Ports for the mayor Unixes (see list in my previous posting) are good for the image of the project and get a good thoughtput. I hope, that the project will think about this. Also, I have several times offered the project peoples to assist or help to port the application to the different Unixes, but they blocked every time. |
Mats Petersson Send message Joined: 29 Sep 05 Posts: 225 Credit: 951,788 RAC: 0 |
Whilst I understand that owning a machine without support for Rosetta is disappointing, I also understand the developers point of view of supporting more architectures. Building an application for a different architecture isn't too difficult. However, verifying that it's still calculating the exact same result can be. Different software and hardware architectures have different math-libraries, that in turn have different sets of bugs. Rosetta isn't a simple application either, it's MANY thousand lines of code, and with some pretty hairy bits of code (my personal opinion) to try to optimize the compiled result without resorting to writing assembler code or some such. This makes it more fragile than your average "written to be portable" code. And every time the source code is updated, it needs to be tested on all platforms, to verify that all of them are working correctly. -- Mats |
Faust Send message Joined: 7 Sep 06 Posts: 14 Credit: 49,559 RAC: 0 |
Hey, check this out : BOINC + FreeBSD = Success Yes it is on the WCG forums .. but it looks like it's designed for BOINC and not project specific. Might be worth to check if it works for Rosetta as well. Faust. |
alpha Send message Joined: 4 Nov 06 Posts: 27 Credit: 1,550,107 RAC: 0 |
Building an application for a different architecture isn't too difficult. However, verifying that it's still calculating the exact same result can be. Not a problem. This is exactly why the FreeBSD application for Einstein@Home is declared beta. Definitely not a reason why this can't happen. Faust: that looks quite promising. I hope to try it later! Who knows if results produced by a client running the Linux application emulated on FreeBSD will produce valid results? It could be more damaging than the bother of compiling a native FreeBSD version. |
alpha Send message Joined: 4 Nov 06 Posts: 27 Credit: 1,550,107 RAC: 0 |
So far so good. Before anything would work, I had to do a quick: $ brandelf -t Linux /var/db/boinc/projects/boinc.bakerlab.org_rosetta/rosetta_5.43_i686-pc-linux-gnu Thereafter: [rosetta@home] Starting task 1r69__BOINC_NOFILTERS_ABRELAX_SAVE_ALL_OUT_NEWRELAXFLAGS_frags83__1505_4246_0 using rosetta version 543 [rosetta@home] Starting task 4ubpA_BOINC_ABRELAX_frags83__1507_1888_0 using rosetta version 543 On my P3 933 dually. |
alpha Send message Joined: 4 Nov 06 Posts: 27 Credit: 1,550,107 RAC: 0 |
[rosetta@home] Computation for task 1r69__BOINC_NOFILTERS_ABRELAX_SAVE_ALL_OUT_NEWRELAXFLAGS_fra gs83__1505_4246_0 finished [rosetta@home] Computation for task 4ubpA_BOINC_ABRELAX_frags83__1507_1888_0 finished One has been reported and looks good! |
alpha Send message Joined: 4 Nov 06 Posts: 27 Credit: 1,550,107 RAC: 0 |
23 validated work units. So it is probably safe to say that this works fine. Anyone else gonna give it a go? Edit: it would be great if this thread could get stickied, or at least have the subject renamed to append "[SOLVED!]" or something. |
dcdc Send message Joined: 3 Nov 05 Posts: 1831 Credit: 119,384,475 RAC: 9,496 |
well done ;) |
Mod.Tymbrimi Volunteer moderator Send message Joined: 22 Aug 06 Posts: 148 Credit: 153 RAC: 0 |
|
alpha Send message Joined: 4 Nov 06 Posts: 27 Credit: 1,550,107 RAC: 0 |
Thanks guys! :D |
Faust Send message Joined: 7 Sep 06 Posts: 14 Credit: 49,559 RAC: 0 |
Glad it works :) Maybe it would work for other projects as well .. should be tested though. Faust. |
alpha Send message Joined: 4 Nov 06 Posts: 27 Credit: 1,550,107 RAC: 0 |
First problem has arisen: 2007-01-29 09:36:29 [---] Suspending computation - running CPU benchmarks 2007-01-29 09:36:29 [rosetta@home] Pausing task 1ptq__BOINC_ABRELAX_NEWRELAXFLAGS_frags83__1521_2037_0 (removed from memory) 2007-01-29 09:36:29 [rosetta@home] Pausing task 1shfA_BOINC_ABRELAX_NEWRELAXFLAGS_frags83__1522_2189_0 (removed from memory) 2007-01-29 09:36:29 [---] Suspending network activity - running CPU benchmarks *** glibc detected *** corrupted double-linked list: 0x09b24560 *** 2007-01-29 09:36:31 [---] Running CPU benchmarks 2007-01-29 09:36:39 [---] Failed to stop applications; aborting CPU benchmarks 2007-01-29 09:36:39 [---] Failed to stop applications; aborting CPU benchmarks 2007-01-29 09:36:40 [---] Resuming computation 2007-01-29 09:36:40 [---] Rescheduling CPU: Resuming computation 2007-01-29 09:36:40 [---] Resuming network activity 2007-01-29 09:36:40 [---] Process 79889 not found 2007-01-29 09:36:40 [---] Process 79889 not found 2007-01-29 09:36:41 [---] Process 21004 not found 2007-01-29 09:36:41 [---] Process 21004 not found Both processors are now sitting idle. I'm going to give it a little longer to see what happens. I'll post again later. I'm surprised that a problem has only just occurred because I have had it running 24/7 for 5 days now. |
Faust Send message Joined: 7 Sep 06 Posts: 14 Credit: 49,559 RAC: 0 |
There are a few other hacks over the thread. From page 5 : "let me finialize the step. # cd /usr/ports/emulators/linux_base-fc4# make install distclean# cd /usr/ports/net/boinc-client# make patch# vi Makefile add --with-boinc-platform=i686-pc-linux-gnu after CONFIGURE_ARGS=--disable-server # make install clean " Page 4 : "I got it working without the help of this thread. After hours of searching and with some help I did simply add the line: first you update your ports tree. then go to /usr/ports/net/boinc-client Then you add --with-boinc-platform=i686-pc-linux-gnu behind: CONFIGURE_ARGS=--disable-server Simply run: make install clean Add following to the /etc/rc.conf to enable BOINC client: boinc_enable="YES" Then start BOINC client with /usr/local/etc/rc.d/boinc* start if you shutdown and restart the computer boinc will be automatically started as a service. Now follow the instructions on how to add a project." So it's basiclly some sort of a linux emulation so you got to have these "# cd /usr/ports/emulators/linux_base-fc4 # make install distclean or start sysinstall -> configure-> startup enable linux it will be automatically installed" Since I know nothing about this you'll need to look it over and see what you can do .. GL Faust. |
alpha Send message Joined: 4 Nov 06 Posts: 27 Credit: 1,550,107 RAC: 0 |
Yeah, nothing will work until you've done most of that. I didn't bother reposting it in this thread since I figured anyone interested in making it work would've followed your link anyway. |
Message boards :
Number crunching :
Does it support freebsd? Yes. [solved]
©2024 University of Washington
https://www.bakerlab.org