Skip to content

Compilation error for PETSC (MacOS Big Sur (11.2.3))

Hi, when using the develop branch, I get the following compilation error:

In file included from /Users/jstark/OPENFPM_DEPENDENCIES_dev/PETSC/include/petscvec.h:9: In file included from /Users/jstark/OPENFPM_DEPENDENCIES_dev/PETSC/include/petscis.h:7: /Users/jstark/OPENFPM_DEPENDENCIES_dev/PETSC/include/petscsys.h:219:6: error: "PETSc was configured with one OpenMPI mpi.h version but now appears to be compiling using a different OpenMPI mpi.h version"

error "PETSc was configured with one OpenMPI mpi.h version but now appears to be compiling using a different OpenMPI mpi.h version"

I remember that @Abhinav said he as well had problems with PETSC after updating his mac to Big Sur. Was it the same issue? And if yes, how did you solve it?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information