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

Printing Libcint version #102

Closed
lucienwb opened this issue Sep 27, 2023 · 1 comment
Closed

Printing Libcint version #102

lucienwb opened this issue Sep 27, 2023 · 1 comment

Comments

@lucienwb
Copy link

May I have a very simple question here about printin the version of Libcint in C.
Usually the major/minor/micro number are defined seperately. But, from the header file I see the version is given by, e.g.
#define CINT_VERSION 5.5.0

How can this information can be easily printed in a function like:
void CintVersion() { printf("Libcint version: %s\n", CINT_VERSION) };
However expending CINT_VERSION to 5.5.0 will show an error with the compiler. Maybe there is a way to overcome this issue.

Thank you so much for your suggestions in advance!

sunqm added a commit that referenced this issue Sep 28, 2023
@lucienwb
Copy link
Author

Many thanks for the commit!

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

1 participant