pyamrex
pyamrex copied to clipboard
GPU-Enabled, Zero-Copy AMReX Python Bindings including AI/ML
updates: - [github.com/astral-sh/ruff-pre-commit: v0.5.7 → v0.6.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.7...v0.6.1)
I have a plt file written in FAB_NATIVE_32 format. How do I read this using pyAMRex? I am getting this error amrex::Error::0::convert(Real*,Long,istream&,RealDescriptor&) failed !!!
The Python interpreter segfaults if a function is called without initializing AMReX: ```console $ pyamrex git:(add-plotfiledata) ✗ python Python 3.12.3 (main, Apr 9 2024, 08:09:14) [Clang 15.0.0 (clang-1500.3.9.4)] on darwin...
I built the latest development branch as follows, setting `AMReX_SPACEDIM=2`. The tests fail to run: ```console $ cmake -S . -B build -DAMReX_SPACEDIM=2 $ cmake --build build -j 4 --target...
Replace our own named SoA particle components implementation with the now upstream support in AMReX. Early draft, unfinished.
This speeds up the configure step from 20.1sec to 6.5sec by just downloading a shallow copy of AMReX & pybind11. - [ ] check AMReX version output during configure and...
For pyAMReX' `MultiFab`, we can overload the operators `+=` `*=` `/=`, etc. to call the underlying optimized, element-wise AMReX functions. Similar for `[...]` and other set-all ellipsis, we should specialize...
Add support for Python 3.13. Remove 3.8 because it is EOL as of Oct 2024. Bump to pybind11 2.13.0+, which add Python 3.13 support in CI.
Add a vectorized CPU and GPU method to invalidate/make valid particles. Maybe go here: https://github.com/AMReX-Codes/pyamrex/blob/development/src/Particle/ParticleContainer.cpp
updates: - [github.com/astral-sh/ruff-pre-commit: v0.11.8 → v0.11.10](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.8...v0.11.10)