Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

install BUG #12

Open
aiiiii96 opened this issue Feb 29, 2024 · 2 comments
Open

install BUG #12

aiiiii96 opened this issue Feb 29, 2024 · 2 comments

Comments

@aiiiii96
Copy link

Hi,Cheng:
I'm very glad to meet such a strong CGRA simulator!
After I followed the instruction step by step, I met the error:
=================================== FAILURES ===================================
_____________________________ test_cgra_universal ______________________________
CGRARTL_test.py:116: in test_cgra_universal
DataType = mk_data( 32, 1 )
../../lib/messages.py:36: in mk_data
namespace = { 'str': str_func }
/home/ai/venv/lib/python3.7/site-packages/pymtl3/datatypes/bitstructs.py:557: in mk_bitstruct
add_repr=add_repr, add_hash=add_hash )
/home/ai/venv/lib/python3.7/site-packages/pymtl3/datatypes/bitstructs.py:529: in bitstruct
return wrap( _cls )
/home/ai/venv/lib/python3.7/site-packages/pymtl3/datatypes/bitstructs.py:522: in wrap
return _process_class( cls, add_init, add_str, add_repr )
/home/ai/venv/lib/python3.7/site-packages/pymtl3/datatypes/bitstructs.py:457: in _process_class
cls.init = _mk_init_fn( _get_self_name(fields), fields )
/home/ai/venv/lib/python3.7/site-packages/pymtl3/datatypes/bitstructs.py:191: in _mk_init_fn
_globals = _globals,
/home/ai/venv/lib/python3.7/site-packages/pymtl3/datatypes/bitstructs.py:107: in _create_fn
custom_exec( py.code.Source(src).compile(), _globals, _locals )
E AttributeError: module 'py' has no attribute 'code'

by the way:
============================= test session starts ==============================
platform linux -- Python 3.7.1, pytest-7.4.4, pluggy-1.2.0 -- /home/ai/venv/bin/python3
cachedir: .pytest_cache
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/home/ai/cgra/OpenCGRA/cgra/translate/.hypothesis/examples')
rootdir: /home/ai/cgra/OpenCGRA
configfile: pytest.ini
plugins: pymtl3-0.5.5.1, hypothesis-6.79.4
collected 1 item

Could you help me? Have a nice Day!
Thanks!

@tancheng
Copy link
Contributor

Hi, you can try the docker provided in https://github.com/tancheng/CGRA-Flow or follow the instructions in https://github.com/tancheng/VectorCGRA

Let me know if those work for you. You can raise issues in those repos.

@aiiiii96
Copy link
Author

aiiiii96 commented Mar 1, 2024

Hi, you can try the docker provided in https://github.com/tancheng/CGRA-Flow or follow the instructions in https://github.com/tancheng/VectorCGRA

Let me know if those work for you. You can raise issues in those repos.

thanks for your rapid reply! the vector-cgra solution is efficient.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants