Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requested Clock object is not present #112

Open
platipodium opened this issue Jun 10, 2022 · 2 comments
Open

Requested Clock object is not present #112

platipodium opened this issue Jun 10, 2022 · 2 comments

Comments

@platipodium
Copy link
Contributor

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
Copy link

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?

@platipodium
Copy link
Contributor Author

Hi @giomatfois62

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?

I don't recall how exactly we approached this. In current ESMF 8.6 there should be more introspection possible which allows you to query the component for presence of a clock .. IUf you find this, please post the solution here or link it. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants