Skip to content

Commit bea8cb4

Browse files
authored
Merge pull request #610 from briandobbins/esmf_v9_fix
Changes ESMF version check to allow version 9+ in addition to 8.4+
2 parents cbc1f0f + b469716 commit bea8cb4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cime_config/buildnml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ def buildnml(case, caseroot, component):
670670
major = line[-2] if "MAJOR" in line else major
671671
minor = line[-2] if "MINOR" in line else minor
672672
logger.debug("ESMF version major {} minor {}".format(major, minor))
673-
expect(int(major) >= 8 and int(minor) >=4, "ESMF version should be 8.4.1 or newer")
673+
expect(int(major) >= 9 or (int(major) >= 8 and int(minor) >=4), "ESMF version should be 8.4.1 or newer")
674674

675675
confdir = os.path.join(case.get_value("CASEBUILD"), "cplconf")
676676
if not os.path.isdir(confdir):

0 commit comments

Comments
 (0)