Skip to content

Commit

Permalink
Use PETSc 3.22.2 in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiqunZhang committed Jan 18, 2025
1 parent 0233b8e commit 99ff511
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/petsc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
uses: ./.github/workflows/check_changes.yml

test-petsc-cpu-2d:
name: GCC 2D EB PETSc@3.18.1
name: GCC 2D EB PETSc
runs-on: ubuntu-latest
needs: check_changes
if: needs.check_changes.outputs.has_non_docs_changes == 'true'
Expand All @@ -31,9 +31,9 @@ jobs:
ccache-${{ github.workflow }}-${{ github.job }}-git-
- name: Build PETSc
run: |
wget -q https://github.com/petsc/petsc/archive/refs/tags/v3.18.1.tar.gz
tar xfz v3.18.1.tar.gz
cd petsc-3.18.1
wget -q https://github.com/petsc/petsc/archive/refs/tags/v3.22.2.tar.gz
tar xfz v3.22.2.tar.gz
cd petsc-3.22.2
export PETSC_DIR=${PWD}
./configure --prefix=${PWD}/petsc
make -j 4
Expand All @@ -48,7 +48,7 @@ jobs:
export CCACHE_LOGFILE=${{ github.workspace }}/ccache.log.txt
ccache -z
export AMREX_PETSC_HOME=${PWD}/petsc-3.18.1/petsc
export AMREX_PETSC_HOME=${PWD}/petsc-3.22.2/petsc
cd Tests/LinearSolvers/CellEB
make -j4 USE_MPI=TRUE USE_PETSC=TRUE DIM=2 TEST=TRUE \
CCACHE=ccache
Expand Down

0 comments on commit 99ff511

Please sign in to comment.