From b9e453199db94d5c8de8c755fb140c6819bed798 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Sun, 31 Mar 2024 11:37:40 +0200 Subject: [PATCH] GitHub Actions for PETSc 3.21.0 --- .github/workflows/Fortran.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/Fortran.yml b/.github/workflows/Fortran.yml index 3a7548b2f..030f5747d 100644 --- a/.github/workflows/Fortran.yml +++ b/.github/workflows/Fortran.yml @@ -2,7 +2,7 @@ name: Grid and Mesh Solver on: [push] env: - PETSC_VERSION: '3.20.5' + PETSC_VERSION: '3.21.0' HOMEBREW_NO_ANALYTICS: 'ON' # Make Homebrew installation a little quicker HOMEBREW_NO_AUTO_UPDATE: 'ON' HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK: 'ON' @@ -67,7 +67,7 @@ jobs: run: | cd petsc-${PETSC_VERSION} ./configure --with-fc=gfortran --with-cc=gcc --with-cxx=g++ \ - --download-openmpi --download-fftw --download-hdf5 --download-hdf5-fortran-bindings=1 --download-zlib \ + --download-openmpi --download-fftw --download-hdf5 --with-hdf5-fortran-bindings=1 --download-zlib \ --with-mpi-f90module-visibility=1 make all @@ -128,7 +128,7 @@ jobs: - name: PETSc - Prepare run: | tar -xf download/petsc-${PETSC_VERSION}.tar.gz -C . - sed -i "1800s/if not os.path.isfile(os.path.join(self.packageDir,self.configureName)):/if True:/g" \ + sed -i "1802s/if not os.path.isfile(os.path.join(self.packageDir,self.configureName)):/if True:/g" \ ./petsc-${PETSC_VERSION}/config/BuildSystem/config/package.py export PETSC_DIR=${PWD}/petsc-${PETSC_VERSION} export PETSC_ARCH=intel @@ -143,12 +143,13 @@ jobs: - name: PETSc - Install run: | + mpiifx -show cd petsc-${PETSC_VERSION} ./configure \ --with-fc=mpiifx \ --with-cc=mpiicx \ --with-cxx=mpiicpx \ - --download-fftw --download-hdf5 --download-hdf5-fortran-bindings=1 --download-zlib + --download-fftw --download-hdf5 --with-hdf5-fortran-bindings=1 --download-zlib make all - name: DAMASK - Compile