-
Notifications
You must be signed in to change notification settings - Fork 29
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
Kernels looping over halo cells and stencils #2781
Comments
@tommbendall when you say it triggers errors: is that because we're asking for too deep a halo? Should we do |
Thanks for posting this @sergisiso. Maybe one solution here is to implement a new type of stencil (on the LFRic infrastructure side) that be need a new type of stencil that is explicitly parallel to the halos. A hack might be to change the halo exchange to happen on: (and as I'm typing I've just seen Andy type the same thing!) |
We could have a rule that for kernels that operate on halo cells and have a stencil, any halo exchange will always be to the maximum depth? (We already have machinery for handling the special case of maximum depth.) |
I realised that I didn't answer your question above. Yes the failures were because Maybe our halo exchanges should be performed to a depth I was just discussing this with @thomasmelvin and the challenge is when we actually want to fail and when we don't. Could we potentially print out a warning if However if we halo exchange to |
Originally posted by @tommbendall in #2745 (comment)
The text was updated successfully, but these errors were encountered: