Building Boinc for Einstein@Home and the Raspberry Pi 2

poppageek
poppageek
Joined: 13 Aug 10
Posts: 259
Credit: 2473733122
RAC: 0

global_prefs_override.xml has

global_prefs_override.xml has 100% on both cpu settings.

4 tried 0, -1, 4

On Computing Presences:On multiprocessors, use at most 16 processors

From log:
7 6/6/2015 5:24:05 AM Processor: 4 ARM RaspberryPi2

Attached only to E@H
Share set to 100%
Latest Raspian Wheezy 5-5-2015
Compiled Boinc using Claggy's instructions.

Have about googled this one to death.

Nice thing is runs cool!

As to first post I meant ARM not AMD :D

Claggy
Claggy
Joined: 29 Dec 06
Posts: 560
Credit: 2694028
RAC: 0

What does the Boinc startup

What does the Boinc startup in the Event Log say? It could be that you're not allocating enough memory to run four tasks, mine is set to 75% when in use, 90% when not in use,
My Boinc startup, I'm presently running four Setiathome tasks, when is suspend them all, and grab four Einstein tasks, all four start:

Quote:
Sat 06 Jun 2015 08:54:01 UTC | | Starting BOINC client version 7.2.47 for armv7l-unknown-linux-gnueabihf
Sat 06 Jun 2015 08:54:01 UTC | | log flags: file_xfer, sched_ops, task, sched_op_debug
Sat 06 Jun 2015 08:54:01 UTC | | Libraries: libcurl/7.26.0 OpenSSL/1.0.1e zlib/1.2.7 libidn/1.25 libssh2/1.4.2 librtmp/2.3
Sat 06 Jun 2015 08:54:01 UTC | | Data directory: /home/pi/BOINC
Sat 06 Jun 2015 08:54:01 UTC | | No usable GPUs found
Sat 06 Jun 2015 08:54:01 UTC | SETI@home Beta Test | Found app_info.xml; using anonymous platform
Sat 06 Jun 2015 08:54:01 UTC | SETI@home | Found app_info.xml; using anonymous platform
Sat 06 Jun 2015 08:54:01 UTC | | Host name: raspberrypi
Sat 06 Jun 2015 08:54:01 UTC | | Processor: 4 ARM
Sat 06 Jun 2015 08:54:01 UTC | | Processor features: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
Sat 06 Jun 2015 08:54:01 UTC | | OS: Linux: 3.18.14-v7+
Sat 06 Jun 2015 08:54:01 UTC | | Memory: 927.13 MB physical, 100.00 MB virtual
Sat 06 Jun 2015 08:54:01 UTC | | Disk: 14.48 GB total, 9.01 GB free
Sat 06 Jun 2015 08:54:01 UTC | | Local time is UTC +0 hours
Sat 06 Jun 2015 08:54:01 UTC | Albert@Home | URL http://albert.phys.uwm.edu/; Computer ID 12650; resource share 100
Sat 06 Jun 2015 08:54:01 UTC | SETI@home Beta Test | URL http://setiweb.ssl.berkeley.edu/beta/; Computer ID 74138; resource share 100
Sat 06 Jun 2015 08:54:01 UTC | Einstein@Home | URL http://einstein.phys.uwm.edu/; Computer ID 11741356; resource share 100
Sat 06 Jun 2015 08:54:01 UTC | SETI@home | URL http://setiathome.berkeley.edu/; Computer ID 7495179; resource share 100
Sat 06 Jun 2015 08:54:01 UTC | SETI@home | General prefs: from SETI@home (last modified 02-Feb-2015 14:45:48)
Sat 06 Jun 2015 08:54:01 UTC | SETI@home | Host location: none
Sat 06 Jun 2015 08:54:01 UTC | SETI@home | General prefs: using your defaults
Sat 06 Jun 2015 08:54:01 UTC | | Reading preferences override file
Sat 06 Jun 2015 08:54:01 UTC | | Preferences:
Sat 06 Jun 2015 08:54:01 UTC | | max memory usage when active: 695.35MB
Sat 06 Jun 2015 08:54:01 UTC | | max memory usage when idle: 834.42MB
Sat 06 Jun 2015 08:54:01 UTC | | max disk usage: 1.00GB
Sat 06 Jun 2015 08:54:01 UTC | | (to change preferences, visit a project web site or select Preferences in the Manager)
Sat 06 Jun 2015 08:54:01 UTC | | Not using a proxy
Sat 06 Jun 2015 08:54:01 UTC | | Running CPU benchmarks
Sat 06 Jun 2015 08:54:01 UTC | | Suspending computation - CPU benchmarks in progress
Sat 06 Jun 2015 08:54:33 UTC | | Benchmark results:
Sat 06 Jun 2015 08:54:33 UTC | | Number of CPUs: 4
Sat 06 Jun 2015 08:54:33 UTC | | 464 floating point MIPS (Whetstone) per CPU
Sat 06 Jun 2015 08:54:33 UTC | | 1701 integer MIPS (Dhrystone) per CPU
Sat 06 Jun 2015 11:17:55 UTC | SETI@home | General prefs: from SETI@home (last modified 02-Feb-2015 14:45:48)
Sat 06 Jun 2015 11:17:55 UTC | SETI@home | Host location: none
Sat 06 Jun 2015 11:17:55 UTC | SETI@home | General prefs: using your defaults
Sat 06 Jun 2015 11:17:55 UTC | | Reading preferences override file
Sat 06 Jun 2015 11:17:55 UTC | | Preferences:
Sat 06 Jun 2015 11:17:55 UTC | | max memory usage when active: 695.35MB
Sat 06 Jun 2015 11:17:55 UTC | | max memory usage when idle: 834.42MB
Sat 06 Jun 2015 11:17:55 UTC | | max disk usage: 1.00GB
Sat 06 Jun 2015 11:17:55 UTC | | (to change preferences, visit a project web site or select Preferences in the Manager)
Sat 06 Jun 2015 11:18:00 UTC | SETI@home | task 09oc12ac.1013.19290.438086664198.12.142.vlar_0 suspended by user
Sat 06 Jun 2015 11:18:01 UTC | SETI@home | task 01au12aa.29304.24615.438086664202.12.76_0 suspended by user
Sat 06 Jun 2015 11:18:01 UTC | SETI@home | task 01au12aa.29304.24615.438086664202.12.78_0 suspended by user
Sat 06 Jun 2015 11:18:01 UTC | SETI@home | task 04jl12ab.25531.16427.438086664204.12.50_1 suspended by user
Sat 06 Jun 2015 11:18:01 UTC | SETI@home | task 17au12aa.26687.378016.438086664199.12.254_0 suspended by user
Sat 06 Jun 2015 11:18:01 UTC | SETI@home | task 25fe13aa.10982.7429.438086664201.12.167_0 suspended by user
Sat 06 Jun 2015 11:18:01 UTC | SETI@home | task 25fe13aa.14104.16427.438086664206.12.139_0 suspended by user
Sat 06 Jun 2015 11:18:01 UTC | SETI@home | task 29au12ac.19012.3339.438086664195.12.34_1 suspended by user
Sat 06 Jun 2015 11:18:01 UTC | SETI@home | task 02dc12ad.17794.371144.438086664199.12.189_0 suspended by user
Sat 06 Jun 2015 11:18:01 UTC | SETI@home | task 26se12ad.530.21744.438086664203.12.108_1 suspended by user
Sat 06 Jun 2015 11:18:01 UTC | SETI@home | task 26se12ad.6148.19699.438086664204.12.43_1 suspended by user
Sat 06 Jun 2015 11:18:01 UTC | SETI@home | task 30my12ac.29004.19852.438086664202.12.224_1 suspended by user
Sat 06 Jun 2015 11:18:03 UTC | SETI@home | task 04my12ah.23634.1459.438086664199.12.76_0 suspended by user
Sat 06 Jun 2015 11:18:05 UTC | SETI@home | task 07my12ab.11848.3748.438086664195.12.136_0 suspended by user
Sat 06 Jun 2015 11:18:11 UTC | SETI@home | task 16oc12ac.9858.23789.438086664204.12.122_2 suspended by user
Sat 06 Jun 2015 11:18:11 UTC | SETI@home | task 07my12ab.11848.3748.438086664195.12.109_0 suspended by user
Sat 06 Jun 2015 11:18:16 UTC | Einstein@Home | work fetch resumed by user
Sat 06 Jun 2015 11:18:17 UTC | Einstein@Home | [sched_op] Starting scheduler request
Sat 06 Jun 2015 11:18:17 UTC | Einstein@Home | Sending scheduler request: To fetch work.
Sat 06 Jun 2015 11:18:17 UTC | Einstein@Home | Requesting new tasks for CPU
Sat 06 Jun 2015 11:18:17 UTC | Einstein@Home | [sched_op] CPU work request: 172800.00 seconds; 4.00 devices
Sat 06 Jun 2015 11:18:20 UTC | Einstein@Home | Scheduler request completed: got 4 new tasks
Sat 06 Jun 2015 11:18:20 UTC | Einstein@Home | [sched_op] Server version 611
Sat 06 Jun 2015 11:18:20 UTC | Einstein@Home | Project requested delay of 60 seconds
Sat 06 Jun 2015 11:18:20 UTC | Einstein@Home | [sched_op] estimated total CPU task duration: 311232 seconds
Sat 06 Jun 2015 11:18:20 UTC | Einstein@Home | [sched_op] Deferring communication for 00:01:00
Sat 06 Jun 2015 11:18:20 UTC | Einstein@Home | [sched_op] Reason: requested by project
Sat 06 Jun 2015 11:18:22 UTC | Einstein@Home | Started download of p2030.20141113.G179.63+00.65.S.b1s0g0.00000_2101.bin4
Sat 06 Jun 2015 11:18:22 UTC | Einstein@Home | Started download of p2030.20141113.G179.63+00.65.S.b1s0g0.00000.zap
Sat 06 Jun 2015 11:18:23 UTC | Einstein@Home | Finished download of p2030.20141113.G179.63+00.65.S.b1s0g0.00000_2101.bin4
Sat 06 Jun 2015 11:18:23 UTC | Einstein@Home | Finished download of p2030.20141113.G179.63+00.65.S.b1s0g0.00000.zap
Sat 06 Jun 2015 11:18:23 UTC | Einstein@Home | Started download of p2030.20141112.G191.66+00.22.N.b4s0g0.00000_3282.bin4
Sat 06 Jun 2015 11:18:23 UTC | Einstein@Home | Started download of p2030.20141112.G191.66+00.22.N.b4s0g0.00000.zap
Sat 06 Jun 2015 11:18:23 UTC | Einstein@Home | Starting task p2030.20141113.G179.63+00.65.S.b1s0g0.00000_2101_2
Sat 06 Jun 2015 11:18:25 UTC | Einstein@Home | Finished download of p2030.20141112.G191.66+00.22.N.b4s0g0.00000_3282.bin4
Sat 06 Jun 2015 11:18:25 UTC | Einstein@Home | Finished download of p2030.20141112.G191.66+00.22.N.b4s0g0.00000.zap
Sat 06 Jun 2015 11:18:25 UTC | Einstein@Home | Started download of p2030.20141112.G191.66+00.22.N.b4s0g0.00000_3283.bin4
Sat 06 Jun 2015 11:18:25 UTC | Einstein@Home | Started download of p2030.20141112.G191.66+00.22.N.b4s0g0.00000_3284.bin4
Sat 06 Jun 2015 11:18:25 UTC | Einstein@Home | Starting task p2030.20141112.G191.66+00.22.N.b4s0g0.00000_3282_1
Sat 06 Jun 2015 11:18:26 UTC | Einstein@Home | Finished download of p2030.20141112.G191.66+00.22.N.b4s0g0.00000_3283.bin4
Sat 06 Jun 2015 11:18:26 UTC | Einstein@Home | Finished download of p2030.20141112.G191.66+00.22.N.b4s0g0.00000_3284.bin4
Sat 06 Jun 2015 11:18:26 UTC | Einstein@Home | Starting task p2030.20141112.G191.66+00.22.N.b4s0g0.00000_3284_0
Sat 06 Jun 2015 11:18:26 UTC | Einstein@Home | Starting task p2030.20141112.G191.66+00.22.N.b4s0g0.00000_3283_0
Sat 06 Jun 2015 11:18:33 UTC | SETI@home | task 16oc12ac.9858.23789.438086664204.12.122_2 resumed by user
Sat 06 Jun 2015 11:18:33 UTC | SETI@home | task 07my12ab.11848.3748.438086664195.12.109_0 resumed by user

