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
103 stars 28 forks source link

LFRic alg layer error when using PSyIR: unknown kernel symbol #2228

Closed rupertford closed 1 year ago

rupertford commented 1 year ago

The version of mixed_schur_preconditioner_alg_mod on LFRic trunk is causing LFRic PSyIR alg-layer parsing to fail as dg_inc_matrix_vector_kernel_type is not imported in subroutine back_substitute. This is an error in the LFRic code which I've passed on but I need to tidy the error produced by PSyclone to make it clearer what the problem is.

rupertford commented 1 year ago

There is a similar problem in map_fd_to_prognostics_alg_mod.f90 where enforce_bc_kernel_mod is not imported in subroutine hydrostatic_balance

rupertford commented 1 year ago

Created branch 2228_unknown_kernel_symbol