Skip to content

Fix Ubuntu 24.04 HIP configuration key - #5786

Draft
NginxL wants to merge 1 commit into
firedrakeproject:mainfrom
NginxL:e32/5759-hip-int32-key
Draft

NginxL wants to merge 1 commit into
firedrakeproject:mainfrom
NginxL:e32/5759-hip-int32-key

Conversation

@NginxL

@NginxL NginxL commented Dec 6, 2026

Copy link
Copy Markdown

Summary

Fixes #5759.

Add the missing IntType.INT32 component to the Ubuntu 24.04 x86_64 HIP configuration key. The lookup uses a four-part (OS, scalar type, integer type, GPU platform) key, so the previous three-part entry could not be selected.

Validation

  • Before the change, the command from the issue exited 1 with Firedrake configuration not found for option set.

  • After the change, the same command exited 0 and printed the PETSc configure options with --with-hip=1:

    python3 scripts/firedrake-configure --os ubuntu24.04-x86_64 --gpu-arch hip --show-petsc-configure-options
  • python3 -m py_compile scripts/firedrake-configure passed.

  • git diff --check passed.

Not run

No ROCm/PETSc configuration, compilation, or Firedrake test was run. This validates configuration lookup and emitted options only; the HIP build itself remains untested on this macOS host.

AI disclosure

This change was prepared with AI assistance and reviewed against the configuration lookup code and reproduction. The commit includes a DCO sign-off.

Signed-off-by: NginxL <8777777+NginxL@users.noreply.github.com>

This branch has not been deployed

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

firedrake-configure cannot select the Ubuntu 24.04 HIP configuration

1 participant