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
5 changes: 4 additions & 1 deletion cesm/driver/esm.F90
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module ESM
use shr_mem_mod , only : shr_mem_init
use shr_log_mod , only : shr_log_setLogunit, shr_log_error
use esm_utils_mod, only : logunit, maintask, dbug_flag, chkerr
use esmf , only : ESMF_FAILURE
use esmf , only : ESMF_FAILURE, ESMF_VMBARRIER
implicit none
private

Expand Down Expand Up @@ -1557,6 +1557,9 @@ subroutine esm_finalize(driver, rc)
call ESMF_VMGet(vm, mpiCommunicator=mpicomm, rc=rc)
if (chkerr(rc,__LINE__,u_FILE_u)) return

call ESMF_VMBarrier(vm, rc=rc)
if (chkerr(rc,__LINE__,u_FILE_u)) return

call NUOPC_CompAttributeGet(driver, name="timing_dir",value=timing_dir, rc=rc)
if (chkerr(rc,__LINE__,u_FILE_u)) return

Expand Down