From 305743c12763d3ce31a192879a2ec2b85ba7c453 Mon Sep 17 00:00:00 2001 From: Aaron Miller Date: Tue, 8 Sep 2026 13:55:12 +0100 Subject: [PATCH] =?UTF-8?q?fix(ci):=20=F0=9F=90=9B=20install=20MPI=20for?= =?UTF-8?q?=20the=20bare-metal=20benchmark?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The ladder introduced in #323 builds with monoprop_ENABLE_MPI=ON and launches L2b under mpiexec, but the job set up its environment without the `mpi` input, so no MPI runtime reached the runner and CMake stopped at `Package 'mpi-cxx' not found`. The cache suffix moves with the configuration: the `benchmark` cache was filled by the non-MPI builds that preceded the ladder, and a monoprop restored from it would be the one every rung shares. Assisted-by: claude-code:claude-opus-5 --- .github/workflows/bench.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index 50ef1b91..13a2d104 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -42,7 +42,11 @@ jobs: - name: Set up the build environment uses: ./.github/actions/setup with: - cache-suffix: benchmark + # A cache filled by a non-MPI build would restore a monoprop without MPI, which every + # rung below then shares. + cache-suffix: benchmark-mpi + # The build below requires MPI::MPI_CXX, and the multi-rank rungs need mpiexec. + mpi: "on" - name: Install package env: