[petsc-users] C++ error! MPI_Finalize() could not be located!
Barry Smith
bsmith at petsc.dev
Sun Sep 25 16:06:46 CDT 2022
It appears you want to use MPI (if not pass --with-mpi=0 also).
Thus you must either
1) have the MPI compiler wrappers in your path (mpicc, mpicxx, mpif90) or use --with-mpi-dir=somedirectory where MPI is installed and do NOT provide the compiler names (since MPI provides compiler wrappers). or
2) use the current configure options and add --download-mpich to have MPI installed for you.
Barry
> On Sep 25, 2022, at 4:49 PM, Laryssa Abdala <la.abdala at gmail.com> wrote:
>
> Hello,
>
> I am trying to configure PETSc and have been getting the following message:
> TESTING: CxxMPICheck from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:416) *******************************************************************************
> UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):
> -------------------------------------------------------------------------------
> C++ error! MPI_Finalize() could not be located!
> *******************************************************************************
>
> I attached my configure.log file. Any suggestions on how to fix this issue would be appreciated.
>
> Thanks,
> Laryssa
> <configure.log>
More information about the petsc-users
mailing list