GridTools / gridtools

Libraries and utilities to develop performance portable applications for weather and climate.
https://gridtools.github.io/gridtools
Other
61 stars 21 forks source link

Python bindings: Nanobind SID adapter #1762

Closed petiaccja closed 1 year ago

petiaccja commented 1 year ago

Depends on https://github.com/GridTools/gridtools/pull/1761

petiaccja commented 1 year ago

launch jenkins

petiaccja commented 1 year ago

CI failures:

havogt commented 1 year ago

CI failures:

* HIP node has Python 3.6.8, 3.8+ required

I'll look into updating the Python env on ault

* `tsa` doesn't seem to have Python 3 development headers at all

The mechanism for enabling Python tests is currently here https://github.com/GridTools/gridtools/blob/master/tests/regression/py_bindings/CMakeLists.txt as it's the only place were Python is used, 2 options:

  • promote the Python enabling to the tests/CMakeLists.txt, or
  • write a test in regression/py_bindings for nanobind
  • (probably the clean solution is both: Python check at the top-level and an integration test in py_bindings)

    • cray c++20: std libraries don't seem to have std::lerp which was added in c++20 I can try to play with the compiler versions and check if we find something that works.
havogt commented 1 year ago

Update on CI failures:

petiaccja commented 1 year ago

launch jenkins

petiaccja commented 1 year ago

launch jenkins

petiaccja commented 1 year ago

launch jenkins

petiaccja commented 1 year ago

launch jenkins

petiaccja commented 1 year ago

launch jenkins

petiaccja commented 1 year ago

launch jenkins

petiaccja commented 1 year ago

launch jenkins

petiaccja commented 1 year ago

launch jenkins

petiaccja commented 1 year ago

launch jenkins