Skip to content

MPI error building libmesh #26538

Jan 11, 2024 · 1 comments · 17 replies
Discussion options

You must be logged in to vote

Got the system OpenMPI to compile! The answer was in the output from the libmesh build script:

note: Checking /lib and /include for MPI
note: testing /lib/libmpi(.a/.so/.dylib)
checking for lam_show_version in -llam... no
checking for MPI_Init in -lmpi... yes
Found valid MPI installation...
Could not find MPI header <mpi.h>...

My mpi.h is at /usr/include/mpi.h, which was not checked. Simply adding --with-mpi-include=/usr/include let moose compile!

Replies: 1 comment 17 replies

Comment options

You must be logged in to vote
17 replies
@milljm
Comment options

@ke7kto
Comment options

@milljm
Comment options

@ke7kto
Comment options

Answer selected by ke7kto
@milljm
Comment options

@roystgnr
Comment options

@roystgnr
Comment options

@ke7kto
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants