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

Programs only using cartesian offsets are allowed to be explicitly set as unstructured by the user #1645

Open
egparedes opened this issue Sep 16, 2024 · 0 comments

Comments

@egparedes
Copy link
Contributor

egparedes commented Sep 16, 2024

Programs which only contain cartesian offsets (or not offsets at all, therefore pointwise stencils) are allowed to be explicitly set as unstructured by the user, which does not make sense and it easily cause weird errors due to unexpected interactions with other gt4py assumptions (e.g. issue #1644 or the lack of sensible horizontal domain bounds for stencils with K-only fields).

This issue was originally found and reported by @halungge in the icon4py project.

@egparedes egparedes changed the title Programs with only cartesian offsets are allowed to be explicitly set as unstructured by the user Programs only using cartesian offsets are allowed to be explicitly set as unstructured by the user Sep 16, 2024
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

1 participant