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

fix daint compilation #114

Merged
merged 1 commit into from
Feb 15, 2022
Merged

fix daint compilation #114

merged 1 commit into from
Feb 15, 2022

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
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.

2 participants