Revision d20e5cec99552192060456060fa14ff7e9ce40fe authored by Mark Petersen on 09 March 2022, 15:24:50 UTC, committed by Mark Petersen on 09 March 2022, 15:24:54 UTC
see https://github.com/MPAS-Dev/MPAS-Model/pull/959

This PR fixes non-standard declarations of 8-byte integers in ESMF_BaseMod.F90.

The ESMF_BaseMod module contains several non-standard declarations of 8-byte
integer variables. These were identified using the GNU compiler:

   ESMF_BaseMod.F90:75:20:

      75 |           integer*8 :: ptr
         |                    1
   Error: GNU Extension: Nonstandard type declaration INTEGER*8 at (1)

and also using the NAG compiler:

   Error: ESMF_BaseMod.F90, line 75: KIND value (8) does not specify a valid representation method
   Error: ESMF_BaseMod.F90, line 163: KIND value (8) does not specify a valid representation method

Since the ESMF_BaseMod module already defines a parameter for selecting 8-byte
integers, namely, ESMF_KIND_I8, all that is needed is to move the definition of
this (and related) parameters to appear earlier in the module and to then use

   integer(kind=ESMF_KIND_I8)

rather than

   integer(kind=8)
1 parent 28390a3
History
File Mode Size
.circleci
cime @ 4f9ce69
cime_config
components
driver-mct
driver-moab
externals
share
.gitignore -rw-r--r-- 253 bytes
.gitmodules -rw-r--r-- 1.9 KB
CONTRIBUTING.md -rw-r--r-- 1.7 KB
LICENSE -rw-r--r-- 5.3 KB
README.md -rw-r--r-- 3.3 KB
codemeta.json -rw-r--r-- 504 bytes
run_e3sm.template.sh -rwxr-xr-x 12.9 KB

README.md

back to top