Problem installing PETSc #4151
-
Hi everyone, I'm trying to install Firedrake following the steps provided on the webpage. However, I encountered an issue during the installing-petsc step. When I run the following command: python3 ../firedrake-configure --show-petsc-configure-options | xargs -L1 ./configure I get the following error: =============================================================================================
Configuring PETSc to compile on your system
=============================================================================================
=============================================================================================
***** WARNING *****
Using version 2.12.0 of package HWLOC, PETSc is tested with 2.11. Suggest using
--download-hwloc for a compatible hwloc
=============================================================================================
TESTING: CxxMPICheck from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:671)
*********************************************************************************************
UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):
---------------------------------------------------------------------------------------------
C++ error! MPI_Finalize() could not be located!
********************************************************************************************* Has anyone encountered this issue before? Any suggestions on how to resolve it? I’ve attached the configure.log for reference. Thanks in advance for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Do you have an MPI installed? What operating system do you have? |
Beta Was this translation helpful? Give feedback.
-
I have MPI installed by brew install open-mpi and my OS is macOS Sequoia 15.3.2 |
Beta Was this translation helpful? Give feedback.
I see
/Applications/FreeFem++.app/Contents/ff-4.14/bin
is on your PATH which is getting picked up instead of the OpenMPI installed through homebrew. I think you can either: