Two types issues that need to be either fixed or resolved in LFric before we can change them in PSyclone:
PSyclone defines r_phys (and other physics related types), but they are not defined in the infrastructure. This results in the extraction driver not compiling (since it imports all defined symbols). For now r_phys and r_quad are explicitly ignored, but this should be fixed.
When I use the PRECISION_MAP to create a driver and import all precision symbols from the PRECISION_MAP, the created code does not compile. because constants_mod.F90 does define but not export the symbol.
Two types issues that need to be either fixed or resolved in LFric before we can change them in PSyclone:
PSyclone defines r_phys (and other physics related types), but they are not defined in the infrastructure. This results in the extraction driver not compiling (since it imports all defined symbols). For now r_phys and r_quad are explicitly ignored, but this should be fixed.
LFRicConstants defines:
When I use the PRECISION_MAP to create a driver and import all precision symbols from the PRECISION_MAP, the created code does not compile. because
constants_mod.F90
does define but not export the symbol.This is the same in current LFRic (https://code.metoffice.gov.uk/svn/lfric/LFRic/trunk/infrastructure/source/utilities/constants_mod.F90). Since I am not sure how/if
r_quad
is supposed to be used, I explicitly do not import r_quad, and refer this ticket :)