angus-g / python-ale

Interface to MOM6 regridding/remapping in Python
MIT License
0 stars 0 forks source link

Accelerate regridding/remapping with OpenMP #6

Closed angus-g closed 1 year ago

angus-g commented 1 year ago

The remapping will be accelerated regardless of coordinate, but there's only specific support for AG at the moment, unless the other coordinates have their own OpenMP directives.

We're also pointing to a branch of AG which slightly modifies the grid building routine to allocate some work arrays on the heap, to work around a segfault which seems to be a stack overrun due to the work arrays being duplicated for every thread. This is what we want, but the segfault isn't!

Closes #2.

AndyHoggANU commented 1 year ago

Hi @angus-g - should this PR be merged? I don't have permission to do the merge obviously ...