Message boards : Number crunching : Odroid-N2 (aarch64 linux) error with BHspin v2 v0.19
Message board moderation

To post messages, you must log in.

AuthorMessage
JagDoc
Help desk expert

Send message
Joined: 21 Feb 15
Posts: 83
Credit: 873,439,097
RAC: 1,095
Message 3667 - Posted: 5 Aug 2019, 12:07:56 UTC

Answer to this posts:
https://universeathome.pl/universe/forum_thread.php?id=373&postid=3651#3651

I have tryed on a new SD-Card with fresh image to install the libs without problem.
The messages i got:
odroid@n211:~$ sudo dpkg --add-architecture armhf
[sudo] password for odroid: 
odroid@n211:~$ sudo apt update
Hit:1 http://archive.canonical.com/ubuntu bionic InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic InRelease            
Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease            
Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease          
Hit:5 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease
Hit:6 http://deb.odroid.in/n2 bionic InRelease     
Get:7 http://archive.canonical.com/ubuntu bionic/partner armhf Packages [548 B]
Get:8 http://ports.ubuntu.com/ubuntu-ports bionic/main armhf Packages [968 kB]
Get:9 http://ports.ubuntu.com/ubuntu-ports bionic/restricted armhf Packages [8360 B]
Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/universe armhf Packages [8269 kB]
Get:11 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse armhf Packages [129 kB]
Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main armhf Packages [518 kB]
Get:13 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted armhf Packages [6488 B]
Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe armhf Packages [827 kB]
Get:15 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse armhf Packages [3608 B]
Get:16 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main armhf Packages [2508 B]
Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe armhf Packages [3736 B]
Get:18 http://ports.ubuntu.com/ubuntu-ports bionic-security/main armhf Packages [304 kB]
Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted armhf Packages [3968 B]
Get:20 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe armhf Packages [467 kB]
Get:21 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse armhf Packages [1924 B]
Fetched 11.5 MB in 5s (2470 kB/s)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
N: Skipping acquire of configured file 'main/binary-armhf/Packages' as repository 'http://deb.odroid.in/n2 bionic InRelease' doesn't support architecture 'armhf'

odroid@n211:~$ sudo apt install libsfstdc++6
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libllvm6.0 libllvm7 x11proto-dri2-dev x11proto-gl-dev
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  gcc-8-base:armhf libc6:armhf libc6-armel:armhf libgcc1:armhf libsfgcc1:armhf
Suggested packages:
  glibc-doc:armhf locales:armhf
The following NEW packages will be installed:
  gcc-8-base:armhf libc6:armhf libc6-armel:armhf libgcc1:armhf libsfgcc1:armhf libsfstdc++6:armhf
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 4989 kB of archives.
After this operation, 20.9 MB of additional disk space will be used.

