-
Notifications
You must be signed in to change notification settings - Fork 116
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
GCC internal error #1477
Comments
Is it the |
It's the combination. We are running under a separate branch on my fork where I generate the above as The issue is that since it's an internal GCC failure the pattern doesn't fail all the time, I'll endeavor to get the smallest SDFG failing I can |
Here's the smallest SDFG that triggers it, albeit a big one I am afraid. A load/compile shows it: remapping.sdfgz.zip. As usual with github I appended .zip but it's a straight .sdfgz |
The original python code is here: https://github.com/GEOS-ESM/pace/blob/c50b7af37d6de68620095747f09ad9ea39af4a83/fv3core/pace/fv3core/stencils/map_single.py#L21 |
Up this issue. It's still very much present with latest |
Can you please check whether #1522 fixes the issue? |
#1522 fixes it. |
Follow up of #1460 - [x] Fixed the `ci` script (including `git checkout issues` around selecting the correct `dace`) - [x] Move `D_SW` to execute only on rank 0 to avoid rebuild - [x] Swapped Rieman Solver on C-grid for D-grid for better coverage ~~WARNING: this PR is blocked by #1477~~ ~~WARNING: this PR is blocked by #1568~~ --------- Co-authored-by: Tal Ben-Nun <tbennun@users.noreply.github.com>
Describe the bug
Code generated by the CPU backend of DaCe can (infrequently) lead to GCC dying of internal failure.
The above pattern
const double* const &X = &Y[0]
is indeed the culprit. Removing it by hand saves GCC from dying.This happens from gcc 10 to 13 included.
Can we get rid of the
const &
, which arguably is correct but seems to make GCC sad?To Reproduce
The text was updated successfully, but these errors were encountered: