Ntnio
Posts: 4
Joined: Wed Sep 07, 2011 2:05 pm

Re: Boinc in Rapsberry?

Wed Sep 07, 2011 3:19 pm

Hello :)

I have a question about Rapsberry:
Will Boinc work in Raspberry?

The project in my mind are some Raspberry boards doing some boinc projects 24/7, I know that will be better use a normal pc in terms of CPU, but i like the idea of low power use and being fanless.

Thanks in advance and keep on the good work :)

PS: I´m sorry about my english

User avatar
emercer
Posts: 165
Joined: Sun Aug 07, 2011 1:54 am
Location: Sao Paulo, Brazil
Contact: Website

Re: Boinc in Rapsberry?

Wed Sep 07, 2011 5:26 pm

I believe you can get BOINC for Debian on ARM. Instructions @ http://wiki.debian.org/BOINC#I.....stallation

pieter
Posts: 34
Joined: Mon Aug 22, 2011 7:12 am
Contact: Website

Re: Boinc in Rapsberry?

Thu Sep 08, 2011 2:12 pm

http://packages.debian.org/squ.....inc-client
It's part of debian stable so it's only a apt-get install boinc-client away :-)

Don't know how usefull r-pi will be for boinc considering it's limited computing power though.

Ntnio
Posts: 4
Joined: Wed Sep 07, 2011 2:05 pm

Re: Boinc in Rapsberry?

Thu Sep 08, 2011 10:29 pm

I know that a Pc just brought in a store will have more computing power, but my home has only 3k3 Watts and I can´t afford having 300W or 400W computer (im using a laptop because if I use a tower computer and I plug the TV in the living room the light goes off!)

obarthelemy
Posts: 1399
Joined: Tue Aug 09, 2011 10:53 pm

Re: Boinc in Rapsberry?

Thu Sep 08, 2011 10:40 pm

Is it really worth it to do BOINC stuff then ?

Ntnio
Posts: 4
Joined: Wed Sep 07, 2011 2:05 pm

Re: Boinc in Rapsberry?

Fri Sep 09, 2011 12:05 am

I dont know until I try it, i will pruchase one model B when it comes avaliable to test if it works and how many time takes to complete something.
Will be funny!

richard77
Posts: 12
Joined: Fri Oct 28, 2011 7:35 pm

Re: Boinc in Rapsberry?

Fri Oct 28, 2011 8:53 pm

Even if you can install boinc, it will be little use if there are no application.
AFAIK, the only project releasing an application for ARM is Correlizer, but ARM is such a wide ecosystem with different instruction sets, that it could be that it is not compatible with RPi

Sunday
Posts: 2
Joined: Tue Nov 13, 2012 10:09 am

Re: Boinc in Rapsberry?

Tue Nov 13, 2012 10:10 am

There is also Enigma@home which runs (so far, 9 hours into the first wu, 28 hours left). I will also add Correlizer and see if it runs :)

Sunday
Posts: 2
Joined: Tue Nov 13, 2012 10:09 am

Re: Boinc in Rapsberry?

Tue Nov 13, 2012 7:10 pm

I have tried Correlizer on my Pi. It says "This project doesn't support computers of type 'arm-unknown-linux-gnueabihf'". Maybe this is only an unfortunate mismatch between the computer-types the Correlizer people thought of and the one my pi reports. Can this be changed somewhere or how can I find out what types are really supported? If i have time I will look into this a bit further...

User avatar
Ray_GTI-R
Posts: 96
Joined: Fri Mar 09, 2012 1:21 am
Contact: Website

Re: Boinc in Rapsberry?

Thu Nov 22, 2012 12:52 am

