On Tue, Jun 1, 2021 at 7:36 AM Davies, Calvin <calvin.davies20@imperial.ac.uk> wrote:
Hi,

I am a MSc student at Imperial currently trying to use firedrake as part of my final research project. I am operating on a macOS Big Sur (11.2.3). I believe I have the necessary requirements on my system, however part way during building PETSc it broke, and appears to have an issue with 'pastix'.

Please see attached the log files

The test for the Fortran compiler is failing:

===== Checking linker
Executing: gfortran -c -o /var/folders/t2/nbzzdq_j5pz4g_rm_hmtjc940000gn/T/petsc-0iho1z1q/config.setCompilers/conftest.o -I/var/folders/t2/nbzzdq_j5pz4g_rm_hmtjc940000gn/T/petsc-0iho1z1q/config.setCompilers   /var/folders/t2/nbzzdq_j5pz4g_rm_hmtjc940000gn/T/petsc-0iho1z1q/config.setCompilers/conftest.F90
Successful compile:
Source:
      program main

      end
Executing: gfortran  -o /var/folders/t2/nbzzdq_j5pz4g_rm_hmtjc940000gn/T/petsc-0iho1z1q/config.setCompilers/conftest -Wl,-rpath,/usr/local/opt/openblas/lib -L/usr/local/opt/openblas/lib   /var/folders/t2/nbzzdq_j5pz4g_rm_hmtjc940000gn/T/petsc-0iho1z1q/config.setCompilers/conftest.o
Possible ERROR while running linker: exit code 1
stderr:
ld: library not found for -lSystem
collect2: error: ld returned 1 exit status
          Error testing Fortran compiler: Cannot compile/link FC with gfortran.
            Deleting "FC"

The PasTiX library requires a  Fortran compiler. It is possible that the OpenBLAS flag is causing this. The Firedrake team can comment on that.

  Thanks,

    Matt

Any help would be much appreciated.

Cheers,
Calvin
_______________________________________________
firedrake mailing list
firedrake@imperial.ac.uk
https://mailman.ic.ac.uk/mailman/listinfo/firedrake


--
What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.
-- Norbert Wiener