integrating pyAMReX bindings with app bindings? #512
BenWibking
started this conversation in
General
Replies: 1 comment 2 replies
-
|
@ax3l If you can provide any advice on this issue, let me know. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have added a prototype Python binding for Quokka using pybind11:
https://github.com/quokka-astro/quokka/blob/BenWibking/python-bindings/src/bindings/pyquokka.cpp
However, I have been unable to get it to work with the pyAMReX bindings, for instance, having pyQuokka objects return pyAMReX multifab objects.
I tried to follow what pyWarpX does, but I am apparently missing something subtle. I have set up a Spack environment similar to the one recommended by WarpX. Then I configure a pyQuokka + pyAMReX + AMReX superbuild and get:
At runtime, I get errors like this when using pyAMReX multifabs returned by pyQuokka:
Beta Was this translation helpful? Give feedback.
All reactions