Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tmp_array size to avoid array mismatch found by GNU #1521

Merged
merged 1 commit into from
May 11, 2017
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion components/cam/src/physics/cam/clubb_intr.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,7 @@ subroutine clubb_tend_cam( &
real(r8) :: es(pcols,pver)
real(r8) :: qs(pcols,pver)
real(r8) :: gam(pcols,pver)
real(r8) :: tmp_array(pcols,pverp)
real(r8) :: tmp_array(state%ncol,pverp)
real(r8) :: bfact, orgparam, delpavg
character(len=6) :: choice_radf

Expand Down
2 changes: 1 addition & 1 deletion components/cam/src/physics/cam/hetfrz_classnuc_cam.F90
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ subroutine hetfrz_classnuc_cam_calc( &
real(r8) :: numice10s(pcols,pver)
real(r8) :: numice10s_imm_dst(pcols,pver)
real(r8) :: numice10s_imm_bc(pcols,pver)
real(r8) :: tmp_array(pcols,pver)
real(r8) :: tmp_array(state%ncol,pver)

real(r8) :: na500(pcols,pver)
real(r8) :: tot_na500(pcols,pver)
Expand Down