Does it support freebsd? Yes. [solved]

Message boards : Number crunching : Does it support freebsd? Yes. [solved]

To post messages, you must log in.

AuthorMessage
Sony

Send message
Joined: 9 Jan 07
Posts: 2
Credit: 379
RAC: 0
Message 35029 - Posted: 18 Jan 2007, 16:39:14 UTC

when i run the boinc, it shown: Message from server: platform 'i386-portbld-freebsd' not found



ID: 35029 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Mats Petersson

Send message
Joined: 29 Sep 05
Posts: 225
Credit: 951,788
RAC: 0
Message 35030 - Posted: 18 Jan 2007, 16:48:57 UTC

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


ID: 35030 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Mod.Tymbrimi
Volunteer moderator
Avatar

Send message
Joined: 22 Aug 06
Posts: 148
Credit: 153
RAC: 0
Message 35050 - Posted: 18 Jan 2007, 23:33:48 UTC
Last modified: 27 Jan 2007, 1:39:37 UTC

moved from science forum.

Which flavors of Linux/Unix aren't supported? And are there tricks to getting it to run under those OSes that aren't directly supported?
Rosetta Moderator: Mod.Tymbrimi
ROSETTA@home FAQ
Moderator Contact
ID: 35050 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Mats Petersson

Send message
Joined: 29 Sep 05
Posts: 225
Credit: 951,788
RAC: 0
Message 35068 - Posted: 19 Jan 2007, 11:36:26 UTC

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
ID: 35068 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Dotsch
Avatar

Send message
Joined: 12 Feb 06
Posts: 111
Credit: 241,803
RAC: 0
Message 35204 - Posted: 21 Jan 2007, 14:58:49 UTC - in response to Message 35050.  
Last modified: 21 Jan 2007, 15:01:18 UTC

moved from science forum.

Which flavors of Linux/Unix aren't supported? And are there tricks to getting it to run under those OSes that aren't directly supported?

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.
ID: 35204 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile alpha

Send message
Joined: 4 Nov 06
Posts: 27
Credit: 1,550,107
RAC: 0
Message 35281 - Posted: 22 Jan 2007, 10:51:56 UTC

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.
ID: 35281 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Dotsch
Avatar

Send message
Joined: 12 Feb 06
Posts: 111
Credit: 241,803
RAC: 0
Message 35316 - Posted: 22 Jan 2007, 18:02:26 UTC - in response to Message 35281.  

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.

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.
ID: 35316 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Mats Petersson

Send message
Joined: 29 Sep 05
Posts: 225
Credit: 951,788
RAC: 0
Message 35405 - Posted: 23 Jan 2007, 17:35:23 UTC

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
ID: 35405 · Rating: -1 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Faust

Send message
Joined: 7 Sep 06
Posts: 14
Credit: 49,559
RAC: 0
Message 35419 - Posted: 23 Jan 2007, 21:48:55 UTC

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.
ID: 35419 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile alpha

Send message
Joined: 4 Nov 06
Posts: 27
Credit: 1,550,107
RAC: 0
Message 35436 - Posted: 24 Jan 2007, 8:11:59 UTC - in response to Message 35405.  

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.
ID: 35436 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile alpha

Send message
Joined: 4 Nov 06
Posts: 27
Credit: 1,550,107
RAC: 0
Message 35438 - Posted: 24 Jan 2007, 9:53:49 UTC

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.
ID: 35438 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile alpha

Send message
Joined: 4 Nov 06
Posts: 27
Credit: 1,550,107
RAC: 0
Message 35444 - Posted: 24 Jan 2007, 12:42:16 UTC
Last modified: 24 Jan 2007, 12:45:11 UTC

[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!
ID: 35444 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile alpha

Send message
Joined: 4 Nov 06
Posts: 27
Credit: 1,550,107
RAC: 0
Message 35568 - Posted: 26 Jan 2007, 17:44:52 UTC
Last modified: 26 Jan 2007, 17:50:06 UTC

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.
ID: 35568 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile dcdc

Send message
Joined: 3 Nov 05
Posts: 1831
Credit: 119,384,475
RAC: 9,496
Message 35582 - Posted: 26 Jan 2007, 23:23:20 UTC

well done ;)
ID: 35582 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Mod.Tymbrimi
Volunteer moderator
Avatar

Send message
Joined: 22 Aug 06
Posts: 148
Credit: 153
RAC: 0
Message 35589 - Posted: 27 Jan 2007, 1:47:37 UTC

Because I moved it, renaming was actually an option. I'll see about having it linked in the FAQ. I look forward to seeing Sony stop back in and tell us they've got it working on Freebsd as well. Thanks for the effort, Alpha.
Rosetta Moderator: Mod.Tymbrimi
ROSETTA@home FAQ
Moderator Contact
ID: 35589 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile alpha

Send message
Joined: 4 Nov 06
Posts: 27
Credit: 1,550,107
RAC: 0
Message 35604 - Posted: 27 Jan 2007, 8:18:27 UTC

Thanks guys! :D
ID: 35604 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Faust

Send message
Joined: 7 Sep 06
Posts: 14
Credit: 49,559
RAC: 0
Message 35628 - Posted: 27 Jan 2007, 18:18:37 UTC

Glad it works :)

Maybe it would work for other projects as well .. should be tested though.
Faust.
ID: 35628 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile alpha

Send message
Joined: 4 Nov 06
Posts: 27
Credit: 1,550,107
RAC: 0
Message 35705 - Posted: 29 Jan 2007, 9:44:36 UTC

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.
ID: 35705 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Faust

Send message
Joined: 7 Sep 06
Posts: 14
Credit: 49,559
RAC: 0
Message 35708 - Posted: 29 Jan 2007, 12:42:44 UTC
Last modified: 29 Jan 2007, 12:43:42 UTC

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.
ID: 35708 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile alpha

Send message
Joined: 4 Nov 06
Posts: 27
Credit: 1,550,107
RAC: 0
Message 35720 - Posted: 29 Jan 2007, 17:15:20 UTC

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.
ID: 35720 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote

Message boards : Number crunching : Does it support freebsd? Yes. [solved]



©2024 University of Washington
https://www.bakerlab.org