pyamrex
pyamrex copied to clipboard
test runner fails when AMReX_SPACEDIM=2
I built the latest development branch as follows, setting AMReX_SPACEDIM=2. The tests fail to run:
$ cmake -S . -B build -DAMReX_SPACEDIM=2
$ cmake --build build -j 4 --target pip_install
$ python3 -m pytest -s -vvvv tests/
ImportError while loading conftest '/Users/benwibking/pyamrex/tests/conftest.py'.
tests/conftest.py:9: in <module>
import amrex.space3d as amr
../myenv/lib/python3.12/site-packages/amrex/space3d/__init__.py:25: in <module>
__version__ = amrex_3d_pybind.__version__
E AttributeError: module 'amrex.space3d.amrex_3d_pybind' has no attribute '__version__'