Claggy

poppageek
poppageek
Joined: 13 Aug 10
Posts: 259
Credit: 2473733122
RAC: 0

Thanks Claggy, increasing

Thanks Claggy, increasing memory use at idle to 75% fixed it. All 4 cores loaded now. :-)

I also seem to be having a problem with the /etc/fftw/wisdomf file being read. After 18 hours it is showing 86% progress.

As per other thread I made sure file and directory were readable by Boinc.

Cheers!

poppageek
poppageek
Joined: 13 Aug 10
Posts: 259
Credit: 2473733122
RAC: 0

I meant 75% when computer in

I meant 75% when computer in use. :-/

Finished first 3 WUs at 75K seconds.

poppageek
poppageek
Joined: 13 Aug 10
Posts: 259
Credit: 2473733122
RAC: 0

RE: drwxr-xr-x 2 root

Quote:

drwxr-xr-x 2 root root 4096 Jun 7 22:23 fftw

pi@raspberrypi2 /etc/fftw $ ls -l
total 4
-rw-r--r-- 1 root root 2134 Jun 7 22:23 wisdomf
pi@raspberrypi2 /etc/fftw $

pi@raspberrypi2 /etc/fftw $ cat wisdomf

(fftw-3.3.2 fftwf_wisdom #x4a633eef #xb5a95564 #x91014bdd #x9c85ce5f
(fftwf_codelet_n2fv_6_neon 0 #x10048 #x10048 #x0 #xb9cbc22e #xf75981ec #xfe7fc97d #xa7ef9237)
(fftwf_dft_vrank_geq1_register 0 #x10048 #x10048 #x0 #x09d6f37d #x36ae1044 #x6551932c #x0ec9837f)
(fftwf_codelet_q1_2 0 #x11048 #x11048 #x0 #x460f2bdc #x4aa37cb4 #x5c9974cb #x6f00dfca)
(fftwf_codelet_hc2cfdftv_4_neon 0 #x11048 #x11048 #x0 #xc338dbbd #x81477318 #xc96aed6b #xb15ea60a)
(fftwf_dft_vrank_geq1_register 0 #x10048 #x10048 #x0 #x67d50d3b #x1369bee7 #x0bbec497 #x32eabb65)
(fftwf_codelet_t2_8 0 #x10048 #x10048 #x0 #xf837784a #xe72939cb #x379e76e3 #x8e126882)
(fftwf_dft_vrank_geq1_register 0 #x10048 #x10048 #x0 #x1571fa10 #x389121a2 #xcbdf20c7 #x758fc9be)
(fftwf_dft_nop_register 0 #x11048 #x11048 #x0 #xe1547730 #xce0f0276 #x1f492e5e #xa455fbfa)
(fftwf_codelet_t2_8 0 #x10048 #x10048 #x0 #x8ea619df #xab3fb47d #x8f464445 #x0f6cea27)
(fftwf_rdft_rank0_register 3 #x11048 #x11048 #x0 #xa3218bf8 #x1e4e02e5 #xf3ad505f #xc8d6e15d)
(fftwf_dft_buffered_register 0 #x11048 #x11048 #x0 #x617ea872 #x4f8387c0 #xc0e3f3b1 #x32b873cd)
(fftwf_dft_vrank_geq1_register 0 #x11048 #x11048 #x0 #x70b600d6 #xe07ee625 #xbdfc11e2 #x38581e93)
(fftwf_dft_r2hc_register 0 #x11048 #x11048 #x0 #x92778231 #xf2c5be82 #xbf854e1f #xcdce7520)
(fftwf_codelet_r2cfII_4 2 #x11048 #x11048 #x0 #x583c6dad #xcad0b14f #xd60d8871 #x3c3e732b)
(fftwf_dft_vrank_geq1_register 0 #x10048 #x10048 #x0 #x15de8f80 #xf5ad0971 #xfb949337 #x44106823)
(fftwf_codelet_t3fv_4_neon 0 #x10048 #x10048 #x0 #x463dc2ec #xe48ba2db #x8a49b157 #x2a8a8635)
(fftwf_codelet_t2fv_16_neon 0 #x10048 #x10048 #x0 #x6beedaf2 #x6ed72333 #x36accb1e #xaee780f5)
(fftwf_dft_vrank_geq1_register 0 #x11048 #x11048 #x0 #x1f032d84 #x8c4d1b96 #xdb1f2c30 #xb7dd028c)
(fftwf_codelet_q1_8 0 #x11048 #x11048 #x0 #xd1bb3633 #x91bc40c2 #x20e3bbdc #x4f21b78b)
(fftwf_codelet_r2cf_4 2 #x11048 #x11048 #x0 #x1ccbb87b #xe43cf57c #xeb78f271 #x2bc4f22f)
(fftwf_codelet_t1fv_8_neon 0 #x11048 #x11048 #x0 #xa6d492a8 #x769e621f #x709716dc #x6920b4a0)
(fftwf_dft_vrank_geq1_register 0 #x11048 #x11048 #x0 #x38767c90 #x01ee70b5 #xb6e53cd8 #x51a820b2)
)

Latest Raspian 5-5-2015
Compiled Boinc as per Claggy's instructions.
CPUs at 1000mz

Am I missing something obvious again. :-/

http://einsteinathome.org/host/11922358/tasks&offset=0&show_names=1&state=2&appid=0

Times are 74k to 91k.

Thanks

poppageek
poppageek
Joined: 13 Aug 10
Posts: 259
Credit: 2473733122
RAC: 0

Somewhere someone asked about

Somewhere someone asked about power draw on RPi2. Using Kill-a-watt I get 2 watts and 50.8 degrees C. That is with 4 NEON tasks without, I presume, the wisdomf file which loads the CPU more. If I get that part working I will retest the power draw and temps.

Other than better completion times is there another way of telling when Boinc sees the wisdomf file?

Cheers!

MarkJ
MarkJ
Joined: 28 Feb 08
Posts: 437
Credit: 137324514
RAC: 21360

RE: pi@raspberrypi2

Quote:
pi@raspberrypi2 /etc/fftw $ cat wisdomf
(fftw-3.3.2 fftwf_wisdom #x4a633eef #xb5a95564 #x91014bdd #x9c85ce5f

Latest Raspian 5-5-2015
Compiled Boinc as per Claggy's instructions.
CPUs at 1000mz

Am I missing something obvious again. :-/

http://einsteinathome.org/host/11922358/tasks&offset=0&show_names=1&state=2&appid=0

Times are 74k to 91k.

Thanks

The wisdomf version (3.3.2 shown above) has to match the version of fftw that you used when the app was compiled. If they don't match it doesn't use it.

The run time should be around 15 hours for a 1Ghz Pi2 with the wisdomf if its working.

Tom Rinehart
Tom Rinehart
Joined: 17 Jun 09
Posts: 9
Credit: 6591748
RAC: 0

The only issue I have with

The only issue I have with building boinc is that it won't automatically start on my Raspberry Pi when it boots up. I have to type:

sudo /etc/init.d/boinc-client start

All the files look like they are in the right places. It just doesn't start. What am I missing?

poppageek
poppageek
Joined: 13 Aug 10
Posts: 259
Credit: 2473733122
RAC: 0

RE: The only issue I have

Quote:

The only issue I have with building boinc is that it won't automatically start on my Raspberry Pi when it boots up. I have to type:

sudo /etc/init.d/boinc-client start

All the files look like they are in the right places. It just doesn't start. What am I missing?

I also have to manually start mine and the init.d won't shut boinc down either. Not a big deal to me although being able to stop it running gracefully would be nice.

I shut down my RP12 to take it off the Kill-a-watt and when it started back up it was generating more heat. A it found the wisdomf file and is now finishing in 14 hours. I had restarted the Pi several times so why it is working now I dunno. But I am not complaining. :-)

Cheers!

poppageek
poppageek
Joined: 13 Aug 10
Posts: 259
Credit: 2473733122
RAC: 0

4 validate errors in one day.

4 validate errors in one day. All seem to have had problems with co-pilot as well. Just bad luck or a problem with my Pi?http://einsteinathome.org/host/11922358/tasks&offset=0&show_names=1&state=4&appid=0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.