Skip to content

Commit

Permalink
new versions
Browse files Browse the repository at this point in the history
  • Loading branch information
MarDiehl committed Aug 7, 2024
1 parent aa33a90 commit fca8713
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/Fortran.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Grid and Mesh Solver
on: [push]

env:
PETSC_VERSION: '3.21.1'
PETSC_VERSION: '3.21.4'
HOMEBREW_NO_ANALYTICS: 'ON' # Make Homebrew installation a little quicker
HOMEBREW_NO_AUTO_UPDATE: 'ON'
HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK: 'ON'
Expand All @@ -13,7 +13,7 @@ jobs:

ubuntu_gcc:

runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

strategy:
matrix:
Expand All @@ -31,6 +31,7 @@ jobs:
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install liblapack-dev
sudo apt-get install -y gcc-${GCC_V} gfortran-${GCC_V} g++-${GCC_V}
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${GCC_V} 100 \
--slave /usr/bin/gfortran gfortran /usr/bin/gfortran-${GCC_V} \
Expand Down Expand Up @@ -88,7 +89,7 @@ jobs:
ubuntu_Intel:

runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

strategy:
fail-fast: false
Expand Down Expand Up @@ -126,8 +127,6 @@ 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" \
./petsc-${PETSC_VERSION}/config/BuildSystem/config/package.py
export PETSC_DIR=${PWD}/petsc-${PETSC_VERSION}
export PETSC_ARCH=intel
printenv >> $GITHUB_ENV
Expand All @@ -146,6 +145,7 @@ jobs:
--with-fc=mpiifx \
--with-cc=mpiicx \
--with-cxx=mpiicpx \
--with-x=0 \
--download-fftw --download-hdf5 --with-hdf5-fortran-bindings=1 --download-zlib
make all
Expand Down

0 comments on commit fca8713

Please sign in to comment.