Running on Raspberry Pi
log in

Advanced search

Message boards : Unix/Linux : Running on Raspberry Pi

Author Message
Gordon Lack
Send message
Joined: 14 Apr 12
Posts: 12
Credit: 5,059,059
RAC: 4,277
Message 19357 - Posted: 5 May 2014, 10:12:44 UTC

I see that Raspberry Pi binaries were added at the end of April.

However, when I add mine to the project it gets the response:

Mon 05 May 2014 11:04:27 BST | Collatz Conjecture | Message from server: This project doesn't support computers of type armv7l-unknown-linux-gnueabihf
So how do I get it to run?

Profile Slicker
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 11 Jun 09
Posts: 2525
Credit: 740,580,099
RAC: 1
Message 19360 - Posted: 5 May 2014, 14:19:25 UTC

In the cc_config.xml file, try adding:
<alt_platform>arm-unknown-linux-gnueabihf</alt_platform>

Gordon Lack
Send message
Joined: 14 Apr 12
Posts: 12
Credit: 5,059,059
RAC: 4,277
Message 19368 - Posted: 6 May 2014, 11:34:50 UTC - in response to Message 19360.

That just gives:

Notice from BOINC
Unrecognized tag in cc_config.xml: <alt_platform>
in the log.

Gordon Lack
Send message
Joined: 14 Apr 12
Posts: 12
Credit: 5,059,059
RAC: 4,277
Message 19371 - Posted: 6 May 2014, 18:49:26 UTC

OK. Got it working.

It needed to be in the options section in the cc_config.xml file, so:

<cc_config>
<options>
<alt_platform>arm-unknown-linux-gnueabihf</alt_platform>
</options>
<log_flags>
...
I have a job running - I'll see how it goes...

Gordon Lack
Send message
Joined: 14 Apr 12
Posts: 12
Credit: 5,059,059
RAC: 4,277
Message 19376 - Posted: 7 May 2014, 7:15:24 UTC

OK. It works.

But there is another problem.

The micro job estimated time when it started was 55 hours - it actually completed in 10. That's fine.

But I have now been sent a mini job , and that has a starting estimate of 810 hours (almost 34 days), but has a deadline of 14 days hence. Consequently it is now running at high priority, and will (I suspect) continue to do so for another ~5 days (until the remaining time estimate drops below the time to deadline), so no other project will get a look-in for that time.

How can I get only micro jobs sent to this one system?
The only preferences I can see to set are per-account, not per-system, and I have other systems running this project which I do not wish to restrict to micro jobs.

Profile Zydor
Avatar
Send message
Joined: 19 Aug 09
Posts: 364
Credit: 840,811,292
RAC: 0
Message 19378 - Posted: 7 May 2014, 9:41:00 UTC - in response to Message 19376.
Last modified: 7 May 2014, 9:41:35 UTC

How can I get only micro jobs sent to this one system?
The only preferences I can see to set are per-account, not per-system, and I have other systems running this project which I do not wish to restrict to micro jobs.


Two overall Tools to play with that solve most of that type of issue.

Main one is set different Options in separate config files, you can set up to four different sets of options per account:
http://boinc.thesonntags.com/collatz/prefs.php?subset=project

There are also a veritable Gaggle of switches available that also solve pretty much most individual issues - accepting sod's law usually applies - however 99.99% of Option issues get solved by the use of the alternate config page above, and the vast array of switches below.
http://boinc.berkeley.edu/wiki/client_configuration

Individual Machines
Most times just setting separate config files at the individual machine level, without messing too much with individual config switches, solves most issues. Don't forget to tell the software which option applies to which machine. To do the latter go to:
http://boinc.thesonntags.com/collatz/hosts_user.php
- Click "Details" for the machine in question
- go to the bottom of the screen and select the location in which you placed the configuration. When the software runs, it will then take that configuration for that machine, not the catchall default configuration marked "---"

Gordon Lack
Send message
Joined: 14 Apr 12
Posts: 12
Credit: 5,059,059
RAC: 4,277
Message 19382 - Posted: 7 May 2014, 11:21:32 UTC

Ah, yes. I thought about setting up different work/home/school options, but that location might obtain for all projects that the system connects to (I can't remember - perhaps not).

For the moment I've put a app_config.xml in place, containing:

<app_config>
<app>
<name>mini_collatz</name>
<max_concurrent>0</max_concurrent>
</app>
</app_config>
and I'll see how that fares. If that doesn't work I'll resort to the fake location method.

Gordon Lack
Send message
Joined: 14 Apr 12
Posts: 12
Credit: 5,059,059
RAC: 4,277
Message 19383 - Posted: 7 May 2014, 11:39:29 UTC

I had thought about setting up fake locations, but then forgot about it. I also couldn't remember whether the locations were project-specific (since if they aren't that would affect other projects running in the system).

So I created a project app_config.xml file containing:

<app_config> <app> <name>mini_collatz</name> <max_concurrent>0</max_concurrent> </app> </app_config>
and I'll see how that goes.

Version 7.3.13 (as yet unreleased) of the manage has a "fraction_done_exact" option, that would help, as the remaining time would quickly become correct once the job starts to run.