I have installed BOINC on my RPi but the last time I checked there were only two projects (Quake Catcher and Radioactive@Home that supported ARM in that way - I haven't tried Enigma. Neither qc nor R@H work "just like that" as they require additional hardware sensors etc.

An alternative for someone much brighter than me (!) is to use - or rather build - NativeBOINC on an RPi for use under e.g., Raspbian then release it as an app for us all to start crunching.

The source code for NativeBOINC provided by the genius that is "matszpk" here:- https://github.com/matszpk/native-boinc-for-android/
FWIW1 I use NativeBOINC to run TWO tasks on ONE core on a cheap generic tablet via Android 2.whatever.
FWIW2 I use NativeBOINC to run FIVE tasks on a FOUR core ODROID-X via Android 4.whatever
FWIW3 My "adventures" with Android on the RPi are reported elsewhere. Frankly I just got bored being flamed repeatedly about Android on the RPi (by a Moderator!).

User avatar
dcarrion87
Posts: 36
Joined: Fri Nov 23, 2012 9:51 am
Location: Australia

Re: Boinc in Rapsberry?

Fri Nov 23, 2012 10:06 am

Someone might be interested in a little instructional I put together on getting BOINC running with SETI on Raspbian. I'm still waiting for my first work unit to complete and bring back results, but looks promising. Should know for sure in 2 days.

http://burdeview.blogspot.com.au/p/rasp ... eated.html

There needs to be more enthusiasts involved in actively getting these projects working on ARM platforms. These guys have done a great job - http://nativeboinc.org/site/uncat/start.

With ARM processors getting faster and more efficient instruction sets coming on board, it really is becoming a viable option for number crunching. You're starting to see some fairly kick arse graphics processors being attached to these little eval boards too!

I'm going to get more active in this arena and try and port the main ones to natively run on Raspbian.

KeithSloan
Posts: 321
Joined: Tue Dec 27, 2011 9:09 pm

Re: Boinc in Rapsberry?

Tue Nov 27, 2012 10:21 pm

Hi Daniel

Okay I make it 4 days since your post. Any news? Did you get a result from SETI@home.

Any progress on looking at Einstein@home?

User avatar
dcarrion87
Posts: 36
Joined: Fri Nov 23, 2012 9:51 am
Location: Australia

Re: Boinc in Rapsberry?

Tue Nov 27, 2012 10:31 pm

The job completed and reported, waiting for result back from SETI@home:

http://setiathome.berkeley.edu/result.p ... 2723794041

Ever since their database problems a week back it's been taking a long time to get validation.

I have MilkyWay@home separation task running at the moment. A lot slower going than SETI.

I haven't tried Einstein yet as my Raspberry Pi has been chugging away. Should be receiving additional Pis today do some more compiling/testing.

I'm also working with the guys over at POGS http://ec2-23-23-126-96.compute-1.amazonaws.com/pogs/ to get anonymous platform support so they can get ARM based versions going (Raspberry Pi, Android Phones, etc...)

You can follow my blog if you want, I will be posting things as I go.

User avatar
dcarrion87
Posts: 36
Joined: Fri Nov 23, 2012 9:51 am
Location: Australia

Re: Boinc in Rapsberry?

Sat Dec 01, 2012 2:24 am

Here's an update for you.

MikyWay@Home - Confirmed working and validating.
SETI@Home - Still waiting! Hopefully my task will get re-shipped for validation soon.
theSkyNet POGS - Confirmed working on dedicated test platform. Project lead will release anonymous platform support to production after checking results over weekend.

Check my page for updated binaries.

http://burdeview.blogspot.com.au/p/rasp ... eated.html

Bikeman
Posts: 63
Joined: Sun Nov 04, 2012 9:03 pm
Location: near Hannover, Germany

Re: Boinc in Rapsberry?

Sun Dec 02, 2012 2:36 pm

Hi!

I'm one of the project admins and scientific software engineers at the BOINC project "Einstein@Home" http://einstein.phys.uwm.edu . We currently do not support ARM CPUs, but the source code for the app that would run best on the RasPi, the BRP4 search for radio pulsars, is under GPL open source license and therefore readily available, ports to other platforms are welcome.

After getting my own Raspi, I just couldn't resist to try Einstein@Home on it (under Raspian), just for the fun of it.

With rather minor modifications of the build scripts and the application source code itself, I got the BRP4 search app compiled and running on the Raspi. Of course, the ARMv6 was never meant to be a number cruncher, so the performance is, well, moderate ;-) :
  • On a Raspi overclocked to 950 Mhz, a BRP4 task finished in 12 days
  • For comparison: On a mid-range PC with a (multicore) Intel CPU, each core can finish a BRP4 task in roughly 12 hours
  • There is also a GPU version of the BRP4 app for NVIDIA and ATI/AMD card, and there a task takes only 12 minutes or less on a fast card
The deadline for returning results is 14 days, so you would have to run Einstein@Home on a Raspi almost 24/7 to meet the deadline. I am currently working on some improvements that would bring the completion time closer to 10 CPU days. Too bad we cannot use the GPU on the Raspi for general purpose calculations (FFT would be the most interesting thing to put on the GPU in this case).

So I'm not quite sure if anyone would really care to run Einstein@Home on the Raspi in the current form and whether it would make sense to offer an official app for it, given the long crunching time.

With some modifications to our project infrastructure (work generators, task validators, ...) we would be able to generate tasks that are 1/8 the size of current tasks, so they would complete in under two days). But this will not happen in 2012, maybe in the first half of 2013.

Anyway, nuff of the rambling: if you are interested in beta-testing E@H on your Raspi, let me know in this forum and if there is sufficient interest I can put together a HOWTO. Who knows, you could be the first one to discover a celestial body on a Raspi (all discoverers get a framed certificate and are mentioned in the scientific publication that describes the discovery).

