Skip to content

Commit

Permalink
MAINT: Use serial versions of mumps and hypre
Browse files Browse the repository at this point in the history
  • Loading branch information
jwboth committed Aug 28, 2024
1 parent 0e6f707 commit aed1c18
Showing 1 changed file with 31 additions and 17 deletions.
48 changes: 31 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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]
Expand Down

0 comments on commit aed1c18

Please sign in to comment.