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

nvq++ reports incorrect version number when using pre-built binaries #2499

Open
3 of 4 tasks
bebora opened this issue Jan 8, 2025 · 0 comments
Open
3 of 4 tasks

nvq++ reports incorrect version number when using pre-built binaries #2499

bebora opened this issue Jan 8, 2025 · 0 comments

Comments

@bebora
Copy link
Contributor

bebora commented Jan 8, 2025

Required prerequisites

  • Consult the security policy. If reporting a security vulnerability, do not report the bug using this form. Use the process described in the policy to report the issue.
  • Make sure you've read the documentation. Your issue may be addressed there.
  • Search the issue tracker to verify that this hasn't already been reported. +1 or comment there if it has.
  • If possible, make a PR with a failing test to give us a starting point to work on!

Describe the bug

nvq++ from the latest GitHub release (0.9.1) does not print a valid version number:

$ nvq++ --version
nvq++ Version 0.0.0 (https://github.com/NVIDIA/cuda-quantum )

Steps to reproduce the bug

Download and run an appropriate file from the 0.9.1 release page, installing CUDA-Q. Open a new shell (or source /etc/profile) and execute nvq++ --version, obtaining version 0.0.0 instead of 0.9.1.

Alternatively, download any file from the previous link and run it with the arguments --tar xf to decompress the files in the current working directory. Open bin/nvq++ inside a text editor and notice the following line:
NVQPP_VERSION_STRING="nvq++ Version 0.0.0 (https://github.com/NVIDIA/cuda-quantum )"

Expected behavior

I expect to obtain a proper version number.

Is this a regression? If it is, put the last known working version (or commit) here.

0.9.0

Environment

  • CUDA-Q version: 0.9.1 pre-built binaries from GitHub
  • Operating system: Ubuntu 22.04.5 LTS

Suggestions

No response

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