Skip to content

ci: add codes-ci-ubuntu24-mpich image (source-built MPICH)#260

Merged
caitlinross merged 1 commit into
codes-org:masterfrom
caitlinross:ci-ubuntu24-mpich-image
Jul 10, 2026
Merged

ci: add codes-ci-ubuntu24-mpich image (source-built MPICH)#260
caitlinross merged 1 commit into
codes-org:masterfrom
caitlinross:ci-ubuntu24-mpich-image

Conversation

@caitlinross

Copy link
Copy Markdown
Member

Ubuntu 24.04's apt mpich (4.2.0-5build3) seems to have broken today and causing CI issues. It is now built --with-device=ch4:ucx and is broken on the GitHub runners: UCX aborts MPI_Init on the runner's verbs device ("ibv_create_srq() failed"), and even past that mpiexec launches size-1 singletons so optimistic (--sync=3) tests silently run sequential. So we'll just build a docker container that builds MPI from source instead of from apt.

Ubuntu 24.04's apt mpich (4.2.0-5build3) is built --with-device=ch4:ucx and is
broken on the GitHub runners: UCX aborts MPI_Init on the runner's verbs device
("ibv_create_srq() failed"), and even past that mpiexec launches size-1
singletons so optimistic (--sync=3) tests silently run sequential. There's no
fixed mpich in the noble archive, so build our own.

- ci/ubuntu24-mpich/Dockerfile: ubuntu:24.04 + MPICH from source with
  --with-device=ch4:ofi (libfabric/TCP, no UCX/verbs), plus the toolchain,
  cmake/ninja, flex/bison, clang, and lcov. Bumping MPICH_VERSION is the whole
  update story.
- .github/workflows/ubuntu24-mpich-image.yml: publishes ghcr.io/codes-org/
  codes-ci-ubuntu24-mpich (mirrors full-ci-image.yml). Make the GHCR package
  public after the first publish so build.yml (incl. fork PRs) can pull it
  anonymously.

build.yml's ubuntu-24.04 mpich legs are pointed at this image on a separate
branch. Validated locally: mpiexec forms a real 3-rank world and CODES's
optimistic ping-pong runs genuinely parallel (Total PEs 3, ~13% remote events,
~88k rollbacks) instead of degrading to sequential.
@caitlinross

Copy link
Copy Markdown
Member Author

Note that this PR doesn't fix CI; it just creates the image (once merged) needed for #258 which will fix it.

@caitlinross caitlinross merged commit f322774 into codes-org:master Jul 10, 2026
14 of 15 checks passed
@caitlinross caitlinross deleted the ci-ubuntu24-mpich-image branch July 10, 2026 00:11
@caitlinross caitlinross mentioned this pull request Jul 10, 2026
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.

1 participant