Any reason why both the micro and mini jobs both have a 2-week deadline, when the micro ones will take ~10 hours while the mini ones will run for ~7 days?

Profile Zydor
Avatar
Send message
Joined: 19 Aug 09
Posts: 364
Credit: 840,811,292
RAC: 0
Message 19384 - Posted: 7 May 2014, 12:03:38 UTC - in response to Message 19383.
Last modified: 7 May 2014, 12:06:46 UTC

Version 7.3.13 (as yet unreleased) of the manage has a "fraction_done_exact" option, that would help

Current AMD Version is 14.4 go to the AMD site to download.
BOINC Current Version is 7.2.42

Any reason why both the micro and mini jobs both have a 2-week deadline, when the micro ones will take ~10 hours while the mini ones will run for ~7 days?

I would go to the AMD site load the latest driver, implement the new switch and then see how she goes - without that you will be guessing against unreliable information.

Clear the decks first on correct driver and then take it from there.

Gordon Lack
Send message
Joined: 14 Apr 12
Posts: 12
Credit: 5,059,059
RAC: 4,277
Message 19385 - Posted: 7 May 2014, 12:12:36 UTC - in response to Message 19384.


Current AMD Version is 14.4 go to the AMD site to download.
BOINC Current Version is 7.2.42

What (and where) is the AMD site?
What does it have to do with the current BOINC manager version, and why is the version number so different?

Gordon Lack
Send message
Joined: 14 Apr 12
Posts: 12
Credit: 5,059,059
RAC: 4,277
Message 19386 - Posted: 7 May 2014, 13:02:31 UTC

Ah - by AMD version 14 you mean a graphics card driver.

But this is a Raspberry Pi, so AMD has nothing to do with it (it does on the system I'm typing this on, which is where I do have a v14 driver). There is no GPU involved here - just an ARM CPU.

Profile Zydor
Avatar
Send message
Joined: 19 Aug 09
Posts: 364
Credit: 840,811,292
RAC: 0
Message 19387 - Posted: 7 May 2014, 13:45:01 UTC - in response to Message 19386.
Last modified: 7 May 2014, 14:01:30 UTC

Whoooops ..... that was me moving along in the 'ol standard rutt rofl :)

Sorry about that ....

To isolate the machine to its own configuration, set the "Location" as I described. That will allow you to set its own app_config.

Two stages .... set the machine location as I described, then redo your config file, then update.

Keep your eyes on that BOINC version though for when it gets released as a current version and not development version, it does remove the pain and hassle of the "time left" counter.

Re your app_config you posted .... if clarify what you want that to do, I will write another version for you, it does seem a little strange on the face of it.

Gordon Lack
Send message
Joined: 14 Apr 12
Posts: 12
Credit: 5,059,059
RAC: 4,277
Message 19388 - Posted: 7 May 2014, 14:24:30 UTC - in response to Message 19387.

Re your app_config you posted .... if clarify what you want that to do, I will write another version for you, it does seem a little strange on the face of it.
I'm saying that the maximum number of mini_collatzes I want to run is 0. So hopefully it will never download any, which will leave it with just the micro_collatzes to download and run.

I'm happy leaving that in place as long as it seems to be working.

Profile Zydor
Avatar
Send message
Joined: 19 Aug 09
Posts: 364
Credit: 840,811,292
RAC: 0
Message 19389 - Posted: 7 May 2014, 18:23:05 UTC - in response to Message 19388.

There's the 'ol adage .... if it aint broke don't fix it ..... :)

If later you discover it is broke .... with the separate config location described below (home, work etc), you can therefore set that machine to not accept a class of WU in the usual way in the configuration options in the time honoured fashion.

That works because the config is only applying to that machine via the separate environment you set (choose any one of work, home etc, it matters not, but its good practice to leave the default option as a generalised default.

Good Luck :)

Profile Slicker
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 11 Jun 09
Posts: 2525
Credit: 740,580,099
RAC: 1
Message 19394 - Posted: 7 May 2014, 23:44:26 UTC - in response to Message 19383.

Any reason why both the micro and mini jobs both have a 2-week deadline, when the micro ones will take ~10 hours while the mini ones will run for ~7 days?


Some people are connected to 20+ projects at a time. (I never understood that logic, but hey, that's the way they roll.) If they have a 10 day cache, even if they only download one WU per project, it may not start until the 10th day leaving them 4 days to complete it before the deadline. So, technically, it should be set to 7 days of runtime + 10 days of cache time or 17 days total. In reality, BOINC is supposed to shift priorities so it would start by day 7 in order to finish by the deadline.

Gordon Lack
Send message
Joined: 14 Apr 12
Posts: 12
Credit: 5,059,059
RAC: 4,277
Message 19408 - Posted: 9 May 2014, 10:16:24 UTC - in response to Message 19389.

If later you discover it is broke ...
FYI - it did. So I've sent the Raspberry Pi to School, and set up micro-only options for that.


Post to thread

Message boards : Unix/Linux : Running on Raspberry Pi


Main page · Your account · Message boards


Copyright © 2018 Jon Sonntag; All rights reserved.