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

Quick Go ยป
No member browsing this thread
Thread Status: Active
Total posts in this thread: 46
Posts: 46   Pages: 5   [ Previous Page | 1 2 3 4 5 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 14495 times and has 45 replies Next Thread
poppinfresh99
Cruncher
Joined: Feb 29, 2020
Post Count: 49
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Can't recognize ARM architecture

I installed Raspbian Buster and followed the steps to upgrade to 64 bit. BOINC was still reporting a 32 bit ARM processor. In order to run both WCG and Rosetta, I need to add the alt_platform tag below to the cc_config.xml file
<alt_platform>aarch64-unknown-linux-gnu </alt_platform>

Not sure why BOINC was still reporting Buster as 32 bit...but appears to be working. Would be a whole lot easier if WCG just had the OpenPandemics supporting ARM 64 platform aarch64-unknown-linux-gnu directly.


64-bit Raspbian doesn't even exist! There is only a 64-bit kernel that then allows you to run systemd-nspawn to create a 64-bit OS inside of Raspbian (see raspbian-nspawn-64)...
https://www.raspberrypi.org/forums/viewtopic.php?t=257767
BTW, I tried to get a 64-bit kernel on Stretch instead of Buster, and my Pi wouldn't boot.

As was 100% expected, the following commands still returned 32-bit when running the 64-bit kernel on Raspbian Buster...
(1) file /usr/bin/boinc
(2) file /var/lib/boinc/projects/www.worldcommunitygrid.org/wcgrid_opn1_autodock_7.17_arm-unknown-linux-gnueabihf

Can anyone else confirm that Rosetta is correctly running on Raspbian on a Pi? This is shocking to me! If you use the file command on Rosetta executable, is it 32-bit or 64-bit? Perhaps Rosetta is running in some kind of container just like raspbian-nspawn-64?

Also, has anyone gotten WCG to run on 64-bit Ubuntu Server on a Pi?
- https://ubuntu.com/download/raspberry-pi
- https://boinc.berkeley.edu/wiki/Installing_BOINC#Ubuntu_2
I tried with Ubuntu Server 20.04, but none of the packages in the 2nd link exist for this OS version.
----------------------------------------
[Edit 4 times, last edit by poppinfresh99 at May 28, 2020 4:45:27 AM]
[May 28, 2020 4:35:46 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Can't recognize ARM architecture

Can anyone else confirm that Rosetta is correctly running on Raspbian on a Pi? This is shocking to me! If you use the file command on Rosetta executable, is it 32-bit or 64-bit? Perhaps Rosetta is running in some kind of container just like raspbian-nspawn-64?

Can say so much, Rosetta and the version that runs MIP1 here at WCG has always been 32 bit. The process very much depends on homogeneity to the max.
[May 28, 2020 8:19:27 AM]   Link   Report threatening or abusive post: please login first  Go to top 
andreba57
Cruncher
Italy
Joined: Apr 14, 2020
Post Count: 5
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Can't recognize ARM architecture

I did run Rosetta on Raspbian, following these directions:
https://www.element14.com/community/people/ga...ettahome-on-raspbian-pi-4

However I wasn't able to run four tasks at the same time on my 4Gb Pi4 (after a short while one of the tasks was kicked out due to insufficient memory) and I didn't feel like dealing with possible compatibility issues either, so I switched to WCG.

In hindsight maybe running Raspian Lite or DietPi and/or setting up a proper swap space on an external drive could have made things go smoother, I'll give it a try if and when I get another Pi.
----------------------------------------
[Edit 2 times, last edit by andreba57 at May 28, 2020 9:18:53 AM]
[May 28, 2020 8:24:17 AM]   Link   Report threatening or abusive post: please login first  Go to top 
poppinfresh99
Cruncher
Joined: Feb 29, 2020
Post Count: 49
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Can't recognize ARM architecture

Can say so much, Rosetta and the version that runs MIP1 here at WCG has always been 32 bit. The process very much depends on homogeneity to the max.

Thanks! I assumed Rosetta@home was actually running a 64-bit executable because it only wants a 64-bit platform! Why does it require "aarch64-unknown-linux-gnu", and why does only "Linux running on 64-bit ARM" appear in following link?
https://boinc.bakerlab.org/rosetta/apps.php
Perhaps these questions are for another forum!

Anyway, good to know that Rosetta (or anything similar like MIP) are always 32-bit.

Edit: I just ran the following file command on my macOS, and it returned 64-bit. So, my original question stands: how does a 64-bit executable run on Raspbian? Must run inside some self-contained box ??
file '/Library/Application Support/BOINC Data/projects/boinc.bakerlab.org_rosetta/rosetta_4.09_x86_64-apple-darwin'
----------------------------------------
[Edit 2 times, last edit by poppinfresh99 at May 28, 2020 2:51:25 PM]
[May 28, 2020 2:34:21 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Can't recognize ARM architecture

In recent past, one science app misidentified as 64 bit but really ran as 32 bit so techs had to recompile.

Search, 5 seconds, https://www.worldcommunitygrid.org/forums/wcg...ead,41914_offset,0#617488
[May 28, 2020 3:09:19 PM]   Link   Report threatening or abusive post: please login first  Go to top 
poppinfresh99
Cruncher
Joined: Feb 29, 2020
Post Count: 49
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Can't recognize ARM architecture

In recent past, one science app misidentified as 64 bit but really ran as 32 bit so techs had to recompile.

Search, 5 seconds, https://www.worldcommunitygrid.org/forums/wcg...ead,41914_offset,0#617488

Well, Rosetta@home is identifying as 64-bit, providing a 64-bit executable (see results of file command), and successfully running on my macOS, so is your link relevant? My Pi running Raspbian doesn't have enough RAM to download the executable, so I can't experiment, so I'm curious if the executable is 64-bit, and, if so, is it some kind of container for 32-bit code.

If your search takes 5 seconds, expect results that are worth 5 seconds.
[May 28, 2020 6:10:08 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Can't recognize ARM architecture

Woosh often takes just 0.5 seconds ;o}
[May 28, 2020 7:45:20 PM]   Link   Report threatening or abusive post: please login first  Go to top 
mgpointner
Advanced Cruncher
Argentina
Joined: Nov 16, 2009
Post Count: 55
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Can't recognize ARM architecture

Can say so much, Rosetta and the version that runs MIP1 here at WCG has always been 32 bit. The process very much depends on homogeneity to the max.

Thanks! I assumed Rosetta@home was actually running a 64-bit executable because it only wants a 64-bit platform! Why does it require "aarch64-unknown-linux-gnu", and why does only "Linux running on 64-bit ARM" appear in following link?
https://boinc.bakerlab.org/rosetta/apps.php
Perhaps these questions are for another forum!

Anyway, good to know that Rosetta (or anything similar like MIP) are always 32-bit.

Edit: I just ran the following file command on my macOS, and it returned 64-bit. So, my original question stands: how does a 64-bit executable run on Raspbian? Must run inside some self-contained box ??
file '/Library/Application Support/BOINC Data/projects/boinc.bakerlab.org_rosetta/rosetta_4.09_x86_64-apple-darwin'


Hi. My Raspberry Pi 4 with Raspbian Lite run Rosetta and WCG at the same time.

ROSETTA@HOME:
file /var/lib/boinc-client/projects/boinc.bakerlab.org_rosetta/rosetta_4.20_aarch64-unknown-linux-gnu

rosetta_4.20_aarch64-unknown-linux-gnu: ELF 64-bit LSB executable, ARM aarch64, version 1 (GNU/Linux), statically linked, for GNU/Linux 3.7.0, BuildID[sha1]=bc9a8d711ccf5a5b3c4ed665584443661cdd6bcb, stripped

WORLD COMMUNITY GRID (OpenPandemics project)
file /var/lib/boinc/projects/www.worldcommunitygrid.org/wcgrid_opn1_autodock_7.17_arm-unknown-linux-gnueabihf

wcgrid_opn1_autodock_7.17_arm-unknown-linux-gnueabihf: ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), statically linked, for GNU/Linux 3.2.0, BuildID[sha1]=fb0ffad8933279b8bf52709d570ef6f978e41ee9, stripped

So, Rosetta 64 Bit and WCG 32 Bit, true?

From https://techterms.com/help/difference_between_32-bit_and_64-bit_systems

"Generally speaking, 32-bit programs can run on a 64-bit system, but 64-bit programs will not run on a 32-bit system. This is because 64-bit applications include 64-bit instructions that will not be recognized by a 32-bit processor."
----------------------------------------

----------------------------------------
[Edit 2 times, last edit by mgpointner at May 29, 2020 4:32:09 AM]
[May 29, 2020 3:58:01 AM]   Link   Report threatening or abusive post: please login first  Go to top 
jul059
Cruncher
Joined: Apr 5, 2012
Post Count: 14
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Can't recognize ARM architecture

I installed Raspbian Buster and followed the steps to upgrade to 64 bit. BOINC was still reporting a 32 bit ARM processor. In order to run both WCG and Rosetta, I need to add the alt_platform tag below to the cc_config.xml file
<alt_platform>aarch64-unknown-linux-gnu </alt_platform>

Not sure why BOINC was still reporting Buster as 32 bit...but appears to be working. Would be a whole lot easier if WCG just had the OpenPandemics supporting ARM 64 platform aarch64-unknown-linux-gnu directly.


64-bit Raspbian doesn't even exist! There is only a 64-bit kernel that then allows you to run systemd-nspawn to create a 64-bit OS inside of Raspbian (see raspbian-nspawn-64)...
https://www.raspberrypi.org/forums/viewtopic.php?t=257767
BTW, I tried to get a 64-bit kernel on Stretch instead of Buster, and my Pi wouldn't boot.

As was 100% expected, the following commands still returned 32-bit when running the 64-bit kernel on Raspbian Buster...
(1) file /usr/bin/boinc
(2) file /var/lib/boinc/projects/www.worldcommunitygrid.org/wcgrid_opn1_autodock_7.17_arm-unknown-linux-gnueabihf

Can anyone else confirm that Rosetta is correctly running on Raspbian on a Pi? This is shocking to me! If you use the file command on Rosetta executable, is it 32-bit or 64-bit? Perhaps Rosetta is running in some kind of container just like raspbian-nspawn-64?

Also, has anyone gotten WCG to run on 64-bit Ubuntu Server on a Pi?
- https://ubuntu.com/download/raspberry-pi
- https://boinc.berkeley.edu/wiki/Installing_BOINC#Ubuntu_2
I tried with Ubuntu Server 20.04, but none of the packages in the 2nd link exist for this OS version.

Well, a 64bit beta of Raspberry Pi OS (not Raspbian anymore) was just released along with a 8Gb raspberry pi 4: Raspberry Pi OS
[May 29, 2020 5:24:56 PM]   Link   Report threatening or abusive post: please login first  Go to top 
hchc
Veteran Cruncher
USA
Joined: Aug 15, 2006
Post Count: 801
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Can't recognize ARM architecture

For those running headless, I wonder what the point of installing Raspberry Pi OS Lite 64-bit would be over just installing Debian 64-bit for arm64.
----------------------------------------
  • i5-7500 (Kaby Lake, 4C/4T) @ 3.4 GHz
  • i5-4590 (Haswell, 4C/4T) @ 3.3 GHz
  • i5-3570 (Broadwell, 4C/4T) @ 3.4 GHz

[May 29, 2020 6:03:04 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Posts: 46   Pages: 5   [ Previous Page | 1 2 3 4 5 | Next Page ]
[ Jump to Last Post ]
Post new Thread