Message boards : Number crunching : Linux running on 64-bit ARM on more applications.
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Dingo
Avatar

Send message
Joined: 4 Feb 15
Posts: 17
Credit: 133,036,975
RAC: 0
Message 4735 - Posted: 25 Jun 2021, 3:32:21 UTC

I cannot get work from Universe as I am running Linux Ubuntu 20.04.2 LTS [5.4.0-1038-raspi 64 bit on the Pi4 4 gb and it is not recognised by Universe. I had a look at their server status and only BHspin v2 applications are available and they do not support Linux running on 64-bit ARM. The only app that does is Neutron Star and Black Hole, which rarely has any work, and there is none of those available currently.

As Universe BHspin v2 seems to be the only application that is running lately is it possable to get an application for Linux running on 64-bit ARM.

Pi4 with 4 or 8 gb have been out for a long time now and they support Ubuntu 64 bit so there would be a lot of users that have them that could contribute to Unuverse.

Have a good one

Proud Founder and member of BOINC@AUSTRALIA
ID: 4735 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
scole of TSBT

Send message
Joined: 22 Feb 15
Posts: 24
Credit: 250,365,396
RAC: 416
Message 4736 - Posted: 26 Jun 2021, 10:55:40 UTC

Add these to the options section of the cc_config.xml, save and restart the boinc client.
    <alt_platform>arm-unknown-linux-gnueabihf</alt_platform>
    <alt_platform>armv7l-unknown-linux-gnueabihf</alt_platform>
    <alt_platform>aarch64-unknown-linux-gnu</alt_platform>

ID: 4736 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Dingo
Avatar

Send message
Joined: 4 Feb 15
Posts: 17
Credit: 133,036,975
RAC: 0
Message 4737 - Posted: 26 Jun 2021, 14:56:20 UTC - in response to Message 4736.  
Last modified: 26 Jun 2021, 14:59:21 UTC

Add these to the options section of the cc_config.xml, save and restart the boinc client.
    <alt_platform>arm-unknown-linux-gnueabihf</alt_platform>
    <alt_platform>armv7l-unknown-linux-gnueabihf</alt_platform>
    <alt_platform>aarch64-unknown-linux-gnu</alt_platform>



What folder does it go in. I put it in the usr/bin/projects/universeathome.pl_universe folder but when I started boinc the first entry in the event log is 26/06/2021 4:02:27 PM | | cc_config.xml not found - using defaults. I also changed the ones that already existed in
/var/lib/boinc-client/cc_config.xml
/etc/boinc-client/cc_config.xml

Proud Founder and member of BOINC@AUSTRALIA
ID: 4737 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
mmonnin

Send message
Joined: 2 Jun 16
Posts: 169
Credit: 317,253,046
RAC: 6
Message 4738 - Posted: 26 Jun 2021, 15:52:24 UTC - in response to Message 4737.  
Last modified: 26 Jun 2021, 15:53:01 UTC

Add these to the options section of the cc_config.xml, save and restart the boinc client.
    <alt_platform>arm-unknown-linux-gnueabihf</alt_platform>
    <alt_platform>armv7l-unknown-linux-gnueabihf</alt_platform>
    <alt_platform>aarch64-unknown-linux-gnu</alt_platform>



What folder does it go in. I put it in the usr/bin/projects/universeathome.pl_universe folder but when I started boinc the first entry in the event log is 26/06/2021 4:02:27 PM | | cc_config.xml not found - using defaults. I also changed the ones that already existed in
/var/lib/boinc-client/cc_config.xml
/etc/boinc-client/cc_config.xml


cc_config.xml is not project specific so it goes in the main directory:
/var/lib/boinc-client/
C:\ProgramData\BOINC
ID: 4738 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
mmonnin

Send message
Joined: 2 Jun 16
Posts: 169
Credit: 317,253,046
RAC: 6
Message 4739 - Posted: 26 Jun 2021, 15:52:27 UTC - in response to Message 4737.  
Last modified: 26 Jun 2021, 15:53:10 UTC

Add these to the options section of the cc_config.xml, save and restart the boinc client.
    <alt_platform>arm-unknown-linux-gnueabihf</alt_platform>
    <alt_platform>armv7l-unknown-linux-gnueabihf</alt_platform>
    <alt_platform>aarch64-unknown-linux-gnu</alt_platform>



What folder does it go in. I put it in the usr/bin/projects/universeathome.pl_universe folder but when I started boinc the first entry in the event log is 26/06/2021 4:02:27 PM | | cc_config.xml not found - using defaults. I also changed the ones that already existed in
/var/lib/boinc-client/cc_config.xml
/etc/boinc-client/cc_config.xml


cc_config.xml is not project specific so it goes in the main directory:
/var/lib/boinc-client/
C:\ProgramData\BOINC
ID: 4739 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Keith Myers
Avatar

Send message
Joined: 10 May 20
Posts: 308
Credit: 4,733,484,700
RAC: 14,480
Message 4740 - Posted: 26 Jun 2021, 18:05:45 UTC
Last modified: 26 Jun 2021, 18:13:50 UTC

The alt_platform statements will do nothing unless you also install the standard 32 bit libraries. Only if you have those installed will the scheduler determine you are eligible for the arm-unknown-linux-gnueabihf application and send you work.

[Edit]
At minimum do this:
dpkg --add-architecture armhf
apt-get update (ignore the missing x386 packages and hope for the best)
apt-get install libc6:armhf libstdc++6:armhf


A proud member of the OFA (Old Farts Association)
ID: 4740 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
scole of TSBT

Send message
Joined: 22 Feb 15
Posts: 24
Credit: 250,365,396
RAC: 416
Message 4741 - Posted: 27 Jun 2021, 1:41:32 UTC - in response to Message 4740.  

yup. forgot that. been a while
ID: 4741 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Dingo
Avatar

Send message
Joined: 4 Feb 15
Posts: 17
Credit: 133,036,975
RAC: 0
Message 4742 - Posted: 27 Jun 2021, 5:00:55 UTC - in response to Message 4740.  
Last modified: 27 Jun 2021, 5:04:58 UTC

I added the code to the /var/lib/boinc-client/cc_config.xml filecommands:
ubuntu@c8:~$ sudo cat /var/lib/boinc-client/cc_config.xml
<!--
This is a minimal configuration file cc_config.xml of the BOINC core client.
For a complete list of all available options and logging flags and their
meaning see: https://boinc.berkeley.edu/wiki/client_configuration
-->
<cc_config>
  <log_flags>
    <task>1</task>
    <file_xfer>1</file_xfer>
    <sched_ops>1</sched_ops>
  </log_flags>
    <alt_platform>arm-unknown-linux-gnueabihf</alt_platform>
    <alt_platform>armv7l-unknown-linux-gnueabihf</alt_platform>
    <alt_platform>aarch64-unknown-linux-gnu</alt_platform>

</cc_config>


I ran the following commands:
dpkg --add-architecture armhf
apt-get update (ignore the missing x386 packages and hope for the best)
apt-get install libc6:armhf libstdc++6:armhf

I shutdown BOINC and restarted but still not getting work from Universe@home.
c8

33	Universe@Home	27/06/2021 2:51:14 PM	No tasks sent	
34	Universe@Home	27/06/2021 2:51:14 PM	Project requested delay of 11 seconds	
35	WUProp@Home	27/06/2021 2:53:18 PM	Project requested delay of 7 seconds	
36	Universe@Home	27/06/2021 2:59:36 PM	No tasks sent	
37	Universe@Home	27/06/2021 2:59:36 PM	Project requested delay of 11 seconds	


I did notice that the first line of my messages still says
1 27/06/2021 2:51:10 PM cc_config.xml not found - using defaults
But the second line has changed to
2 27/06/2021 2:51:10 PM Starting BOINC client version 7.16.6 for aarch64-unknown-linux-gnu
[/code]

Proud Founder and member of BOINC@AUSTRALIA
ID: 4742 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
scole of TSBT

Send message
Joined: 22 Feb 15
Posts: 24
Credit: 250,365,396
RAC: 416
Message 4743 - Posted: 27 Jun 2021, 10:13:14 UTC - in response to Message 4742.  
Last modified: 27 Jun 2021, 10:14:18 UTC

I added the code to the /var/lib/boinc-client/cc_config.xml filecommands:
<cc_config>
<log_flags>
<task>1</task>
<file_xfer>1</file_xfer>
<sched_ops>1</sched_ops>
</log_flags>
<alt_platform>arm-unknown-linux-gnueabihf</alt_platform>
<alt_platform>armv7l-unknown-linux-gnueabihf</alt_platform>
<alt_platform>aarch64-unknown-linux-gnu</alt_platform>

</cc_config>


The alt_platform tags need to be inside of the options tag...
<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>
    <alt_platform>armv7l-unknown-linux-gnueabihf</alt_platform>
    <alt_platform>aarch64-unknown-linux-gnu</alt_platform>
  </options>
</cc_config>

ID: 4743 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Dingo
Avatar

Send message
Joined: 4 Feb 15
Posts: 17
Credit: 133,036,975
RAC: 0
Message 4744 - Posted: 27 Jun 2021, 11:46:29 UTC - in response to Message 4743.  

Same result after addnig the <options> </options>

c2

36	Universe@Home	27/06/2021 9:40:50 PM	project resumed by user	
37	Universe@Home	27/06/2021 9:41:20 PM	work fetch resumed by user	
38	Universe@Home	27/06/2021 9:41:25 PM	No tasks sent	
39	Universe@Home	27/06/2021 9:41:25 PM	Project requested delay of 11 seconds	
40	Universe@Home	27/06/2021 9:41:43 PM	No tasks sent	
41	Universe@Home	27/06/2021 9:41:43 PM	Project requested delay of 11 seconds	
42	Rosetta@home	27/06/2021 9:42:58 PM	project resumed by user	


Proud Founder and member of BOINC@AUSTRALIA
ID: 4744 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
mmonnin

Send message
Joined: 2 Jun 16
Posts: 169
Credit: 317,253,046
RAC: 6
Message 4745 - Posted: 27 Jun 2021, 16:41:35 UTC

You should not get the defaults line I believe so its not seeing whenever file you're editing.
ID: 4745 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Dingo
Avatar

Send message
Joined: 4 Feb 15
Posts: 17
Credit: 133,036,975
RAC: 0
Message 4746 - Posted: 28 Jun 2021, 5:44:55 UTC - in response to Message 4745.  
Last modified: 28 Jun 2021, 5:51:43 UTC

I added the code to the /var/lib/boinc-client/cc_config.xml file but still got the message on line 1. that it was using the default.
I added the file to /usr/bin as that is where the command boinc is located and restarted BOINC and it now does not show the default in line one and the following lines are in the startup.

c2

16			28/06/2021 3:37:56 PM	Config: alternate platform: arm-unknown-linux-gnueabihf	
17			28/06/2021 3:37:56 PM	Config: alternate platform: armv7l-unknown-linux-gnueabihf	
18			28/06/2021 3:37:56 PM	Config: alternate platform: aarch64-unknown-linux-gnu	



I suspended the other projects I had running and updated Universe and I got work Yahh..


Thanks for all the help much appreciated


OOOOOHHHHHH spoke too quick. All the tasks failed with this error:

Stderr output
<core_client_version>7.16.6</core_client_version>
<![CDATA[
<message>
process exited with code 2 (0x2, -254)</message>
<stderr_txt>
Process creation (../../projects/universeathome.pl_universe/BHspin2_19_armv7l-unknown-linux-gnueabihf) failed: Error -1, errno=2
execv: No such file or directory

</stderr_txt>
]]>

Proud Founder and member of BOINC@AUSTRALIA
ID: 4746 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Keith Myers
Avatar

Send message
Joined: 10 May 20
Posts: 308
Credit: 4,733,484,700
RAC: 14,480
Message 4748 - Posted: 28 Jun 2021, 17:59:34 UTC

First check to see if the project actually sent you the armv7l application and check its permissions. Is is really there and is it executable.
The other possibility is that you will need to export the 32 bit libraries to userland for the application to see them.

A proud member of the OFA (Old Farts Association)
ID: 4748 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Dingo
Avatar

Send message
Joined: 4 Feb 15
Posts: 17
Credit: 133,036,975
RAC: 0
Message 4749 - Posted: 29 Jun 2021, 4:56:15 UTC - in response to Message 4748.  
Last modified: 29 Jun 2021, 5:00:20 UTC

This is what is in the Project folder so it looks like the application is there and it is executable...........


ubuntu@c2:/usr/bin/projects/universeathome.pl_universe$ sudo ls -l

-rwxr-xr-x 1 root root 1672048 Jun 28 15:43 BHspin2_19_armv7l-unknown-linux-gnueabihf
-rw-r--r-- 1 root root 84 Jun 28 15:43 jobbh2_19.0.xml

I downloaded some more tasks but got the same peoblem.

https://universeathome.pl/universe/result.php?resultid=159236650

I do not know what how to do this
export the 32 bit libraries to userland for the application to see them.


Proud Founder and member of BOINC@AUSTRALIA
ID: 4749 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Keith Myers
Avatar

Send message
Joined: 10 May 20
Posts: 308
Credit: 4,733,484,700
RAC: 14,480
Message 4750 - Posted: 29 Jun 2021, 7:02:37 UTC - in response to Message 4749.  
Last modified: 29 Jun 2021, 7:05:01 UTC

I do not know what how to do this
export the 32 bit libraries to userland for the application to see them.

Well first thing to try is to link them with ldconfig. Figure out where you installed the 32bit libraries and link them to /etc/ld.so.conf.
Probably they installed to /usr/local/lib
Run ldconfig in terminal with the location of those libraries. Or. . .

Check what ldconfig sees in the first place with
ldconfig -v


See if the 32bit libraries are listed. If not
sudo /sbin/ldconfig -n /lib


Try
LD_LIBRARY_PATH=/usr/lib/arm-linux-gnueabihf/
or. . .

LD_LIBRARY_PATH=/usr/lib/arm-linux-gnueabihf/ ldd /usr/bin/projects/universeathome.pl_universe/BHspin2_19_armv7l-unknown-linux-gnueabihf
or . . .

make permanent with . . .
use EXPORT to modify the environment variable to search for the 32bit libraries.

export LD_LIBRARY_PATH=/usr/local/lib/arm-linux-gnueabihf/

A proud member of the OFA (Old Farts Association)
ID: 4750 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Dingo
Avatar

Send message
Joined: 4 Feb 15
Posts: 17
Credit: 133,036,975
RAC: 0
Message 4751 - Posted: 29 Jun 2021, 8:18:51 UTC - in response to Message 4750.  
Last modified: 29 Jun 2021, 8:23:08 UTC

I tried
ldconfig -v
and only saw the 64 bit lib so I ran
sudo /sbin/ldconfig -n /lib
and
LD_LIBRARY_PATH=/usr/lib/arm-linux-gnueabihf/
and made it permanent with
export LD_LIBRARY_PATH=/usr/local/lib/arm-linux-gnueabihf/.


I downloaded more work but they aborted with the same error. I rebooted the machine and tried more work and got the same result.

https://universeathome.pl/universe/result.php?resultid=159256341

I guess I will have to wait for the developers on this project to write an application for the Pi 4

CPU type ARM
BCM2835 [Impl 0x41 Arch 8 Variant 0x0 Part 0xd08 Rev 3]
Number of processors 4
Coprocessors ---
Operating System Linux Ubuntu
64 bit Ubuntu 20.04.2 LTS [5.4.0-1038-raspi|libc 2.31 (Ubuntu GLIBC 2.31-0ubuntu9.2)]

Thanks for the help especially Keith for his suggestions and help. :)

