Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@rheacangeo
Copy link
Contributor

Purpose

Reordering package imports in stencil.py so that pace.util loads after gt4py., otherwise on daint compilation breaks with
Field decl type <class 'gtc.gtir.FieldDecl'> has no 'dimensions' attribute
from the fv3core standalone.
Another solution that works is removing the imports from dsl/pace/dsl/init.py, but having those makes the driver cleaner to read.

…r gt4py.<features>, otherwise on daint compilation breaks
Copy link
Collaborator

@mcgibbon mcgibbon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job figuring this out, I can’t imagine it was easy.

@rheacangeo rheacangeo enabled auto-merge (squash) February 14, 2022 23:51
@rheacangeo
Copy link
Contributor Author

launch jenkins

@rheacangeo rheacangeo merged commit 7461a8b into main Feb 15, 2022
@rheacangeo rheacangeo deleted the fix-daint-compilation branch February 15, 2022 03:38
twicki pushed a commit to twicki/pace that referenced this pull request Aug 22, 2025
* removed direct gt4py imports

* linting

* added nametag to gtscript imports

* linting

* changed @function to @gtfunction

* new NDSL version

* new NDSL branch

* new NDSL version, removing extra imports in ndsl.dsl.gt4py that causes crash during tests

* new NDSL version... again

* Added name to CONTRIBUTORS.md
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

Successfully merging this pull request may close these issues.

3 participants