Comparison with PyPDE: Integrate Benchmarking and Compatibility Analysis#576
Comparison with PyPDE: Integrate Benchmarking and Compatibility Analysis#576pepe5p wants to merge 29 commits intoopen-atmos:mainfrom
Conversation
…ations, and clean up for better readability
examples/PyMPDATA_examples/comparison_against_pypde_2025/diffusion_2d.py
Outdated
Show resolved
Hide resolved
tests/smoke_tests/comparison_against_pypde_2025/test_comparison.py
Outdated
Show resolved
Hide resolved
piotrkubala
left a comment
There was a problem hiding this comment.
Some changes in cartesian_grid-1.ipynb were proposed.
examples/PyMPDATA_examples/comparison_against_pypde_2025/cartesian_grid-1.ipynb
Outdated
Show resolved
Hide resolved
examples/PyMPDATA_examples/comparison_against_pypde_2025/cartesian_grid-1.ipynb
Show resolved
Hide resolved
examples/PyMPDATA_examples/comparison_against_pypde_2025/cartesian_grid-1.ipynb
Outdated
Show resolved
Hide resolved
examples/PyMPDATA_examples/comparison_against_pypde_2025/diffusion_2d.py
Outdated
Show resolved
Hide resolved
examples/PyMPDATA_examples/comparison_against_pypde_2025/diffusion_2d.py
Outdated
Show resolved
Hide resolved
examples/PyMPDATA_examples/comparison_against_pypde_2025/diffusion_2d.py
Outdated
Show resolved
Hide resolved
tests/smoke_tests/comparison_against_pypde_2025/test_comparison.py
Outdated
Show resolved
Hide resolved
tests/smoke_tests/comparison_against_pypde_2025/test_comparison.py
Outdated
Show resolved
Hide resolved
|
CI reports this failure (https://github.com/open-atmos/PyMPDATA/actions/runs/15552679887/job/43825446170?pr=576): |
…n.py Co-authored-by: Tomasz Kawiak <qkawiak@gmail.com>
I tried downgrading py-pde, but the earliest version that doesn't have the numba requirement is 0.36.0, and our solution uses some features that are not present in that version. |
so let's run these tests only for Python 3.13 (using |


This pull request introduces a detailed comparison between PyMPDATA and the PyPDE framework. It adds benchmarking scripts, analysis notebooks, and documentation updates to help users evaluate performance and compatibility between the two libraries. Key changes include: