noaa-ocs-modeling / CoastalApp

CoastalApp will be deprecated. Please switch to https://github.com/oceanmodeling/ufs-coastal . CoastalApp is a NUOPC application implemented following UFS best practices to couple coastal ocean models and other domains (Sea Ice, Atmosphere, Wave, Inland Hydrology, ...)
https://github.com/oceanmodeling/ufs-coastal
Creative Commons Zero v1.0 Universal
13 stars 30 forks source link

Requested Clock object is not present #112

Open platipodium opened 2 years ago

platipodium commented 2 years ago

The NUOPC driver of NEMS seems to be missing a clock, as the call to retrieve this clock in a child component (here: SCHISM)

 call NUOPC_ModelGet(comp, driverClock=clock, rc=localrc)

fails with an invalid object error.

20220610 130101.527 INFO             PET0 OCN: InitializeIPDvXp07 extro.
20220610 130101.528 ERROR            PET0 ESMF_Comp.F90:1511 ESMF_CompGet Invalid object  - requested Clock object is not present.
20220610 130101.528 ERROR            PET0 ESMF_GridComp.F90:1129 ESMF_GridCompGet Invalid object  - Internal subroutine call returned Error
20220610 130101.528 ERROR            PET0 ATM:src/addon/NUOPC/src/NUOPC_ModelBase.F90:2491 Invalid object  - Passing error in return code
20220610 130101.528 ERROR            PET0 EARTH grid component01:src/addon/NUOPC/src/NUOPC_Driver.F90:2570 Invalid object  - Phase 'IPDv00p4' Initialize for modelComp 1: ATM did not return ESMF_SUCCESS
20220610 130101.528 ERROR            PET0 EARTH grid component01:src/addon/NUOPC/src/NUOPC_Driver.F90:2387 Invalid object  - Passing error in return code
20220610 130101.528 ERROR            PET0 EARTH grid component01:src/addon/NUOPC/src/NUOPC_Driver.F90:2193 Invalid object  - Passing error in return code
20220610 130101.528 ERROR            PET0 EARTH grid component01:src/addon/NUOPC/src/NUOPC_Driver.F90:472 Invalid object  - Passing error in return code
20220610 130101.528 ERROR            PET0 module_NEMS_GRID_COMP.F90:668 Invalid object  - Breaking out of subroutine
20220610 130101.528 ERROR            PET0 MAIN_NEMS.F90:476 Invalid object  - Aborting NEMS
giomatfois62 commented 3 weeks ago

Hi, sorry for resurrecting this issue, we have the same problem with some of our components after moving from esmf 7.1.0 to 8.1. How did you solve this if you did?