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

predict is recompiling stan model each time #42

Closed
cprosser opened this issue Feb 28, 2017 · 3 comments
Closed

predict is recompiling stan model each time #42

cprosser opened this issue Feb 28, 2017 · 3 comments
Assignees
Labels

Comments

@cprosser
Copy link

The pre-compiled model from CRAN doesn't work on my machine. Forcing a recompilation every time prophet() is called. I'm on windows x64.

I stepped through the loading code, and it was all working, but stanm@mk_cppmodule(stanm) always threw an error. This could be because I have my stan compiler default set to -O3 (and the module was compiled with -02). Not sure.

Most importantly, uninstalling the package, then re-installing from source fixed it all up. Maybe windows binary packages don't work great? Probably worth a line of documentation. Much faster now :).

@seanjtaylor seanjtaylor self-assigned this Mar 1, 2017
@seanjtaylor seanjtaylor added the bug label Mar 1, 2017
@seanjtaylor
Copy link
Contributor

@cprosser yes you caught a very ugly hack that we used for Windows. Looks like we should advise source installs on Windows for now. Thanks for reporting! I'm going to leave this bug open until we know how to solve the Windows problem.

@bletham
Copy link
Contributor

bletham commented Mar 1, 2017

I tried this in a fresh install on windows 10 x64 and didn't run into this issue, it probably is due to your non-default stan settings. We should mention this in the install instructions.

@bletham
Copy link
Contributor

bletham commented Jul 29, 2017

Documentation updated in aabb7e0. Thanks!

@bletham bletham closed this as completed Jul 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants