Skip to content

Commit

Permalink
Declare cnt variable needed with ESMF_AWARE_THREADING
Browse files Browse the repository at this point in the history
This was mistakenly removed in 4d9073d when cleaning up unused
variables.

Resolves #482
  • Loading branch information
billsacks committed Jul 12, 2024
1 parent e4a5e58 commit df41c29
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cesm/driver/esm.F90
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,9 @@ subroutine esm_init_pelayout(driver, maxthreads, rc)
character(len=5) :: inst_suffix
character(CL) :: cvalue
logical :: found_comp
#ifdef ESMF_AWARE_THREADING
integer :: cnt
#endif
integer :: rank, nprocs, ierr
character(len=*), parameter :: subname = "(esm_pelayout.F90:esm_init_pelayout)"
!---------------------------------------
Expand Down

0 comments on commit df41c29

Please sign in to comment.