[petsc-users] Failure to configure superlu_dist

Alexander Lindsay alexlindsay239 at gmail.com
Mon Mar 28 15:42:27 CDT 2022


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220328/789c2d9a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: text/x-log
Size: 2634419 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220328/789c2d9a/attachment-0001.bin>


More information about the petsc-users mailing list