DESCRIPTION OF CHANGES: The iso_fortran_env constant iostat_end has replaced the traditional, but not defined by the Fortran standard, -1 to mean the end-of-file has been reached. This fix reflects that change that is starting to appear in some compilers.
TESTS CONDUCTED: The CLWRF -- clwrf -- CLWRF ALERT!statement had started appearing with the Cray compiler 15.0.1, without any change to the "CAMtr_volume_mixing_ratio.SSP245" input file. This warning message is not showing up anymore.
Checklist
Merging the PR depends on following checklist being completed. Add X between
each of the square brackets if they are completed in the PR itself. If a
bullet is not relevant to you, please comment on why below the bullet.
[ ] Closes issue #xxxx (An issue must exist or be created to be closed. The
issue describes and documents the problem and general solution, the PR
describes the technical details of the solution.)
TYPE: bugfix
KEYWORDS: read file, iso_fortran_env
SOURCE: Soren Rasmussen, NCAR
DESCRIPTION OF CHANGES: The iso_fortran_env constant
iostat_end
has replaced the traditional, but not defined by the Fortran standard,-1
to mean the end-of-file has been reached. This fix reflects that change that is starting to appear in some compilers.TESTS CONDUCTED: The
CLWRF -- clwrf -- CLWRF ALERT!
statement had started appearing with the Cray compiler 15.0.1, without any change to the "CAMtr_volume_mixing_ratio.SSP245" input file. This warning message is not showing up anymore.Checklist
Merging the PR depends on following checklist being completed. Add
X
between each of the square brackets if they are completed in the PR itself. If a bullet is not relevant to you, please comment on why below the bullet.