Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go »
No member browsing this thread
Thread Status: Active
Thread Type: Sticky Thread
Total posts in this thread: 21
Posts: 21   Pages: 3   [ 1 2 3 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 4750 times and has 20 replies Next Thread
armstrdj
Former World Community Grid Tech
Joined: Oct 21, 2004
Post Count: 695
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Running a 32 bit Application on 64 bit Linux on ARM

Currently we only have 32 bit application binaries available for the Open Pandemics project on the Linux on ARM platform. It is possible to run the 32 bit application on a 64 bit operating system but it requires a workaround in the BOINC client to allow work to be downloaded. To obtain the 32 bit application binary and tasks you must modify the cc_config.xml file in the BOINC data directory. The tag below alt_platform must be added in the options section. For more discussion on this please see the following thread:
https://www.worldcommunitygrid.org/forums/wcg/viewthread_thread,42424

<cc_config>
<log_flags>
<task>1</task>
<file_xfer>1</file_xfer>
<sched_ops>1</sched_ops>
</log_flags>
<options>
<alt_platform>arm-unknown-linux-gnueabihf</alt_platform>
</options>
</cc_config>

Thanks,
Jonathan
[Jul 29, 2020 11:58:45 AM]   Link   Report threatening or abusive post: please login first  Go to top 
KerSamson
Master Cruncher
Switzerland
Joined: Jan 29, 2007
Post Count: 1671
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Running a 32 bit Application on 64 bit Linux on ARM

Thank you Jonathan for the info.
As soon as I will receive my RPi 4, I will try it on a 64 bit OS (probably Ubuntu Server 20.04).
Cheers,
yves
----------------------------------------
[Jul 29, 2020 12:21:20 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Umlauf
Advanced Cruncher
Joined: Mar 20, 2020
Post Count: 52
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Running a 32 bit Application on 64 bit Linux on ARM

Hello,

on my odroid N2 with linux I´m using the following three alternate platform informations:

arm-unknown-linux-gnueabihf
armv7l-unknown-linux-gnueabihf
aarch64-unknown-linux-gnu

I found this informations on other Boinc forums.

With OPN this setting works fine, also with rosetta.

If the Beta of MCM runs with this parameters, i can´t say, i got no beta-WU on this machine (only on android)

Thanks

Umlauf
----------------------------------------
[Edit 1 times, last edit by Umlauf at Jul 30, 2020 11:21:26 AM]
[Jul 30, 2020 11:16:53 AM]   Link   Report threatening or abusive post: please login first  Go to top 
uplinger
Former World Community Grid Tech
Joined: May 23, 2005
Post Count: 3952
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Running a 32 bit Application on 64 bit Linux on ARM

Yes, MCM is running with the same settings as OPN1. If your odroid N2 is able to run OPN1, then you should be good to go.

Thanks,
-Uplinger
[Jul 31, 2020 4:25:47 PM]   Link   Report threatening or abusive post: please login first  Go to top 
KerSamson
Master Cruncher
Switzerland
Joined: Jan 29, 2007
Post Count: 1671
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Running a 32 bit Application on 64 bit Linux on ARM

FYI: after a couple of boinc crashes on my 2 RPi 3B running Raspios (32 bit), I notice that it is necessary to extend the swap file size from 100 MB to 512 MB.
Yves
----------------------------------------
[Dec 23, 2020 8:46:55 AM]   Link   Report threatening or abusive post: please login first  Go to top 
sam6861
Advanced Cruncher
Joined: Mar 31, 2020
Post Count: 107
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Running a 32 bit Application on 64 bit Linux on ARM

This ARM tasks/app can run on x86-64 (AMD64) with qemu-user-binfmt or qemu-user-static. The task is valid, everything works, very slow.
OPN1_0036790_06830                 Status  Sent Time        Return Time      Hours Claimed/Granted
Raspbian 10 (buster) 5.4.83-v7+, Detached, 3/7/21 14:19:43, 3/8/21 00:14:05, 0.00, 0.0 / 0.0
Debian bullseye/sid 5.10.0-3-amd64, Valid, 3/7/21 10:10:34, 3/9/21 15:36:22, 47.83, 664.6 / 371.3
Ubuntu 20.04.2 LTS 5.4.0-1028-raspi,Valid, 3/8/21 00:17:16, 3/10/21 02:17:29, 8.74, 78.1 / 371.3
laughing Huge claimed credits on a slow 47.83 hours CPU time for ARM task on x86-64 CPU (AMD64). I had alt_platform ARM manually added, and now after I saw how slow it runs, turned off this alt platform. This was a nice experiment to see if qemu-user runs faster or slower then real ARM hardware. CPU: AMD FX 4100. My CPU average is 3.2 hours for each OPN1 x86-64 task.
[Mar 10, 2021 12:35:56 PM]   Link   Report threatening or abusive post: please login first  Go to top 
mikey
Veteran Cruncher
Joined: May 10, 2009
Post Count: 821
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Running a 32 bit Application on 64 bit Linux on ARM

This ARM tasks/app can run on x86-64 (AMD64) with qemu-user-binfmt or qemu-user-static. The task is valid, everything works, very slow.
OPN1_0036790_06830                 Status  Sent Time        Return Time      Hours Claimed/Granted
Raspbian 10 (buster) 5.4.83-v7+, Detached, 3/7/21 14:19:43, 3/8/21 00:14:05, 0.00, 0.0 / 0.0
Debian bullseye/sid 5.10.0-3-amd64, Valid, 3/7/21 10:10:34, 3/9/21 15:36:22, 47.83, 664.6 / 371.3
Ubuntu 20.04.2 LTS 5.4.0-1028-raspi,Valid, 3/8/21 00:17:16, 3/10/21 02:17:29, 8.74, 78.1 / 371.3
laughing Huge claimed credits on a slow 47.83 hours CPU time for ARM task on x86-64 CPU (AMD64). I had alt_platform ARM manually added, and now after I saw how slow it runs, turned off this alt platform. This was a nice experiment to see if qemu-user runs faster or slower then real ARM hardware. CPU: AMD FX 4100. My CPU average is 3.2 hours for each OPN1 x86-64 task.


Yes it's slower but if you get it running it will just run on not much more power than a few light bulbs and pop out units over time.
----------------------------------------


[Apr 25, 2021 11:34:26 AM]   Link   Report threatening or abusive post: please login first  Go to top 
andgra
Senior Cruncher
Sweden
Joined: Mar 15, 2014
Post Count: 183
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Running a 32 bit Application on 64 bit Linux on ARM

Slightly out of topic but has anyone got any tasks for Raspberry PI Linux since last failure?
I got OPN tasks on the 7th last (resends). But nothing since it started flowing yesterday and i have a "5 minute check for work" script running.
For Android ARM i get both MCM and SCC.
----------------------------------------
/andgra



[Aug 9, 2023 1:32:36 PM]   Link   Report threatening or abusive post: please login first  Go to top 
UBT - wbiz
Cruncher
UK
Joined: May 21, 2021
Post Count: 5
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Running a 32 bit Application on 64 bit Linux on ARM

Slightly out of topic but has anyone got any tasks for Raspberry PI Linux since last failure?
I got OPN tasks on the 7th last (resends). But nothing since it started flowing yesterday and i have a "5 minute check for work" script running.
For Android ARM i get both MCM and SCC.


I've not seen anything for RPi recently, setup for 64 & 32 bit.
[Aug 11, 2023 7:10:31 AM]   Link   Report threatening or abusive post: please login first  Go to top 
mctom
Cruncher
Poland
Joined: Dec 3, 2022
Post Count: 13
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Running a 32 bit Application on 64 bit Linux on ARM

Glad to know it's not just me who receives no tasks for ARM machines for months now. Unless there is a solution in circulation?
[Sep 25, 2023 8:35:48 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Posts: 21   Pages: 3   [ 1 2 3 | Next Page ]
[ Jump to Last Post ]
Post new Thread