Changed computers and getting two errors during compile to cmdStan from Matlab:
Error using StanModel/compile (line 908)
error: half args and returns was enabled in PCH file but is currently disabled
error: PCH file was compiled for the target ‘arm64-apple-macosx11.0.0’ but the current translation
unit is being compiled for target ‘x86_64-apple-macosx11.0.0’
I’m guessing the second error is due to trying to migrate the Matlab version to the new computer and hope I’ll be able to solve it with a fresh install.
I’m puzzled by the first one. I don’t know what half args and returns are in this context and not sure how to enable them. I presume this error is related Xcode, but not sure.
If you are reporting a bug (thank you!) please use the issue tracker (github.com/stan-dev/cmdstan/issues) instead of the forums.
If possible, add also code to simulate data or attach a (subset of) the dataset you work with.
Please provide this additional information in addition to your question:
- Operating System:
- CmdStan Version:
Don’t forget to add relevant tags to your topic (top right of this form) especially for application area. Delete this text before posting your topic. Thx!
Looking forward to your topic!