OSError: firmware/myproject-73DAB14B.so: cannot open shared object file: No such file or directory
Created by: Duchstf
I'm rewriting the ONNX converter and got the conversion to work. However, when I try compiling the hls model,I got this error:
OSError Traceback (most recent call last)
<ipython-input-4-20374fcfe547> in <module>
----> 1 hls_model.compile()
~/pytorch_dev/hls4ml/hls4ml/model/hls_model.py in compile(self)
404 dlclose_func.restype = ctypes.c_int
405 dlclose_func(self._top_function_lib._handle)
--> 406 self._top_function_lib = ctypes.cdll.LoadLibrary(lib_name)
407 finally:
408 os.chdir(curr_dir)
~/miniconda3/envs/pytorch/lib/python3.8/ctypes/__init__.py in LoadLibrary(self, name)
457
458 def LoadLibrary(self, name):
--> 459 return self._dlltype(name)
460
461 cdll = LibraryLoader(CDLL)
~/miniconda3/envs/pytorch/lib/python3.8/ctypes/__init__.py in __init__(self, name, mode, handle, use_errno, use_last_error, winmode)
379
380 if handle is None:
--> 381 self._handle = _dlopen(self._name, mode)
382 else:
383 self._handle = handle
OSError: firmware/myproject-73DAB14B.so: cannot open shared object file: No such file or directory
I suspect that this is because I'm working on a fresh conda environment that I created on correlator2, so some libraries might not be set up appropriately ...