Skip to content

Commit

Permalink
Merge pull request #4633 from jedwards4b/new_cesm3_detection
Browse files Browse the repository at this point in the history
cesm3 will not use manage-externals
  • Loading branch information
jedwards4b authored May 15, 2024
2 parents 735f5f3 + 8f5c0fe commit 4087268
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CIME/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,9 @@ def get_model():
if model is None:
srcroot = get_src_root()

if os.path.isfile(os.path.join(srcroot, "Externals.cfg")):
if os.path.isfile(os.path.join(srcroot, "bin", "git-fleximod")):
model = "cesm"
elif os.path.isfile(os.path.join(srcroot, "Externals.cfg")):
model = "cesm"
with open(os.path.join(srcroot, "Externals.cfg")) as fd:
for line in fd:
Expand Down

0 comments on commit 4087268

Please sign in to comment.