Skip to content

Commit

Permalink
cesm3 will not use manage-externals
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed May 15, 2024
1 parent ba6f8c3 commit 8f5c0fe
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 8f5c0fe

Please sign in to comment.