[petsc-users] C++ error! MPI_Finalize() could not be located!

Laryssa Abdala la.abdala at gmail.com
Sun Sep 25 16:30:02 CDT 2022


Amazing. Thank you so much for your clear explanation, Barry!

Laryssa

On Sun, Sep 25, 2022 at 5:06 PM Barry Smith <bsmith at petsc.dev> wrote:

>
>    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>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220925/f0c58606/attachment.html>


More information about the petsc-users mailing list