Skip to content
15 changes: 7 additions & 8 deletions ACHEM_GridCompMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1327,16 +1327,9 @@ subroutine Run_(GC, IMPORT, EXPORT, CLOCK, rc)
! -----------------------------------
call MAPL_GetObjectFromGC(GC, mgState, __RC__)

call MAPL_TimerOn(mgState, 'TOTAL', __RC__)
call MAPL_TimerOn(mgState, 'RUN', __RC__)

! Get parameters from generic state
! ----------------------------------
call MAPL_Get(mgState, LONS=lons, LATS=lats, RunAlarm=run_alarm, __RC__)


! If it is time, update AChem state
! ---------------------------------
call MAPL_Get(mgState, runAlarm=run_alarm, _RC)
run_alarm_ringing = ESMF_AlarmIsRinging(run_alarm, __RC__)

if (run_alarm_ringing) then
Expand All @@ -1345,6 +1338,12 @@ subroutine Run_(GC, IMPORT, EXPORT, CLOCK, rc)
RETURN_(ESMF_SUCCESS)
endif

call MAPL_TimerOn(mgState, 'TOTAL', __RC__)
call MAPL_TimerOn(mgState, 'RUN', __RC__)

! Get parameters from generic state
! ----------------------------------
call MAPL_Get(mgState, LONS=lons, LATS=lats, __RC__)

! Extract relevant runtime information
! ------------------------------------
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Deprecated

## [1.0.1] - 2025-09-09

### Fixed

- Port fix from split chem runs in v12. Mainly moves a timer

## [1.0.0] - 2023-08-25

### Added
Expand Down