Do you want to continue? [Y/n] y
Get:1 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main armhf gcc-8-base armhf 8.3.0-6ubuntu1~18.04.1 [18.7 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main armhf libgcc1 armhf 1:8.3.0-6ubuntu1~18.04.1 [37.1 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main armhf libc6 armhf 2.27-3ubuntu1 [2207 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports bionic/main armhf libc6-armel armhf 2.27-3ubuntu1 [2377 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main armhf libsfgcc1 armhf 1:8.3.0-6ubuntu1~18.04.1 [38.2 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main armhf libsfstdc++6 armhf 8.3.0-6ubuntu1~18.04.1 [312 kB]
Fetched 4989 kB in 1s (7036 kB/s)       
Preconfiguring packages ...
Selecting previously unselected package gcc-8-base:armhf.
(Reading database ... 156092 files and directories currently installed.)
Preparing to unpack .../0-gcc-8-base_8.3.0-6ubuntu1~18.04.1_armhf.deb ...
Unpacking gcc-8-base:armhf (8.3.0-6ubuntu1~18.04.1) ...
Selecting previously unselected package libgcc1:armhf.
Preparing to unpack .../1-libgcc1_1%3a8.3.0-6ubuntu1~18.04.1_armhf.deb ...
Unpacking libgcc1:armhf (1:8.3.0-6ubuntu1~18.04.1) ...
Selecting previously unselected package libc6:armhf.
Preparing to unpack .../2-libc6_2.27-3ubuntu1_armhf.deb ...
Unpacking libc6:armhf (2.27-3ubuntu1) ...
Selecting previously unselected package libc6-armel:armhf.
Preparing to unpack .../3-libc6-armel_2.27-3ubuntu1_armhf.deb ...
Unpacking libc6-armel:armhf (2.27-3ubuntu1) ...
Selecting previously unselected package libsfgcc1:armhf.
Preparing to unpack .../4-libsfgcc1_1%3a8.3.0-6ubuntu1~18.04.1_armhf.deb ...
Unpacking libsfgcc1:armhf (1:8.3.0-6ubuntu1~18.04.1) ...
Selecting previously unselected package libsfstdc++6:armhf.
Preparing to unpack .../5-libsfstdc++6_8.3.0-6ubuntu1~18.04.1_armhf.deb ...
Unpacking libsfstdc++6:armhf (8.3.0-6ubuntu1~18.04.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Setting up gcc-8-base:armhf (8.3.0-6ubuntu1~18.04.1) ...
Setting up libgcc1:armhf (1:8.3.0-6ubuntu1~18.04.1) ...
Setting up libc6:armhf (2.27-3ubuntu1) ...
Setting up libc6-armel:armhf (2.27-3ubuntu1) ...
Setting up libsfgcc1:armhf (1:8.3.0-6ubuntu1~18.04.1) ...
Setting up libsfstdc++6:armhf (8.3.0-6ubuntu1~18.04.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...

sudo apt install libstdc++6:arm64 is not needed, is the newest version.
odroid@n211:~$ sudo apt install libstdc++6:arm64
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libstdc++6 is already the newest version (8.3.0-6ubuntu1~18.04.1).
The following packages were automatically installed and are no longer required:
  libllvm6.0 libllvm7 x11proto-dri2-dev x11proto-gl-dev
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


odroid@n211:~$ sudo apt install libstdc++6:armhf
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libllvm6.0 libllvm7 x11proto-dri2-dev x11proto-gl-dev
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  libstdc++6:armhf
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 349 kB of archives.
After this operation, 1545 kB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main armhf libstdc++6 armhf 8.3.0-6ubuntu1~18.04.1 [349 kB]
Fetched 349 kB in 0s (1628 kB/s)         
Selecting previously unselected package libstdc++6:armhf.
(Reading database ... 156715 files and directories currently installed.)
Preparing to unpack .../libstdc++6_8.3.0-6ubuntu1~18.04.1_armhf.deb ...
Unpacking libstdc++6:armhf (8.3.0-6ubuntu1~18.04.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Setting up libstdc++6:armhf (8.3.0-6ubuntu1~18.04.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
odroid@n211:~$ 

It must be a problem on your host.
Try to reboot the host and try it again.
ID: 3667 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
sid

Send message
Joined: 13 Apr 17
Posts: 10
Credit: 35,890,333
RAC: 0
Message 3668 - Posted: 5 Aug 2019, 12:40:52 UTC - in response to Message 3667.  


It must be a problem on your host.
Try to reboot the host and try it again.


Yes, it seems so. Reboot didn't help.
I'll start from a fresh installation - could you please provide me exact url where you did get the ISO?
Just to be on the same page.
Thank you.
ID: 3668 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
JagDoc
Help desk expert

Send message
Joined: 21 Feb 15
Posts: 83
Credit: 873,439,097
RAC: 1,095
Message 3669 - Posted: 5 Aug 2019, 13:22:55 UTC - in response to Message 3668.  

Got it from here:
http://de.eu.odroid.in/ubuntu_18.04lts/N2/

ubuntu-18.04.2-4.9-mate-odroid-n2-20190325.img.xz
ID: 3669 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
sid

Send message
Joined: 13 Apr 17
Posts: 10
Credit: 35,890,333
RAC: 0
Message 3680 - Posted: 6 Aug 2019, 10:55:09 UTC - in response to Message 3669.  

Got it from here:
http://de.eu.odroid.in/ubuntu_18.04lts/N2/

ubuntu-18.04.2-4.9-mate-odroid-n2-20190325.img.xz


Thank you. Installation from the scratch has allowed to run all those commands successfully.
ID: 3680 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
additude

Send message
Joined: 6 Feb 19
Posts: 41
Credit: 131,325,319
RAC: 0
Message 3681 - Posted: 6 Aug 2019, 16:52:00 UTC

I have two N2's.
Linux n2-node1-1 4.9.187-52 #1 SMP PREEMPT Tue Aug 6 01:05:58 -03 2019 aarch64 aarch64 aarch64 GNU/Linux
Linux n2-node2-1 4.9.187-52 #1 SMP PREEMPT Tue Aug 6 01:05:58 -03 2019 aarch64 aarch64 aarch64 GNU/Linux
They were crunching Universe but after July 24th they cannot receive any Universe WU's.
I just did a full-update on them today.....
I still have no Universe WU's... server keeps reporting, "No Tasks Available"...... but it shows it has tasks.
I now have 7 machines, including N2's, XU4's and a Friendly M4 that will not download Universe WU's....
Other projects are no problem...
Any suggestions?
ID: 3681 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
JagDoc
Help desk expert

Send message
Joined: 21 Feb 15
Posts: 83
Credit: 873,439,097
RAC: 1,095
Message 3685 - Posted: 6 Aug 2019, 19:11:03 UTC - in response to Message 3681.  

I have two N2's.
Linux n2-node1-1 4.9.187-52 #1 SMP PREEMPT Tue Aug 6 01:05:58 -03 2019 aarch64 aarch64 aarch64 GNU/Linux
Linux n2-node2-1 4.9.187-52 #1 SMP PREEMPT Tue Aug 6 01:05:58 -03 2019 aarch64 aarch64 aarch64 GNU/Linux
They were crunching Universe but after July 24th they cannot receive any Universe WU's.
I just did a full-update on them today.....
I still have no Universe WU's... server keeps reporting, "No Tasks Available"...... but it shows it has tasks.
I now have 7 machines, including N2's, XU4's and a Friendly M4 that will not download Universe WU's....
Other projects are no problem...
Any suggestions?

The Universe BHspin v2 v0.19 app is for "arm-unknown-linux-gnueabihf"
On the Odroid-N2 you must insert in /etc/boinc-client/cc_config.xml
<options>
<alt_platform>arm-unknown-linux-gnueabihf</alt_platform>
</options>

And install some libs.
sudo dpkg --add-architecture armhf
sudo apt update
sudo apt install libsfstdc++6
sudo apt install libstdc++6:armhf

After reboot update project some/more times manually.
This work in my case after a while . (now all host have enough work).

The XU4 should work with the new app.
ID: 3685 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
additude

Send message
Joined: 6 Feb 19
Posts: 41
Credit: 131,325,319
RAC: 0
Message 3689 - Posted: 7 Aug 2019, 8:59:21 UTC - in response to Message 3685.  

Thanks for that!
Fixed my download problem on my N2's and as far as I can tell on my Nano-Pi-M4 just adding the option to cc_config.xml fixed it's WU download problem as well.....
Thanks again.
ID: 3689 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
sid

Send message
Joined: 13 Apr 17
Posts: 10
Credit: 35,890,333
RAC: 0
Message 3690 - Posted: 7 Aug 2019, 19:13:35 UTC - in response to Message 3689.  

I've noticed that new 0.19 application is slower then previous one. I had a time about 1:40 for one WU but now the time is above 2 hours.

Is it only in my environment?
ID: 3690 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
JagDoc
Help desk expert

Send message
Joined: 21 Feb 15
Posts: 83
Credit: 873,439,097
RAC: 1,095
Message 3691 - Posted: 7 Aug 2019, 19:34:01 UTC - in response to Message 3690.  
Last modified: 7 Aug 2019, 19:36:51 UTC

The new 0.19 app is on all systems/OS slower.
I think this is because there are new data file or parameter.
ID: 3691 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
sid

Send message
Joined: 13 Apr 17
Posts: 10
Credit: 35,890,333
RAC: 0
Message 3692 - Posted: 7 Aug 2019, 19:57:36 UTC - in response to Message 3691.  

Don't see it on my Intel Xeon 1366 systems.
For them time is the same.
It why it was puzzling me.
ID: 3692 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Number crunching : Odroid-N2 (aarch64 linux) error with BHspin v2 v0.19




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