qir-alliance/qcor

Docker could not load xacc_iontrap

adinwritescode opened this issue · 4 comments

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

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

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

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!

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)