diff --git a/gridcomps/Cap/MAPL_Cap.F90 b/gridcomps/Cap/MAPL_Cap.F90 index 0911e66b3db..8e417d5228a 100644 --- a/gridcomps/Cap/MAPL_Cap.F90 +++ b/gridcomps/Cap/MAPL_Cap.F90 @@ -308,7 +308,7 @@ subroutine run_model(this, comm, unusable, rc) ! If the file exists, we pass it into ESMF_Initialize, else, we ! use the one from the command line arguments - if (esmf_config_file_exists) then + if (esmfConfigFileExists) then call ESMF_Initialize (configFileName=esmfConfig_file, mpiCommunicator=comm, vm=vm, _RC) else call ESMF_Initialize (logKindFlag=this%cap_options%esmf_logging_mode, mpiCommunicator=comm, vm=vm, _RC)