"mpi.h" not found
Created by: teamblubee
I saw the discussions about using <mpi.h> instead of "mpih."
I am having a build failure because this file: Trilinos-d0a8f5e2/packages/teuchos/core/src/Teuchos_GlobalMPISession.cpp
is including "mpi.h"
There's a reference to a particular bugzilla that I do not have access to: https://software.sandia.gov/bugzilla/show_bug.cgi?id=5631
Is there any possible way to fix this upstream?
This is the configure argument that I am running; ${LOCALBASE} = /usr/local
CMAKE_ARGS+= -GNinja \
-DCMAKE_INSTALL_RPATH="${PREFIX}/lib" \
-DBUILD_SHARED_LIBS=ON \
-DTrilinos_ENABLE_ALL_OPTIONAL_PACKAGES=OFF \
-DTrilinos_ENABLE_Epetra=ON \
-DTrilinos_ENABLE_EpetraExt=ON \
-DTrilinos_ENABLE_Amesos=ON \
-DTrilinos_ENABLE_Epetra=ON \
-DTrilinos_ENABLE_Ifpack=ON \
-DTrilinos_ENABLE_AztecOO=ON \
-DTrilinos_ENABLE_Sacado=ON \
-DTrilinos_ENABLE_Teuchos=ON \
-DTrilinos_ENABLE_MueLu=ON \
-DTrilinos_ENABLE_ML=ON \
-DTrilinos_ENABLE_ROL=ON \
-DTrilinos_ENABLE_Fortran=OFF \
-DTrilinos_ENABLE_Zoltan=ON \
-DTPL_ENABLE_DLlib=OFF \
-DTPL_ENABLE_MPI=ON \
-DMPI_USE_COMPILER_WRAPPERS=ON \
-DMPI_C_COMPILER:FILEPATH="${LOCALBASE}/bin/mpicc" \
-DMPI_CXX_COMPILER:FILEPATH="${LOCALBASE}/bin/mpic++" \
-DMPI_Fortran_COMPILER:FILEPATH="${LOCALBASE}/bin/mpif77" \
-DCMAKE_C_COMPILER:FILEPATH="${LOCALBASE}/bin/mpicc" \
-DCMAKE_CXX_COMPILER:FILEPATH="${LOCALBASE}/bin/mpic++" \
-DCMAKE_Fortran_COMPILER:FILEPATH="${LOCALBASE}/bin/mpif77" \
-DMPI_BASE_DIR="${LOCALBASE}"
best