-
Notifications
You must be signed in to change notification settings - Fork 9
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
Spack environment with ROCm 5.6 fails to build PETSc #65
Comments
Tracked the issue down to an architecture-specific portion of the PETSc code. The Spack environment has I am now able to reproduce the issue outside of my Spack environment by adding I'll simplify the reproducer so that I can file a bug report with OLCF and AMD. I am also rebuilding our software stack with |
Huh. Fascinating. Hopefully we can fix this in the newest version of that compiler toolchain. cc @balay |
cc: @jczhang07 |
@balay it failed on code not related to GPU. As mentioned above, it seems like a compiler bug. I am not sure how we can do at petsc side to work around that (with --CFLAGS="-march=znver3 -mtune=znver3", and amdclang 5.6+)
|
Issue type
Relates to
Summary
While attempting to upgrade to ROCm 5.6 on Frontier (see nicholson/frontier-rocm5.6), PETSc fails to build.
The error is an ICE (Internal Compiler Error):
>> 2973 fatal error: error in backend: Instruction Combining seems stuck in an infinite loop after 1000 iterations.
>> 3021 clang-16: error: clang frontend command failed with exit code 70 (use -v to see invocation)
Full log: spack-build-out.txt
I'll try a few more things. Building PETSc from source outside of the Spack environment seems to work fine with ROCm 5.6.
The text was updated successfully, but these errors were encountered: