[petsc-users] Compilation error

Junchao Zhang junchao.zhang at gmail.com
Fri Oct 11 17:04:47 CDT 2024


Check they are the same MPI wrappers(if you use them), for example with
"which mpicc" or "make V=1" to compare the exact executable path

--Junchao Zhang


On Fri, Oct 11, 2024 at 4:10 PM Daniel Pino Munoz <
daniel.pino_munoz at mines-paristech.fr> wrote:

> Dear all,
>
> I am currently trying to compile my code but the compilation fails with
> the following error:
>
> error "PETSc was configured with OpenMPI but now appears to be compiling
> using a non-OpenMPI mpi.h
>
> I have obviously checked and I am compiling my sources using the same
> compiler used to compile Petsc. To check this, I  looked into the
> configure.log file generated by petsc and verified that the compiler
> listed was indeed the one currently been used to compile my sources.
>
> Does anyone have any idea of where the problem might be coming from?
>
> Thank you,
>
>    D.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20241011/e1fe62e0/attachment.html>


More information about the petsc-users mailing list