We recently purchased an ARTIQ system and have been testing it. But yesterday when I updated the MSYS2 with pacman -Syu, the artiq_run command throws a runtime error. I am attaching the trace
Traceback (most recent call last):
File "C:\msys64\clang64\bin\artiq_run-script.py", line 33, in <module>
sys.exit(load_entry_point('artiq==8.9009+6f600dd', 'console_scripts', 'artiq_run')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\msys64\clang64\bin\artiq_run-script.py", line 25, in importlib_load_entry_point
return next(matches).load()
^^^^^^^^^^^^^^^^^^^^
File "C:/msys64/clang64/lib/python3.12/importlib/metadata/__init__.py", line 205, in load
module = import_module(match.group('module'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:/msys64/clang64/lib/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1003, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "C:/msys64/clang64/lib/python3.12/site-packages/artiq/frontend/artiq_run.py", line 23, in <module>
from artiq.coredevice.core import CompileError, host_only
File "C:/msys64/clang64/lib/python3.12/site-packages/artiq/coredevice/core.py", line 14, in <module>
from artiq.compiler.module import Module
File "C:/msys64/clang64/lib/python3.12/site-packages/artiq/compiler/module.py", line 13, in <module>
from . import prelude, types, transforms, analyses, validators, embedding
File "C:/msys64/clang64/lib/python3.12/site-packages/artiq/compiler/transforms/__init__.py", line 12, in <module>
from .llvm_ir_generator import LLVMIRGenerator
File "C:/msys64/clang64/lib/python3.12/site-packages/artiq/compiler/transforms/llvm_ir_generator.py", line 13, in <module>
from artiq.compiler.targets import RV32GTarget
File "C:/msys64/clang64/lib/python3.12/site-packages/artiq/compiler/targets.py", line 5, in <module>
llvm.initialize()
File "C:/msys64/clang64/lib/python3.12/site-packages/llvmlite/binding/initfini.py", line 17, in initialize
raise RuntimeError(
RuntimeError: llvmlite.binding.initialize() is deprecated and will be removed. LLVM initialization is now handled automatically. Please remove calls to this function from your code and check for other behavioral changes that may have occurred due to LLVM updates.
I tried uninstalling and reinstalling the ARTIQ package, which did work to some extent but after some point the artiq_run command made the kernel unresponsive where it would be stuck forever without doing anything even with the files that functioned properly before