Cheers
Heinz-Bernd Eggenstein
(working for the Max-Planck-Institute of Gravitational Physics, Hannover, Germany)

P.S.: Some more background information on Einstein@Home:
The primary goal of Einstein@Home is analysing data from Gravitational Wave detectors like LIGO in the US. A 'Gravitational Wave' is a phenomenon that was predicted by Albert Einstein almost 100 years ago as a consequence of General Relativity, but are extremely difficult to measure directly, something that still needs to be done. Secondary searches involve more conventional objectives like discovering new pulsars in data from radio telescopes like Arecibo (Puerto Rico) and Parkes (Australia), and so far almost 50 such discoveries have been announced by Einstein@Home. Another search is looking at data from the FERMI spacecraft to discover pulsars in gamma-ray detector data.
Pulsars are spinning 'neutron stars', extremely dense remnants of stars after they collapse in a Super Nova (for stars that are not heavy enough to collapse even further into Black Holes).

More info: http://einstein.phys.uwm.edu

User avatar
dcarrion87
Posts: 36
Joined: Fri Nov 23, 2012 9:51 am
Location: Australia

Re: Boinc in Rapsberry?

Sun Dec 02, 2012 3:47 pm

Hi Heinz-Bernd

Firstly, great post!

I saw your post over on my blog. I don't remember modifying any source, however, I did change the compile options when I manually compiled with g++. I will respect the GPL licensing requirements and post what I can. I haven't got around to setting up a GIT repo yet.

In regards to the performance, you're not wrong. It's taking quite a while to get this E@H task done. Definitely not a candidate compared to SETI@Home which took ~2 days.

Should you guys officially support Raspberry Pi over at E@H? I think that projects should support ARMv6 and ARMv7 in general or at least provide some sort of community direction. The Raspberry Pi doesn't have the ARMv7 NEON instruction set (for example), but it's popular, it's ARM, and it's cheap. Why not build more community awareness and interest in E@H by setting up an ARM section in forums for Android, Raspbian, Archlinux, etc... ARM users and enthusiasts? From what you're saying, the E@H project team members are already trying these things anyway!

On that note, I'd also be curious to see if E@H have been doing any testing with NativeBOINC on Android. I'm only starting to play with the NDK and E@H BRP will be on my list of additional apps to try and port.

Cheers

Daniel

Bikeman
Posts: 63
Joined: Sun Nov 04, 2012 9:03 pm
Location: near Hannover, Germany

Re: Boinc in Rapsberry?

Sun Dec 02, 2012 6:21 pm

Hi!

We are planning to look into Boinc on Android in the near future, probably focusing on ARMv7 w/ NEON. Together with the re-packing of workunits that I mentioned (1/8 the current size), we would get into the same range for job completion as SETI.

Cheers
HB

cgcasasg
Posts: 4
Joined: Sat Aug 11, 2012 2:18 am

Re: Boinc in Rapsberry?

Sun Dec 02, 2012 9:21 pm

Do you guys know if there is a rendering project for boinc?

Bikeman
Posts: 63
Joined: Sun Nov 04, 2012 9:03 pm
Location: near Hannover, Germany

Re: Boinc in Rapsberry?

Mon Dec 03, 2012 7:38 am

Something like this?

http://burp.renderfarming.net/

Cheers
HBE

User avatar
Un4Seen
Posts: 330
Joined: Wed Oct 31, 2012 8:43 am
Location: Cluj-Napoca, Romania
Contact: Website

Re: Boinc in Rapsberry?

Thu Dec 06, 2012 1:34 am

Hi!

I'm having problems running BOINC and Seti@Home on my RPI. I'm a Linux beginner. Please advise if you can.

