Open Whyborn opened 3 weeks ago
After some discussion around LFRic coding standards, compilers used by collaborators and the compliance table found in this thread, it seems logical to declare all features as part of the Fortran 2008 standard as being available for use in CABLE. See an abridged version of the new features here.
The Intel compiler allows some things that are not compliant with the Fortran standards (see in particular some issues raised by @mcuntz on this PR). The Intel compiler flag
-stand fXX
(whereXX
f90,f99,f03,f08,f18,f23
) will raise warnings at non-compliant bits of code. I think we should add-stand f08
to theDEBUG
compiler flags, as the majority of the code (the POP_TRENDY branch at least) is Fortran 2008 compliant bar the new issues raised by Mathias.