-
Notifications
You must be signed in to change notification settings - Fork 1
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
rstan will not build #5
Comments
Have you tried adding swap memory? Recently I tried to compile |
That is most likely the problem, yes. I've just not had chance to do anything about it yet. |
Thanks for this amazing project. The problem building rstan on armhf/armv7l might not be solved by using a swap file because it's failing on all the Debian 32 bit builds. There is a tracking issue in the rstan repo at stan-dev/rstan#1032. It seems that one of the cpp files in the package now takes alot of memory to compile (I don't know if there is some 32 bit limitation it exceeds). You can see the failed 32 bit Debian builds here https://packages.debian.org/sid/r-cran-rstan (screenshot of table at the bottom of that page) In the issue the rstan maintainers seem to suggest they are hoping to remove the offending file in a future version, so maybe it will build on 32 bit again then. (And I tried on my Pi with 8GB RAM but it also failed.) |
It turns out, at least on RPi OS 32-bit, no single process can use more than 3GB of RAM so most likely that is the limiting factor considering that it takes >8GB on 64-bit systems. |
This has resulted in several packages being temporarily removed from the r4pi repo.
This includes
rstan
itself as well as some packages that depend on it:brms
prophet
rstanarm
shinystan
These packages have been moved to the
[bench]
section ofpackages.cfg
until the build issue is resolved.The text was updated successfully, but these errors were encountered: