-
-
Notifications
You must be signed in to change notification settings - Fork 93
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
Add ./model info
to obtain compile-time information
#1010
Conversation
…4.1 (tags/RELEASE_600/final)
Jenkins Console Log Machine informationProductName: Mac OS X ProductVersion: 10.11.6 BuildVersion: 15G22010CPU: G++: Clang: |
…4.1 (tags/RELEASE_600/final)
Jenkins Console Log Machine informationProductName: Mac OS X ProductVersion: 10.11.6 BuildVersion: 15G22010CPU: G++: Clang: |
Ready for review. |
Last call for reviews here as well. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good!
Thanks Steve! |
Summary:
Closes #887
The idea explained in the issue is that
./examples/bernoulli/bernoulli info
would return:
There are all compile-time information about the built executable. Some of them could be obtained by running the model, others like STAN_CPP_OPTIMS, STAN_NO_RANGE_CHECKS would be harder to figure out.
Maybe we could also include other information, this is what came to mind for now. In order to get stanc flags we would need to instantiate the model and for that we need the data, so I opted not including that for now, but we could still do that at a later point.
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company):
Rok Češnovar
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses: