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

Docker could not load xacc_iontrap #258

Open
adinwritescode opened this issue Jun 23, 2022 · 4 comments
Open

Docker could not load xacc_iontrap #258

adinwritescode opened this issue Jun 23, 2022 · 4 comments

Comments

@adinwritescode
Copy link

Hi, I found this issue marked resolved, but it seems like it persists in the Docker image.

Error Report:

~ $ qcor -v cpp-examples/adder/add_3_5.cpp
[qcor-exec] /usr/local/aideqc/llvm/bin/clang++ -std=c++17 -include /usr/local/aideqc/qcor/include/qcor/qcor_lang_ext.hpp -fplugin=/usr/local/aideqc/qcor/clang-plugins/libqcor-syntax-handler.so -B /usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1 -L /usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1 -Wno-unused-command-line-argument -Wno-override-module -Xclang -plugin-arg-qcor-args -Xclang -qpu -Xclang -plugin-arg-qcor-args -Xclang qpp -I /usr/local/aideqc/qcor/include/xacc -I /usr/local/aideqc/qcor/include/cppmicroservices4 -I /usr/local/aideqc/qcor/include/qcor -I /usr/local/aideqc/qcor/include/quantum/gate -I /usr/local/aideqc/qcor/include/eigen -I /usr/include/c++/10.3.1 -I /usr/include/c++/10.3.1/x86_64-alpine-linux-musl -rdynamic -Wl,-rpath,/usr/local/aideqc/qcor/lib:/usr/local/aideqc/qcor/lib:/usr/local/aideqc/llvm/lib:/usr/local/aideqc/qcor/clang-plugins -L /usr/local/aideqc/qcor/lib -lqcor -lqrt -lqcor-jit -lqcor-quasimo -L /usr/local/aideqc/qcor/lib -lxacc -lCppMicroServices -lxacc-quantum-gate -lxacc-pauli -lxacc-fermion -lpthread -lqir-qrt -D__internal__qcor__compile__backend="qpp" cpp-examples/adder/add_3_5.cpp
[2022-06-23 20:52:28.664] [xacc-logger] [error] [XACC Error] Could not load xacc_iontrap, error message: Bundle#42 start failed: Error loading shared library libxacc-circuit-optimizers.so: No such file or directory (needed by /usr/local/aideqc/qcor/plugins/libxacc-iontrap.so)
[2022-06-23 20:52:28.664] [xacc-logger] [error] [XACC Error] Framework Exiting
clang-12: error: clang frontend command failed with exit code 255 (use -v to see invocation)
clang version 12.0.0 (https://github.com/ornl-qci/llvm-project-csp a380b85e218b226186799a1340b88ee3845e2bfb)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/local/aideqc/llvm/bin
clang-12: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-12: note: diagnostic msg: /tmp/add_3_5-1f2737.cpp
clang-12: note: diagnostic msg: /tmp/add_3_5-1f2737.sh
clang-12: note: diagnostic msg:

********************
None
255

Thanks

@1tnguyen
Copy link
Contributor

Oops. I think the Docker image hasn't been updated to pick up the fix.

@adinwritescode
Copy link
Author

Hi @1tnguyen,

Thanks for the response. Is there any progress on the Docker image update? What is the timeline on getting the C++ compiler up and running?

Thanks

@stevescia
Copy link

hi. i ran the docker image as well, and see the same error. looking forward to the fix; enjoying the vscode server for the qcor samples, thanks!

@stevescia
Copy link

any plans to update the docker image? still seeing the iontrap error using the docker image.
[XACC Error] Failure initializing XACC Plugin Registry - Could not load xacc_iontrap, error message: Bundle#28 start failed: Error loading shared library libxacc-circuit-optimizers.so: No such file or directory (needed by /usr/local/aideqc/qcor/plugins/libxacc-iontrap.so)

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