I've followed dcarrion87's instructions (http://burdeview.blogspot.com.au/p/rasp ... eated.html) in the hope that I can get Seti@Home running on my Raspberry Pi.

Unfortunately one of the very first steps failed:

Code: Select all

svn co http://boinc.berkeley.edu/svn/tags/boinc_core_release_6_12_34/boinc
I can't remember the error exactly but it seemd that svn was unable to find boinc or something...

This forced me to use the BOINC starting package provided here: https://dl.dropbox.com/s/9a6k848ta0msh5 ... cpi.tar.gz

I've executed the following steps from /usr/local/src/boinc:

Code: Select all

# ./_autosetup
# ./configure --disable-server
# make
# make install
# mkdir /var/lib/boinc
# /usr/local/bin/boinc --daemon --redirectio --dir /var/lib/boinc
It did take a long time to complete these steps, but it worked. After that I've executed the following steps from /urs/local/src/seti_boinc:

Code: Select all

# ./_autosetup
# ./configure –disable-server
# make
Proceeded with this:

Code: Select all

# mkdir -p /var/lib/boinc/projects/setiathome.berkeley.edu
# cd /var/lib/boinc/projects/setiathome.berkeley.edu
# cp /usr/local/src/seti_boinc/client/setiathome-6.12.armv6l-unknown-linux-gnu setiathome_enhanced
# vi app_info.xml
and I added the necessary contents to the xml provided in the instructions.

If I try to run any of the following two commands, I get an autentication error:

Code: Select all

# boinccmd --lookup_account http://setiathome.berkeley.edu my@email.com password
# boinccmd --project_attach http://setiathome.berkeley.edu 123abc
The exact error that I get is:

Code: Select all

Error -155: authentication error
Note that I am using the correct email and password (can log in from the Seti@Home homepage) and I am using the correct account key (got iy from my account page , from Seti@Home).

I've done some digging on the internet, especially here: http://boinc.berkeley.edu/dev/forum_thread.php?id=7168
I have edited the /var/lib/boinc/gui_rpc_auth.cfg file. It contained a wrong account key. I replaced it with mine. Still the same error. I cleared the contents of this file. Still the same error.

I tried restarting the BOINC service like this:

Code: Select all

serivice boinc-client restart
It fails to start up, saying: "ERROR: user boinc does not exist."


If you know what is wrong, please let me know.

Thank you!
Andras
http://iqjar.com

User avatar
dcarrion87
Posts: 36
Joined: Fri Nov 23, 2012 9:51 am
Location: Australia

Re: Boinc in Rapsberry?

Thu Dec 06, 2012 1:38 am

I'm guessing your init script at /etc/init.d/boinc-client is set to invoke boinc as user 'boinc'? Did you create a boinc user account with /var/lib/boinc (or wherever your data dir is) as it's home directory?

User avatar
Un4Seen
Posts: 330
Joined: Wed Oct 31, 2012 8:43 am
Location: Cluj-Napoca, Romania
Contact: Website

Re: Boinc in Rapsberry?

Thu Dec 06, 2012 1:44 am

I've managed to get the boinc service to start (the user boinc does not exist error solved) by creating the boinc user and letting it own var/lib/boinc:

Code: Select all

 useradd -d /var/lib/boinc boinc
chown boinc /var/lib/boinc
So did it start working?... no such luck!

Code: Select all

root@raspberrypi:~# service boinc-client restart
Stopping BOINC client daemon:                              [FAILED]
Starting BOINC client as a daemon:  /etc/init.d/boinc-client: line 417: [: 29878: binary operator expected
Andras
http://iqjar.com

User avatar
dcarrion87
Posts: 36
Joined: Fri Nov 23, 2012 9:51 am
Location: Australia

Re: Boinc in Rapsberry?

Thu Dec 06, 2012 1:51 am

I'll link you a working init script in a sec. For testing you should just be able to (as root):

Code: Select all

su - boinc -c "/usr/local/bin/boinc --daemon --check_all_logins --redirectio --dir /var/lib/boinc"
Change /var/lib/boinc to wherever you have your data going.

I never got around to linking a better init script on the site...Sorry.
Last edited by dcarrion87 on Thu Dec 06, 2012 1:51 am, edited 1 time in total.

User avatar
Un4Seen
Posts: 330
Joined: Wed Oct 31, 2012 8:43 am
Location: Cluj-Napoca, Romania
Contact: Website

Re: Boinc in Rapsberry?

Thu Dec 06, 2012 1:51 am

Un4Seen wrote:I've managed to get the boinc service to start (the user boinc does not exist error solved) by creating the boinc user and letting it own var/lib/boinc:

Code: Select all

 useradd -d /var/lib/boinc boinc
chown boinc /var/lib/boinc
So did it start working?... no such luck!

Code: Select all

root@raspberrypi:~# service boinc-client restart
Stopping BOINC client daemon:                              [FAILED]
Starting BOINC client as a daemon:  /etc/init.d/boinc-client: line 417: [: 29878: binary operator expected
The line that it's complaining about is this one:

Code: Select all

416: PID=`local_pidof $BOINCEXE_NAME`
417: if [ $PID ]; then
Something wrong with the process ID, I guess...
Andras
http://iqjar.com

User avatar
Un4Seen
Posts: 330
Joined: Wed Oct 31, 2012 8:43 am
Location: Cluj-Napoca, Romania
Contact: Website

Re: Boinc in Rapsberry?

Thu Dec 06, 2012 1:54 am

dcarrion87 wrote:I'll link you a working init script in a sec. For testing you should just be able to (as root):

Code: Select all

su - boinc -c "/usr/local/bin/boinc --daemon --check_all_logins --redirectio --dir /var/lib/boinc"
Change /var/lib/boinc to wherever you have your data going.

I never got around to linking a better init script on the site...Sorry.
You really do offer instant help :) Thank you! I really appreciate it!
Andras
http://iqjar.com

Return to “General discussion”