-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
I ran into an issue, while trying to get started with stan/pystan. #365
Comments
Trying this again on another box that has python 3.9 instead of 3.10, I also see this output:
right before the python trace. |
Interesting. Thanks for the report. Haven't seen this before. I assume you have plenty of memory, right? Compiling the model can require a few GB of memory. We do not currently test on Debian testing. There could be some incompatibility with the newest gcc or libstdc++. |
Yes, plenty of memory. Compiling seems fine (I'm assuming that's what the build method does), the error seems to be that the generated executable segfaults, since it crashes on the sampling step. This guess is based on trying the same model with cmdstan, which outputs:
I have been able to get some examples in cmdstan working, but not this one. For reference, my compiler versions:
|
This might be a bug against Stan C++. If you post the segfault-causing cmdstan version on the Stan forums, I suspect this will get plenty of attention. https://discourse.mc-stan.org/ Thanks again for the report. |
I ran into the following errors and warnings, while trying to get started with stan/pystan using the documentation at https://pystan.readthedocs.io/en/latest/ This is what is there now:
Running the above, we get the following messages from the
stan.build
function:Then
posterior.sample
fails with:This is on a debian box (version=testing), running pystan 3.5.0, installed through pip.
Originally posted by @knappa in #354 (comment)
The text was updated successfully, but these errors were encountered: