I am trying to get our new artiq8 system running on windows and followed the instructions in the manual to install artiq8 on MSYS2 but have two errors after follwing these steps
- When running
artiq_master
I get
INFO:worker(scan,configureKasliHW.py):print:C:/msys64/mingw64/lib/python3.11/site-packages/h5py/__init__.py:36: UserWarning: h5py is running against HDF5 1.14.2 when it was built against 1.14.1, this may cause problems
INFO:worker(scan,configureKasliHW.py):print: _warn(("h5py is running against HDF5 {0} when it was built against {1}, "
- When trying to run
aqctl_moninj_proxy
I get
File "C:\msys64\mingw64\bin\aqctl_moninj_proxy-script.py", line 33, in <module>
sys.exit(load_entry_point('artiq==8.8564+d070826.beta', 'console_scripts', 'aqctl_moninj_proxy')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:/msys64/mingw64/lib/python3.11/site-packages/artiq/frontend/aqctl_moninj_proxy.py", line 213, in main
loop.run_until_complete(comm_moninj.connect(args.core_addr))
File "C:/msys64/mingw64/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:/msys64/mingw64/lib/python3.11/site-packages/artiq/coredevice/comm_moninj.py", line 32, in connect
self._reader, self._writer = await async_open_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:/msys64/mingw64/lib/python3.11/site-packages/sipyco/keepalive.py", line 82, in async_open_connection
set_keepalive(sock, after_idle, interval, max_fails)
File "C:/msys64/mingw64/lib/python3.11/site-packages/sipyco/keepalive.py", line 50, in set_keepalive
sock.ioctl(socket.SIO_KEEPALIVE_VALS,
^^^^^^^^^^
AttributeError: 'TransportSocket' object has no attribute 'ioctl'
Exception ignored in: <function StreamWriter.__del__ at 0x000001468ae5ce00>
The first error should be fixed by using pip to install h5py but this never gets past Installing build dependencies
and the second error seems to be caused by python3.11 asynchio issues.
The alternative approach I took was to install using the deprecated conda instructions. This gave me the same error for aqctl_moninj_proxy
as above but I fixed it by rolling python back to 3.10 following other examples on the forum.
However, on conda when trying to run experiments I get an LLVM IR Parsing Error
root:Terminating with exception (RuntimeError: LLVM IR parsing error)
Traceback (most recent call last):
File "C:\ProgramData\miniconda3\envs\artiq8\lib\site-packages\artiq\master\worker_impl.py", line 340, in main
exp_inst.run()
File "C:\ProgramData\miniconda3\envs\artiq8\lib\site-packages\artiq\language\core.py", line 54, in run_on_core
return getattr(self, arg).run(run_on_core, ((self,) + k_args), k_kwargs)
File "C:\ProgramData\miniconda3\envs\artiq8\lib\site-packages\artiq\coredevice\core.py", line 147, in run
self.compile(function, args, kwargs, set_result)
File "C:\ProgramData\miniconda3\envs\artiq8\lib\site-packages\artiq\coredevice\core.py", line 122, in compile
library = target.compile_and_link([module])
File "C:\ProgramData\miniconda3\envs\artiq8\lib\site-packages\artiq\compiler\targets.py", line 205, in compile_and_link
return self.link([self.assemble(self.compile(module)) for module in modules])
File "C:\ProgramData\miniconda3\envs\artiq8\lib\site-packages\artiq\compiler\targets.py", line 205, in <listcomp>
return self.link([self.assemble(self.compile(module)) for module in modules])
File "C:\ProgramData\miniconda3\envs\artiq8\lib\site-packages\artiq\compiler\targets.py", line 159, in compile
llparsedmod = llvm.parse_assembly(str(llmod))
File "C:\ProgramData\miniconda3\envs\artiq8\lib\site-packages\llvmlite\binding\module.py", line 25, in parse_assembly
raise RuntimeError("LLVM IR parsing error\n{0}".format(errmsg))
RuntimeError: LLVM IR parsing error
<string>:403:63: error: expected '('
%"UNN.5" = call {i32*, i32}* @"cache_get"({i8*, i32}* byval %".14"), !dbg !75
^
Please can you advise how to resolve the issues with either the MSYS2 or conda?