-
Notifications
You must be signed in to change notification settings - Fork 14
sampler_test/transpile_test aborted with No such file or directory error. #128
Copy link
Copy link
Open
Qiskit/qiskit-ibm-runtime-c
#19Labels
bugSomething isn't workingSomething isn't working
Description
Environment
- Qiskit IBM Runtime C version: latest code available in git
- Python version: 3.12.9
- Operating system: 26.1(25B78), Rocky Linux release 9.6 (Blue Onyx), RedHat Enterprise Linux 9
What is happening?
(pyenv) [root@c1 build]# export QISKIT_IBM_TOKEN=<my API token>
(pyenv) [root@c1 build]# export QISKIT_IBM_INSTANCE=<my instance>
(pyenv) [root@c1 build]# ./sampler_test
thread '<unnamed>' (5819) panicked at crates/client/src/service.rs:245:38:
called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 309163264, aborting
Aborted (core dumped)
(pyenv) [root@c1 build]# ./transpile_test
thread '<unnamed>' (5820) panicked at crates/client/src/service.rs:245:38:
called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 567476416, aborting
Aborted (core dumped)
How can we reproduce the issue?
- Build samples with qiskit-ibm-runtime-c
- Follow README and set QISKIT_IBM_TOKEN & QISKIT_IBM_INSTANCE environment variables
- Run sampler_test or transpiler_test
What should happen?
Samples should work with no errors.
Any suggestions?
It seems that $HOME/.qiskit/qiskit-ibm.json file is required to work with the qiskit-ibm-runtime-c. I would recommend to update README if this is expected behavior.
(QRMI works with environment variables)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working