[petsc-users] Can not find the header file for OpenMPI

neil liu liufield at gmail.com
Mon May 13 10:12:41 CDT 2024


Dear Petsc developers,

I am trying to install Petsc with a preinstalled OpenMPi.

./configure --download-fblaslapack --with-mpi-dir=/usr/lib64/openmpi
--with-mpi-incdir=/usr/include/openmpi-x86_64

But the final information shows,
  MPI:
  Version:    3
  Includes:   -I/usr/lib64/openmpi/include (*This is not the right include
directory*)
  mpiexec: /usr/lib64/openmpi/bin/mpiexec
  Implementation: openmpi
  OMPI_VERSION: 4.1.1

Did I use the wrong way to include the incdir?

Thanks,
Xiaodong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20240513/539220ce/attachment.html>


More information about the petsc-users mailing list