From 875e18afea3d5e5851e5782bb55029527b4bc638 Mon Sep 17 00:00:00 2001 From: Jan Nikl Date: Thu, 22 Oct 2026 14:49:13 -0700 Subject: [PATCH 1/4] Fixed key names to match action version. --- .github/workflows/builds.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index a7b8ba91..526bc9eb 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -85,7 +85,7 @@ jobs: uses: actions/cache@v4 with: path: ${{ env.HYPRE_TOP_DIR }} - key: ${{ runner.os }}-build-${{ env.HYPRE_TOP_DIR }}-v2.2 + key: ${{ runner.os }}-build-${{ env.HYPRE_TOP_DIR }}-v2.4 - name: build hypre if: steps.hypre-cache.outputs.cache-hit != 'true' && matrix.mpi == 'par' @@ -103,7 +103,7 @@ jobs: uses: actions/cache@v4 with: path: ${{ env.METIS_TOP_DIR }} - key: ${{ runner.os }}-build-${{ env.METIS_TOP_DIR }}-v2.2 + key: ${{ runner.os }}-build-${{ env.METIS_TOP_DIR }}-v2.4 - name: build metis if: steps.metis-cache.outputs.cache-hit != 'true' && matrix.mpi == 'par' From 445ff551e0379f454527a754794cd6538bb7e9bc Mon Sep 17 00:00:00 2001 From: Jan Nikl Date: Thu, 22 Oct 2026 14:49:45 -0700 Subject: [PATCH 2/4] Updated python to 3.12 for CI. --- .github/workflows/builds.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 526bc9eb..a86e0983 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -233,7 +233,7 @@ jobs: if: matrix.build-system == 'cmake' uses: actions/setup-python@v5 with: - python-version: 3.9 + python-version: 3.12 - name: setup Python packages for testing if: matrix.build-system == 'cmake' From a8879852191d5673f05c7bbe0d7203051841c923 Mon Sep 17 00:00:00 2001 From: Jan Nikl Date: Thu, 22 Oct 2026 16:08:55 -0700 Subject: [PATCH 3/4] Changed MPICH to OpenMPI following MFEM. --- .github/workflows/builds.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index a86e0983..4af17bc3 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -61,7 +61,8 @@ jobs: if: matrix.os == 'ubuntu-latest' && matrix.mpi == 'par' run: | sudo apt-get update - sudo apt-get install mpich libmpich-dev + sudo apt-get install openmpi-bin libopenmpi-dev + export OMPI_MCA_rmaps_base_oversubscribe=1 export MAKE_CXX_FLAG="MPICXX=mpic++" # Keep the following section in case we need it again in the future, From 8c8d71b48c120eb8e673019d424323b175b5d95a Mon Sep 17 00:00:00 2001 From: Jan Nikl Date: Thu, 22 Oct 2026 18:17:33 -0700 Subject: [PATCH 4/4] Pinned C standard in github action. --- .github/workflows/builds.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 4af17bc3..c099d617 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -25,6 +25,7 @@ env: METIS_TOP_DIR: metis-4.0.3 MFEM_TOP_DIR: mfem MFEM_BRANCH: master + MFEM_ACTIONS_VERSION: v2.9 jobs: builds-and-tests: @@ -86,11 +87,11 @@ jobs: uses: actions/cache@v4 with: path: ${{ env.HYPRE_TOP_DIR }} - key: ${{ runner.os }}-build-${{ env.HYPRE_TOP_DIR }}-v2.4 + key: ${{ runner.os }}-build-${{ env.HYPRE_TOP_DIR }}-${{ env.MFEM_ACTIONS_VERSION }} - name: build hypre if: steps.hypre-cache.outputs.cache-hit != 'true' && matrix.mpi == 'par' - uses: mfem/github-actions/build-hypre@v2.4 + uses: mfem/github-actions/build-hypre@v2.9 with: archive: ${{ env.HYPRE_ARCHIVE }} dir: ${{ env.HYPRE_TOP_DIR }} @@ -104,11 +105,11 @@ jobs: uses: actions/cache@v4 with: path: ${{ env.METIS_TOP_DIR }} - key: ${{ runner.os }}-build-${{ env.METIS_TOP_DIR }}-v2.4 + key: ${{ runner.os }}-build-${{ env.METIS_TOP_DIR }}-${{ env.MFEM_ACTIONS_VERSION }} - name: build metis if: steps.metis-cache.outputs.cache-hit != 'true' && matrix.mpi == 'par' - uses: mfem/github-actions/build-metis@v2.4 + uses: mfem/github-actions/build-metis@v2.9 with: archive: ${{ env.METIS_ARCHIVE }} dir: ${{ env.METIS_TOP_DIR }} @@ -134,7 +135,7 @@ jobs: uses: actions/cache@v4 with: path: ${{ env.MFEM_TOP_DIR }} - key: ${{ runner.os }}-build-${{ env.MFEM_TOP_DIR }}-${{ env.MFEM_COMMIT }}-${{ matrix.build-system }}-${{ matrix.target }}-${{ matrix.mpi }}-v2.4 + key: ${{ runner.os }}-build-${{ env.MFEM_TOP_DIR }}-${{ env.MFEM_COMMIT }}-${{ matrix.build-system }}-${{ matrix.target }}-${{ matrix.mpi }}-${{ env.MFEM_ACTIONS_VERSION }} # We are using the defaults of the MFEM action here, which is to use master # branch. There is an implicit assumption here that mfem master hasn't @@ -143,7 +144,7 @@ jobs: # superfluous. - name: build mfem if: steps.cache-mfem.outputs.cache-hit != 'true' - uses: mfem/github-actions/build-mfem@v2.4 + uses: mfem/github-actions/build-mfem@v2.9 with: os: ${{ matrix.os }} target: ${{ matrix.target }}