PDA

View Full Version : Projects that support Raspberry Pi



zombie67
07-16-20, 01:54 AM
Not sure where this should be posted. I guess this place will do.

Some apps are 32 bit, some 64 bit (aarch64). You can run 32bit apps on a 64 bit OS by adding to your cc_config.xml. See later post.

Not all of these apps always have work.


Project Application Pi app?
Amicable Numbers Amicable Numbers up to 10^21 Yes
Asteroids@home Period Search Application Yes
Einstein@Home Binary Radio Pulsar Search (Arecibo) Yes
GoofyxGrid@Home Monkeys v1 Yes
GoofyxGrid@Home Monkeys v2 Yes
GoofyxGrid@Home Monkeys v3 Yes
GoofyxGrid@Home Monkeys v4 Yes
iThena iThena CNode Yes
LHC@home sixtract Yes
Rosetta@home Rosetta Yes
Ralph@home Rosetta Yes
T.Brada Experiment Grid PADLS Total Yes
T.Brada Experiment Grid Symmetric Prime Tuples Yes
T.Brada Experiment Grid Lua Alfa Yes
TN-Grid Platform gene@home PC-IM Yes
Universe@Home Universe BHspin v2 Yes
Universe@Home Universe ULX Yes
Universe@Home Neutron Star and Black Hole formation Yes
wanless2 Random-base WEP Factorization Yes
World Community Grid Beta Test Sometimes
World Community Grid OpenPandemics - COVID 19 Yes
WUProp@Home Data collect version 4 Yes
yoyo@home Cruncher ogr Yes
yoyo@home ecm Yes
yoyo@home ecm P2 Yes
yoyo@home M Queens Yes
yoyo@home Siever Yes

zombie67
07-21-20, 10:02 PM
Some tips running 64 bit. This definitely applies to Raspberry Pi 4, running Raspberry Pi OS (64 bit version). These may apply to other 64 bit versions of linux too, but I haven't tested any of them yet. Also, may apply to other ARM machines, but I don't have any to try.:

- Add these to your cc_config.xml, so that your 64bit OS will request 32bit apps, if necessary:

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

- With 64bit linux on intel/amd, in order to run some of the 32bit apps, you also need to add the 32bit libraries (ia32-libs). Similar situation with 64bit linux on ARM. To do that:

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

- For Einstein in particular, even doing all of the above doesn't prevent the tasks to error out on the "Binary Radio Pulsar Search (Arecibo)" sub-project. Apparently there is some issue with the app from the project. So manually add a custom-built application and app_info.xml:

cd /var/lib/boinc-client
sudo wget http://kerbodyne.com/einstein/einstein_64bit_0.13.tar
sudo tar -xvf einstein_64bit_0.13.tar
sudo systemctl restart boinc-client

zombie67
07-24-20, 01:35 AM
Updated the original post of projects/apps.

zombie67
07-26-20, 03:04 AM
Some Raspberry Pi management tips.

I have monitor, keyboard, and mouse connected physically during initial boot and set up. Then I disconnect all that hardware. I manage them only over network after that.

To enable ssh:
Menu -> preferences -> Raspberry Pi Configuration -> Interfaces -> ssh (enable)
(Also, change host name here under system tab, if you want)

Then from a terminal on my mac:
ssh -Y pi@192.168.7.111 (replace with whatever the IP address of your machine is)

you will be asked to allow whatever, and reply with "yes".

Once logged into your raspberry pi, you can type the following commands:
To display GUI: startlxde-pi
To display CPU freq: watch -n 1 vcgencmd measure_clock arm
To display CPU temp: /opt/vc/bin/vcgencmd measure_temp

To make those commands easier

Create command line aliases, add these lines to your .bash_aliases on your raspberry pi. I use vi, but whatever command line editor you like will do the trick.
alias freq='watch -n 1 vcgencmd measure_clock arm'
alias temp='watch -n 1 vcgencmd measure_temp'
alias gui='startlxde-pi'

To overclock, you *really* need a kit of heatsinks and a case with a fan. But take heart! You can buy them for only a few dollars.:

https://magpi.raspberrypi.org/articles/how-to-overclock-raspberry-pi-4

Raspberry Pi OS:
sudo vi /boot/config.txt

Ubuntu and their variants:
/boot/firmware/config.txt (or maybe /boot/firmware/usrconfig.txt)

From this:
#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800

To this:
#uncomment to overclock the arm. 700 MHz is the default.
over_voltage=2
arm_freq=1750

Or to this:
over_voltage=6
arm_freq=2000

After every change:
sudo reboot

There is a hard limit at 80 degrees. It throttles at that point, so that is why you want to monitor temps until you understand the heat range of your Raspberry Pi.

And the apps are not equal with regard to temp! Rosetta runs about 5 degrees higher than the others as I write this.

FWIW, when temps get high, the wifi tends to fail. So it looks like the machine is dead when using a bionic management app like BOINCtasks. But the Pi has just dropped wifi connection. So I use the hard-wired ethernet instead, and that is rock-solid.

Stressberry to stress-test for the Raspberry Pi:
https://pypi.org/project/stressberry/

zombie67
07-26-20, 11:33 AM
A couple more points, that were not made clear in the previous post:

To learn the IP address of your Raspberry Pi, in a terminal: ifconfig -a

In order to do the ssh stuff, and then display the Raspberry Pi GUI desktop on your Mac, you must install XQuartz (an X windows system) on your Mac. I assume you have to have something similar for it to work on your windows machine too.

https://www.xquartz.org

Ron Shurtz
07-26-20, 09:36 PM
I have my Raspberry Pi 3 in a case that includes a dedicated 7" touch screen.

3086


But, I found on Windows, I can access the GUI on the Pi remotely using TeamViewer. :D
(You can see the TeamViewer icon in the lower right corner of the Pi screen in the picture.)
I may try messing with a RP4 sometime in the future.

zombie67
07-27-20, 08:53 PM
Here is my mini farm.

https://www.dropbox.com/s/kvprufha88hdgjv/IMG_2457.jpg?raw=1
https://www.dropbox.com/s/khfnulzaeehr5ab/IMG_2456.jpg?raw=1

Dave gpu
07-27-20, 09:10 PM
Boy thats not a farm that's ART @-) It needs to be on YouTube.

Ron Shurtz
07-27-20, 09:15 PM
Cool! :cool:
Nice setup.
Five slices of Pi.

What temps are you getting with those fans and heatsinks?

zombie67
07-27-20, 10:37 PM
Cool! :cool:
Nice setup.
Five slices of Pi.

What temps are you getting with those fans and heatsinks?

It *really* depends on the apps running. For Einstein Binary Radio Pulsar Search (Arecibo), mid 50s. For Rosetta, 65-75. FWIW, adding a small external USB fan drops the temps about 5 degrees.

My machines are running at 2000 mhz and a voltage setting of 6.


over_voltage=6
arm_freq=2000

I changed the layout a bit, to accommodate the fan.

https://www.dropbox.com/s/1mjqqv3dm1ih0ig/IMG_2460.jpeg?raw=1
https://www.dropbox.com/s/m1n8c3vfmer9ljg/IMG_2461.jpeg?raw=1

Al
07-29-20, 09:39 AM
Z, that cluster is a thing of beauty! Nice job! My setup (3x pi 3b and 1x pi4 from Z - thank you!) is very similar, though not nearly as attractive. All 16 cores running OpenPandemics.