stfc / PSyclone

Domain-specific compiler and code transformation system for Finite Difference/Volume/Element Earth-system models in Fortran
BSD 3-Clause "New" or "Revised" License
107 stars 29 forks source link

[LFRic] Change index order for LFRic operators #2766

Open TeranIvy opened 2 weeks ago

TeranIvy commented 2 weeks ago

The two tickets in LFRic Apps and Core, respectively, https://code.metoffice.gov.uk/trac/lfric_apps/ticket/106 and https://code.metoffice.gov.uk/trac/lfric/ticket/3811 change loop and index ordering in operator kernels, which affects PSyclone.

The PSy-layer is not changed as loops there use assumed-shape arrays so specific index ordering in there is less relevant. However, this affects LFRic example and test kernels in PSyclone source, kernel stub generator and the LFRic API documentation for operators (what is passed to kernels).

The fix will be provided for PSyclone release 3.0 (#2737).