Application "Binary Radio Pulsar Search (Arecibo) 1.06" fails with "Computation error" on Raspberry Pi Arm64

fangfufu
fangfufu
Joined: 16 Feb 15
Posts: 5
Credit: 1162902
RAC: 2134
Topic 227052

I am running Einstein@Home on my Raspberry Pi 4. All the applications with the name "Binary Radio Pulsar Search (Arecibo) 1.06" fails with "Computation error", while tasks with the name "Gamma-ray pulsar search #5 1.16" work fine. How do I start diagnose this? 

Keith Myers
Keith Myers
Joined: 11 Feb 11
Posts: 4964
Credit: 18752872437
RAC: 7121374

Have you installed the 32 bit

Have you installed the 32 bit Armhf libraries on your 64 bit device and OS?

The BRP4 tasks use a 32 bit only application. They won't run without the armhf libraries.

Might want to read this thread.

Parallella, Raspberry Pi, FPGA & All That Stuff

 

fangfufu
fangfufu
Joined: 16 Feb 15
Posts: 5
Credit: 1162902
RAC: 2134

Nope, I haven't. Which armhf

Nope, I haven't. Which armhf library do I need? 

fangfufu
fangfufu
Joined: 16 Feb 15
Posts: 5
Credit: 1162902
RAC: 2134

I did the followings: dpkg

I did the followings:

dpkg --add-architecture armhf
apt update
apt-get install libc6:armhf libstdc++6:armhf

Now I get this: 

root@hawkeye:/var/lib/boinc-client/projects/einstein.phys.uwm.edu# ./einsteinbinary_BRP4_1.06_arm-unknown-linux-gnueabihf
./einsteinbinary_BRP4_1.06_arm-unknown-linux-gnueabihf: symbol lookup error: ./einsteinbinary_BRP4_1.06_arm-unknown-linux-gnueabihf: undef
ined symbol: h_errno, version GLIBC_PRIVATE
 

Keith Myers
Keith Myers
Joined: 11 Feb 11
Posts: 4964
Credit: 18752872437
RAC: 7121374

Did you add the new entry

Did you add the new entry into the cc_config.xml file in the Options section?

  <options>
    <alt_platform>arm-unknown-linux-gnueabihf</alt_platform>
  </options>

You might also try 

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

 

fangfufu
fangfufu
Joined: 16 Feb 15
Posts: 5
Credit: 1162902
RAC: 2134

I did add that entry, where

I did add that entry, where do I put the "export LD_LIBRARY_PATH=/usr/local/lib/arm-linux-gnueabihf/" line? 

Keith Myers
Keith Myers
Joined: 11 Feb 11
Posts: 4964
Credit: 18752872437
RAC: 7121374

You just open a Terminal and

You just open a Terminal and input that line.

From the error you showed I think that one of the symbol libraries is not being linked to correctly.

The export should add the armhf library to the PATH statement and hopefully find the library.

I had issues adding the armhf architecture for my Pi4 for Universe but solved it with the steps I've mentioned so far. I thought the same should work for Einstein.

Oh, I think I remember adding a couple of other libraries also.  Try this too.

sudo apt install libgomp1:armhf libboinc7:armhf

You have rebooted and restarted BOINC by now I assume.  I  had to get the new architecture detected.

Out of ideas now.  Post for help over on BOINC forums also if no one else pipes up here with advice.

 

 

fangfufu
fangfufu
Joined: 16 Feb 15
Posts: 5
Credit: 1162902
RAC: 2134

This appears to need some

This appears to need some sort of recompilation, I resolved it based on the explanation on this thread:

https://einstein11.aei.uni-hannover.de/content/rpi-computation-error

I basically installed the binaries in here:

https://einsteinathome.org/content/high-speed-linux-brp-app-odroid-c2

 

Keith Myers
Keith Myers
Joined: 11 Feb 11
Posts: 4964
Credit: 18752872437
RAC: 7121374

OK, good to hear you got

OK, good to hear you got something working.

 

tullio
tullio
Joined: 22 Jan 05
Posts: 2118
Credit: 61407735
RAC: 0

They run well on two Windows

They run well on two Windows dektop but also on a Linux Virtual Machine running OpenSuSE Tumbleweed which is a development OS with kernel 5.16.11. The bear the Arecibo name.

Tullio

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.