Test with PETSc 3.16.0 on GitHub

This commit is contained in:
Martin Diehl 2021-10-08 16:05:36 +02:00
parent a6ee7bd942
commit 89b0047d91
1 changed files with 20 additions and 20 deletions

View File

@ -48,17 +48,17 @@ jobs:
uses: actions/cache@v2
with:
path: download
key: petsc-3.15.4.tar.gz
key: petsc-3.16.0.tar.gz
- name: PETSc - Download
if: steps.petsc-download.outputs.cache-hit != 'true'
run: |
wget -q https://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-3.15.4.tar.gz -P download
wget -q https://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-3.16.0.tar.gz -P download
- name: PETSc - Prepare
run: |
tar -xf download/petsc-3.15.4.tar.gz -C .
export PETSC_DIR=${PWD}/petsc-3.15.4
tar -xf download/petsc-3.16.0.tar.gz -C .
export PETSC_DIR=${PWD}/petsc-3.16.0
export PETSC_ARCH=gcc${GCC_V}
printenv >> $GITHUB_ENV
@ -66,24 +66,24 @@ jobs:
id: petsc-install
uses: actions/cache@v2
with:
path: petsc-3.15.4
key: petsc-3.15.4-${{ matrix.os }}-gcc${{ matrix.gcc_v }}-${{ hashFiles('**/petscversion.h') }}
path: petsc-3.16.0
key: petsc-3.16.0-${{ matrix.os }}-gcc${{ matrix.gcc_v }}-${{ hashFiles('**/petscversion.h') }}
- name: PETSc - Install (Linux)
if: contains( matrix.os, 'ubuntu')
run: |
cd petsc-3.15.4
cd petsc-3.16.0
./configure --with-fc=gfortran --with-cc=gcc --with-cxx=g++ \
--download-mpich --download-fftw --download-hdf5 --download-zlib \
--download-mpich --download-fftw --download-hdf5 --download-hdf5-fortran-bindings=1 --download-zlib \
--with-mpi-f90module-visibility=0
make all
- name: PETSc - Install (macOS)
if: contains( matrix.os, 'macos')
run: |
cd petsc-3.15.4
cd petsc-3.16.0
./configure --with-fc=gfortran-${GCC_V} --with-cc=gcc-${GCC_V} --with-cxx=g++-${GCC_V} \
--download-openmpi --download-fftw --download-hdf5 --download-zlib
--download-openmpi --download-fftw --download-hdf5 --download-hdf5-fortran-bindings=1 --download-zlib
make all
- name: DAMASK - Compile
@ -132,17 +132,17 @@ jobs:
uses: actions/cache@v2
with:
path: download
key: petsc-3.15.4.tar.gz
key: petsc-3.16.0.tar.gz
- name: PETSc - Download
if: steps.petsc-download.outputs.cache-hit != 'true'
run: |
wget -q https://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-3.15.4.tar.gz -P download
wget -q https://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-3.16.0.tar.gz -P download
- name: PETSc - Prepare
run: |
tar -xf download/petsc-3.15.4.tar.gz -C .
export PETSC_DIR=${PWD}/petsc-3.15.4
tar -xf download/petsc-3.16.0.tar.gz -C .
export PETSC_DIR=${PWD}/petsc-3.16.0
export PETSC_ARCH=intel-${INTEL_V}
printenv >> $GITHUB_ENV
@ -150,23 +150,23 @@ jobs:
id: petsc-install
uses: actions/cache@v2
with:
path: petsc-3.15.4
key: petsc-3.15.4-intel-${{ matrix.intel_v }}-${{ hashFiles('**/petscversion.h') }}
path: petsc-3.16.0
key: petsc-3.16.0-intel-${{ matrix.intel_v }}-${{ hashFiles('**/petscversion.h') }}
- name: PETSc - Install (classic)
if: contains( matrix.intel_v, 'classic')
run: |
cd petsc-3.15.4
cd petsc-3.16.0
./configure --with-fc=mpiifort --with-cc=mpiicc --with-cxx=mpiicpc \
--download-fftw --download-hdf5 --download-zlib
--download-fftw --download-hdf5 --download-hdf5-fortran-bindings=1 --download-zlib
make all
- name: PETSc - Install (LLVM)
if: contains( matrix.intel_v, 'llvm')
run: |
cd petsc-3.15.4
cd petsc-3.16.0
./configure --with-fc=mpiifort --with-cc="mpiicc -cc=icx" --with-cxx="mpiicpc -cxx=icpx" \
--download-fftw --download-hdf5 --download-zlib
--download-fftw --download-hdf5 --download-hdf5-fortran-bindings=1 --download-zlib
make all
- name: DAMASK - Compile