Skip to content

Commit

Permalink
MAINT: Configure petsc with hypre
Browse files Browse the repository at this point in the history
  • Loading branch information
jwboth committed Aug 28, 2024
1 parent 50b2f97 commit f5bc7e7
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,16 @@ jobs:
pip install numpy mpi4py
pip install petsc-dev petsc4py
- name: Set environment variables
run: |
echo "PETSC_DIR=/usr/local/petsc" >> $GITHUB_ENV
echo "PETSC_ARCH=arch-linux-c-opt" >> $GITHUB_ENV
# - name: Configure and install Hypre
# - name: Get environment variables
# run: |
# # Run ./configure --download-hypre in petsc folder
# cd /usr/local/petsc
# ./configure --download-hypre
# echo "PETSC_DIR=/usr/local/petsc" >> $GITHUB_ENV
# echo "PETSC_ARCH=arch-linux-c-opt" >> $GITHUB_ENV

- name: Configure and install Hypre
run: |
# Change directory to petsc directory using python command os.environ["PETSC_DIR"]
python -c "import os; os.chdir(os.environ['PETSC_DIR'])"
./configure --download-hypre
# Installation of petsc in parallel

Expand Down

0 comments on commit f5bc7e7

Please sign in to comment.