Fails to use then supplied openmpi path
Created by: yurivict
On FreeBSD OpenMPI headers are in /usr/local/mpi/openmpi/include. During configure and build stages CXXFLAGS has -L flag with this folder.
cmake has these arguments:
-DTrilinos_ENABLE_OpenMP:BOOL=ON
-DTPL_ENABLE_MPI:BOOL=ON
-DMPI_BASE_DIR:PATH="/usr/local/mpi/openmpi"
-DMPI_BIN_DIR:PATH="/usr/local/mpi/openmpi/bin"
Yet build still breaks with this error:
/usr/ports/math/trilinos/work/Trilinos-trilinos-release-12-6-2/packages/zoltan/src/include/zoltan.h:50:17: fatal error: mpi.h: No such file or directory
#include <mpi.h>
System calls trace shows that the "openmpi" folder is never looked at for mpi.h.