Skip to content

Commit

Permalink
Address review comments; update .gitmodules to point to dev hash
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmielin committed Oct 17, 2024
1 parent e6f3fc2 commit 98a0cd1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
fxDONOTUSEurl = https://github.com/MPAS-Dev/MPAS-Model.git
[submodule "ncar-physics"]
path = src/physics/ncar_ccpp
url = https://github.com/jimmielin/atmospheric_physics
fxtag = fbea5c86954f6d043d8d8a94715cb745469114b8
url = https://github.com/ESCOMP/atmospheric_physics
fxtag = 67bb908e
fxrequired = AlwaysRequired
fxDONOTUSEurl = https://github.com/ESCOMP/atmospheric_physics
[submodule "ccs_config"]
Expand Down
2 changes: 1 addition & 1 deletion cime_config/cam_autogen.py
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ def generate_physics_suites(build_cache, preproc_defs, host_name,
if not os.path.isdir(atm_phys_to_be_ccppized_dir):
# CAM-SIMA will likely not run without this, so raise an error
emsg = "ERROR: Unable to find CCPP physics to_be_ccppized directory:\n"
emsg += f" {atm_phys_util_dir}\n Have you run 'git-fleximod'?"
emsg += f" {atm_phys_to_be_ccppized_dir}\n Have you run 'git-fleximod'?"
raise CamAutoGenError(emsg)
# end if

Expand Down
4 changes: 2 additions & 2 deletions src/physics/utils/cam_constituents.F90
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ subroutine const_get_index(name, cindex, abort, warning, caller)
use cam_abortutils, only: endrun
use cam_logfile, only: iulog
use phys_vars_init_check, only: std_name_len
use string_utils, only: to_str
use string_utils, only: stringify

! Get the index of a constituent with standard name, <name>.
! Setting optional <abort> argument to .false. returns control to
Expand All @@ -319,7 +319,7 @@ subroutine const_get_index(name, cindex, abort, warning, caller)
call ccpp_const_get_idx(const_props, name, cindex, errmsg, errcode)

if (errcode /= 0) then
call endrun(subname//"Error "//to_str(errcode)//": "// &
call endrun(subname//"Error "//stringify(errcode)//": "// &
trim(errmsg), file=__FILE__, line=__LINE__)
endif

Expand Down

0 comments on commit 98a0cd1

Please sign in to comment.