> > If you know to which standard the MPI installation is conforming, you > could try to set it via > cmake -DMPI_VERSION=... > yourself.
The MPI version is 3.1. But will this be of use? After all, the include paths, linker flags and library variables will still be blank. But separately, we try to obtain the MPI version from the file mpi.h via > the > following cmake code in cmake/modules/FindMPI.h I tried this. The mpi.h file is present in /opt/cray/pe/mpt/default/gni/mpich-gnu/5.1/include. So I modified my cmake invocation as follows. cmake -DCMAKE_INSTALL_PREFIX=~/bin/dealii-9.1.1 \ -DPREFIX_PATH=/opt/cray/pe \ -DWITH_MPI=ON \ -DMPI_DIR=/opt/cray/pe/mpt/default/gni/mpich-gnu/5.1 \ -DMPI_CXX_INCLUDE_PATH=/opt/cray/pe/mpt/default/gni/mpich-gnu/5.1/include \ -DCMAKE_CXX_COMPILER=/opt/cray/pe/craype/2.5.13/bin/CC \ -DCMAKE_C_COMPILER=/opt/cray/pe/craype/2.5.13/bin/cc \ -DCMAKE_Fortran_COMPILER=/opt/cray/pe/craype/2.5.13/bin/ftn \ -DWITH_LAPACK=OFF -DLAPACK_DIR=/opt/cray/pe/libsci/17.12.1/GNU/6.1/x86_64 \ -DWITH_PETSC=OFF -DPETSC_DIR=$PETSC_DIR -DPETSC_ARCH=$PETSC_ARCH \ -DWITH_P4EST=OFF -DP4EST_DIR=~/bin/p4est-2.2 \ ~/source/dealii-9.1.1 The output still shows this message: -- Include /home/ComptGasDynLab/vachanpotluri/source/dealii-9.1.1/cmake/configure/configure_1_mpi.cmake -- MPI_MPI_H not found! Call: -- FIND_FILE(MPI_MPI_H NAMES mpi.h HINTS) -- MPI_VERSION: 0.0 -- MPI_LIBRARIES: -- MPI_INCLUDE_DIRS: -- MPI_USER_INCLUDE_DIRS: -- MPI_CXX_FLAGS: -- MPI_LINKER_FLAGS: -- Found MPI -- DEAL_II_WITH_MPI successfully set up with external dependencies. and the detailed log still shows blanks: # DEAL_II_WITH_MPI set up with external dependencies # MPI_VERSION = 0.0 # MPI_DIR = /opt/cray/pe/mpt/default/gni/mpich-gnu/5.1 # MPI_C_COMPILER = /opt/cray/pe/craype/2.5.13/bin/cc # MPI_CXX_COMPILER = /opt/cray/pe/craype/2.5.13/bin/CC # MPI_Fortran_COMPILER = /opt/cray/pe/craype/2.5.13/bin/ftn # MPI_CXX_FLAGS = # MPI_LINKER_FLAGS = # MPI_INCLUDE_DIRS = # MPI_USER_INCLUDE_DIRS = # MPI_LIBRARIES = Even after giving the MPI_CXX_INCLUDE_PATH hint, why is cmake not able to detect the version? Am I missing something? -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/de290c82-01a9-4fca-9ce6-d4febd42a22f%40googlegroups.com.