If we have code in the file prefix_foo_kernel_mod.F90 with a module name prefix_foo_kernel_mod, but with metadata names foo_kernel_type, psyad raises an error
psyclone.psyir.transformations.transformation_error.TransformationError: Transformation Error: Error in RaisePSyIR2LFRicKernTrans transformation. The metadata name 'prefix_foo_kernel_type' provided to the transformation does not correspond to a symbol in the supplied PSyIR.
Some of the new LFRic code has kernel files which have a different module name to the kernel metadata. This can be alleviated with patches to the forward code, but nonetheless is not desired behaviour.
If we have code in the file
prefix_foo_kernel_mod.F90
with a module nameprefix_foo_kernel_mod
, but with metadata namesfoo_kernel_type
,psyad
raises an errorpsyclone.psyir.transformations.transformation_error.TransformationError: Transformation Error: Error in RaisePSyIR2LFRicKernTrans transformation. The metadata name 'prefix_foo_kernel_type' provided to the transformation does not correspond to a symbol in the supplied PSyIR.
Some of the new LFRic code has kernel files which have a different module name to the kernel metadata. This can be alleviated with patches to the forward code, but nonetheless is not desired behaviour.