From 0e6f7070e42be46e8cf71018dd9101b980ec6f74 Mon Sep 17 00:00:00 2001 From: Jakub Both Date: Wed, 28 Aug 2024 19:56:17 +0200 Subject: [PATCH] MAINT: Extend build test to parallel versions of mumps and hypre. --- .github/workflows/ci.yml | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a48f0962..d7133e17 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,10 +42,33 @@ jobs: - name: Install dependencies run: | sudo apt-get update - sudo apt-get install -y libhypre-dev + sudo apt-get install -y mpich pip install numpy mpi4py pip install petsc petsc4py + - name: Set environment variables + run: | + echo "PETSC_DIR=/usr/local/petsc" >> $GITHUB_ENV + echo "PETSC_ARCH=arch-linux-c-opt" >> $GITHUB_ENV + + - name: Install Hypre + run: | + git clone https://github.com/hypre-space/hypre.git + cd hypre/src + ./configure --with-MPI + make + sudo make install + + - name: Install MUMPS + run: | + git clone https://github.com/scivision/mumps.git + cd mumps + mkdir build + cd build + cmake -G "Ninja" -DMUMPS_parallel=on .. + cmake --build . + sudo make install + - name: Install DarSIA run: pip install .[dev]