Could you please try with the main branch of PETSc? 

  We've seen similar problems that have at least partially been dealt with in 
the main branch.

   Barry



> On Mar 28, 2022, at 4:42 PM, Alexander Lindsay <[email protected]> 
> wrote:
> 
> Attached is my configure.log. Error is:
> 
>  Could NOT find MPI_C (missing: MPI_C_HEADER_DIR) (found version "4.0")
> 
> What's interesting is that cmake does successfully find MPI_CXX and 
> MPI_Fortran albeit in a place I'd rather it not find it (a gcc mpi build 
> located at $HOME/mpich/installed/lib whereas mpicc -show yields what it 
> should at $HOME/mpich/installed-clang/lib).
> 
> My same configure line worked well with PETSc 3.15.x. I noticed that these 
> arguments are empty:
> 
> -DMPI_C_INCLUDE_PATH:STRING="" -DMPI_C_HEADER_DIR:STRING="" 
> -DMPI_C_LIBRARIES:STRING=""
> 
> If I fill those with the correct values and manually cmake superlu_dist, then 
> configure is successful
> <configure.log>

Reply via email to