Skip to content

fix(container): Command-Line Container build fails — PETSc 3.21/3.22 API mismatch #355

Closed

Description

@jcgraciosa

Summary

The GHCR: Command-Line Container build has been failing since PR #242
(2026-06-18), which added UW_DMPlexComputeResidualByKeyVolumeOnly to
petsc_compat.h using APIs not present in PETSc 3.21.5:

  • DMCopyFields with 4 args (3.21 only has 2)
  • DMPlexComputeResidualByKey (not present in 3.21)

Both are available from PETSc 3.24 onwards (verified against conda-forge).

Fix

Bump environment.yaml from petsc=3.21.5 / petsc4py=3.21.5 to
petsc=3.24 / petsc4py=3.24.

This only affects the container — regular developers use pixi, not
environment.yaml.

Activity

  1. added a commit that references this issue on Jul 23, 2026
    d654859
  2. lmoresi commented on Jul 23, 2026

    @lmoresi
    Member

    Fixed by PR #356 (environment.yaml dependencies bumped to match pixi.toml), merged to development on 2026-07-23. (Manual close — PRs target development, so GitHub auto-close does not fire.)

    Underworld development team with AI support from Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions