Skip to content

add stanc version to output of bin/stanc --version #807

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

Closed
avehtari opened this issue Jan 27, 2020 · 3 comments
Closed

add stanc version to output of bin/stanc --version #807

avehtari opened this issue Jan 27, 2020 · 3 comments

Comments

@avehtari
Copy link
Member

Summary:

bin/stanc --version

prints

stanc version 2.22.0

It would be useful to show also whether stanc2 or stanc3 is used

Current Version:

v2.22.0

@wds15
Copy link
Contributor

wds15 commented Jan 27, 2020

I am not sure this is useful. The plan is definitely to drop stanc2 entirely. There will only be a single stanc for a given cmdstan version. @mitzimorris should weigh in here, but I would not think that we need this.

@avehtari
Copy link
Member Author

As long as there are two options, there should be a way to see which is actually used. It seems this will be fixed in stanc3 stan-dev/stanc3#443, see also stan-dev/cmdstanr#115

@rok-cesnovar
Copy link
Member

In order to distinguish until we have both, stanc3 will output stanc3 on 2.22.1+. The fix was already merged so I am going to close this.

After the old compiler is phased out we can come back to this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants