From b11c2820b005a78bdfbed571fc3c0a58e3679707 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Sat, 25 Nov 2023 08:49:57 +0100 Subject: [PATCH] using Philips instructions --- .github/workflows/Fortran.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Fortran.yml b/.github/workflows/Fortran.yml index 56e3e47d5..3a8f9f2f9 100644 --- a/.github/workflows/Fortran.yml +++ b/.github/workflows/Fortran.yml @@ -108,6 +108,10 @@ jobs: path: download key: petsc-${{ env.PETSC_VERSION }}.tar.gz + - name: install prerequisites + run: | + brew install pkg-config make cmake zlib wget openmpi fftw hdf5-mpi + - name: PETSc - Download if: steps.petsc-download.outputs.cache-hit != 'true' run: | @@ -130,9 +134,10 @@ jobs: - name: PETSc - Installation run: | cd petsc-${PETSC_VERSION} - ./configure - --download-fftw --download-hdf5 --download-zlib --download-make \ - --download-hdf5-fortran-bindings=1 --with-mpi-f90module-visibility=1 + ./configure \ + --with-zlib-dir=$(brew --prefix zlib) \ + --with-fftw-dir=$(brew --prefix fftw) \ + --with-hdf5-dir=$(brew --prefix hdf5-mpi) --with-hdf5-fortran-bindings=1 make all - name: DAMASK - Compile