From aed1c1883e530c4277a23aa6405bee83f68bdb84 Mon Sep 17 00:00:00 2001 From: Jakub Both Date: Wed, 28 Aug 2024 20:37:05 +0200 Subject: [PATCH] MAINT: Use serial versions of mumps and hypre --- .github/workflows/ci.yml | 48 ++++++++++++++++++++++++++-------------- 1 file changed, 31 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d7133e17..22c82ab8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,7 +42,7 @@ jobs: - name: Install dependencies run: | sudo apt-get update - sudo apt-get install -y mpich + sudo apt-get install -y libhypre-dev libmumps-seq-dev pip install numpy mpi4py pip install petsc petsc4py @@ -51,23 +51,37 @@ jobs: 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 + # Installation of petsc in parallel - - 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 dependencies + # run: | + # sudo apt-get update + # 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]