Proud Founder and member of BOINC@AUSTRALIA
ID: 4751 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Keith Myers
Avatar

Send message
Joined: 10 May 20
Posts: 308
Credit: 4,733,484,700
RAC: 14,480
Message 4752 - Posted: 29 Jun 2021, 18:53:21 UTC

Sorry, I didn't help. I have never had to go down this path because the one ARMv8 device I have, the Jetson Nano doesn't have the arm-linux-gnueabihf 32bit libraries in the distro. And the kernel is locked down also. So even after I researched all the methods of getting 32bit libraries recognized, I was still stymied.

And also never felt like having to recompile the Einstein BRP gpu app if I upgraded to the latest Nvidia Jetpack SDK. So still rocking the base Ubuntu 18.04 with 4.9.140-tegra kernel

A proud member of the OFA (Old Farts Association)
ID: 4752 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Drago75

Send message
Joined: 17 Jan 21
Posts: 9
Credit: 65,626,633
RAC: 858
Message 4875 - Posted: 11 Oct 2021, 9:54:39 UTC - in response to Message 4752.  
Last modified: 11 Oct 2021, 9:56:19 UTC

Hey Keith! What are your experiences with the Jetson Nano? What projects can you run and does it get a decent amount of work done? Did I understand you correctly and it can also perform GPU tasks? Thanks for all your posts... Tom
ID: 4875 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Keith Myers
Avatar

Send message
Joined: 10 May 20
Posts: 308
Credit: 4,733,484,700
RAC: 14,480
Message 4876 - Posted: 11 Oct 2021, 18:09:53 UTC

Basically any project that offers an ARMv8 application. Currently running TN-Grid and Minecraft on the cpu cores and the Einstein BRP4 gpu app on the Maxwell cores.

I think it gets a decent amount of work done. Obviously the CUDA cores are the most efficient. I can do a BRP4 app in 10-11 minutes. The cpu cores run typical times compared to a RPI that isn't a Model 4.

A proud member of the OFA (Old Farts Association)
ID: 4876 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Number crunching : Linux running on 64-bit ARM on more applications.




Copyright © 2024 Copernicus Astronomical Centre of the Polish Academy of Sciences
Project server and website managed by Krzysztof 'krzyszp' Piszczek