Skip to content

Commit

Permalink
remove RuntimeError from buildnml
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-eaton committed Aug 21, 2024
1 parent 782f134 commit dd89d8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cime_config/buildnml
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ def buildnml(case, caseroot, compname):
buildcpp = import_from_file("buildcpp", cmd)
_ = buildcpp.buildcpp(case)
except:
raise RuntimeError("CAM's 'buildcpp' script failed to run properly.")
logger.warning(" ...cam buildcpp exited with error")

# Verify that we have a config_cache file (generated by the call to buildcpp)
expect(os.path.isfile(filename),
" Missing config_cache.xml - cannot run build-namelist")
" Missing CAM's config_cache.xml - cannot run build-namelist")

#--------------------------------------------------------------------
# Invoke cam build-namelist - output will go in $CASEROOT/Buildconf/camconf
Expand Down

0 comments on commit dd89d8f

Please sign in to comment.