Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion physics/ugwp_driver_v0.F
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ subroutine cires_ugwp_driver_v0(me, master,
&, rain

real(kind=kind_phys), intent(in), dimension(im,levs) :: ugrs
&, vgrs, tgrs, qgrs, prsi, prsl, prslk, phii, phil, del
&, vgrs, tgrs, qgrs, prsl, prslk, phil, del
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just noting that this code is commented out (ifdef-ed out) in ccpp-physics: the entire block lines 16-253 (subroutine cires_ugwp_driver_v0) is not used in CCPP.

The corresponding code in cires_ugwp.{F90,meta} has the correct dimensions for phii and prsi.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I definitely did not notice that! Wouldn't that explain why debug mode compilation wouldn't catch this? I'm guessing that the associated PR for the non-CCPP version is exercised though?

real(kind=kind_phys), intent(in), dimension(im,levs+1) ::
& phii, prsi

! real(kind=kind_phys), intent(in) :: oro_stat(im,nmtvr)
real(kind=kind_phys), intent(in), dimension(im) :: hprime, oc
Expand Down