diff --git a/src/drivers/mct/shr/seq_comm_mct.F90 b/src/drivers/mct/shr/seq_comm_mct.F90 index bf54277fc99..025423b606f 100644 --- a/src/drivers/mct/shr/seq_comm_mct.F90 +++ b/src/drivers/mct/shr/seq_comm_mct.F90 @@ -359,7 +359,7 @@ subroutine seq_comm_init(Comm_in, nmlfile) cpl_pestride = 1 cpl_nthreads = 1 - esmf_logging = 'unset' + esmf_logging = "ESMF_LOGKIND_NONE" ! Read namelist if it exists @@ -900,13 +900,6 @@ subroutine seq_comm_init(Comm_in, nmlfile) deallocate(comps,comms) ! ESMF logging (only has effect if ESMF libraries are used) - if (mype == 0) then - if (esmf_logging == 'unset') then - write(logunit,*) trim(subname),' ERROR: esmf_logging not set' - call shr_sys_abort(trim(subname)//' ERROR: esmf_logging not set') - endif - endif - call mpi_bcast(esmf_logging, len(esmf_logging), MPI_CHARACTER, 0, GLOBAL_COMM, ierr) select case(esmf_logging)