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

HLS model will not compile #32

Open
Sam-Nielsen-Dot opened this issue Aug 17, 2022 · 1 comment
Open

HLS model will not compile #32

Sam-Nielsen-Dot opened this issue Aug 17, 2022 · 1 comment

Comments

@Sam-Nielsen-Dot
Copy link

Hello,

When I am attempting to run the Jupyter tutorial notebooks (using the provided environment), everything works up until the line hls_model.compile() where it produces the exception


Exception Traceback (most recent call last)
Input In [13], in <cell line: 1>()
----> 1 hls_model.compile()
2 X_test = np.ascontiguousarray(X_test)
3 y_hls = hls_model.predict(X_test)

File ~\Anaconda3\envs\hls4ml-tutorial\lib\site-packages\hls4ml\model\hls_model.py:534, in HLSModel.compile(self)
532 ret_val = os.system('bash build_lib.sh')
533 if ret_val != 0:
--> 534 raise Exception('Failed to compile project "{}"'.format(self.config.get_project_name()))
535 lib_name = 'firmware/{}-{}.so'.format(self.config.get_project_name(), self.config.get_config_value('Stamp'))
536 if self._top_function_lib is not None:

Exception: Failed to compile project "myproject"

Would you happen to know whether this can be rectified? Thanks

@Kivo0
Copy link

Kivo0 commented Oct 7, 2022

which os are you using ? is it windows ?
Have you found a workaround or a solution ?

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

2 participants