Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raspberry Pi5 (ARM x64) support? #40

Open
anglerfish27 opened this issue Nov 5, 2024 · 1 comment
Open

Raspberry Pi5 (ARM x64) support? #40

anglerfish27 opened this issue Nov 5, 2024 · 1 comment
Labels
question Further information is requested

Comments

@anglerfish27
Copy link

I humbly apologize for putting this in as an "issue". I'm not good with git hub and I just have a question.

Does Mlucas install and run on a Raspberry Pi 5 with its native operating system installed? Does it compile without issue or is it a lengthy drawn out process of finding errors and tweaking things to get the compiler to suceed?

I have several Raspberry Pi5's that I would like to add to goal of Mlucas --even if RPi5's are not exactly power houses for processing.
I've been scraping up laptops and other machines whenever possible to run Prime 95 and now Mlucas if I get get stable ARM x64 support. The entire cluster I'm building, which right now is just a pathetic two laptops running 24x7 runs of solar power so there is no cost to me running any number of machines. I figured it would be a good use of the excess power generation I have everyday. Its tied to a battery bank. I was torn between running Prime95 and the folding@home for medical research. I decided on Prime95 for the simple reason that maybe---'statically almost imposssible, maybe' I will find one and my name will be associated with it.

So yeah, I got a bunch of Pi5's doing nothing. Can I get this installed and working easily? Or is it kind of a lost cause. These machines would be headless so I wouldn't see if something crashed. If that's common. I really dont want to have to check every machine via SSH to see if things are working if its buggy. If I can fire it off and forget about it so to speak then I'm very interested.

Regardless of all that I'm sorry for the loss to the community. I sincerely hope others continue the hard work and efforts of this fork, especially since Mac has moved back to its own silicon. Hoping ARM processors will get the coding attention they deserve!
Cheers all. Much respect.

@tdulcet tdulcet added the question Further information is requested label Nov 5, 2024
@tdulcet
Copy link
Member

tdulcet commented Nov 5, 2024

Does Mlucas install and run on a Raspberry Pi 5 with its native operating system installed?

Mlucas should work out of the box on all Raspberry Pis, including the RPi5. I have used it myself on a RPi4 and I know many users have used it with the various Raspberry Pi versions over the years. There should not be any compiler errors on any architectures. Regarding OS, make sure you install the 64-bit version of Raspberry Pi OS, as this is needed for ASIMD support, which would provide much better performance.

Can I get this installed and working easily? Or is it kind of a lost cause. These machines would be headless so I wouldn't see if something crashed. If that's common. I really dont want to have to check every machine via SSH to see if things are working if its buggy. If I can fire it off and forget about it so to speak then I'm very interested.

I would recommend using the Mlucas install script, which would automate the downloading, building, setting up and running of Mlucas. Mlucas does crash more often than Prime95, as it is less tested (significantly fewer users), but any crashes should still be very rare (once every few months at most) and we are actively working to fix those bugs (see the open GitHub issues). You can configure the mersenne.org website to notify you when the program stops reporting assignment progress, which would alert you of a crash. You could alternatively configure the AutoPrimeNet assignment handler to notify you of the stall directly.

For future reference, you would probably get more help on the Mersenne Forum, as a lot more people follow that then this repository. There are actually several Raspberry Pi related threads there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants