On 2/7/20 11:43 PM, vachan potluri wrote:
I really appreciate and value your involvement in this thread. I have
attached mpi.h with this mail. I want to mention that I added this line
in FindMPI.cmake just before DEAL_II_FIND_FILE(MPI_MPI_H ...):
MESSAGE(STATUS "Searching for mpi.h in ${MPI_CXX_INCLUDE_PATH}")
and found the corresponding output by cmake to be as follows.
-- Include
/home/ComptGasDynLab/vachanpotluri/source/dealii-9.1.1/cmake/configure/configure_1_mpi.cmake
-- Searching for mpi.h in
-- Found MPI_MPI_H
-- MPI_VERSION: 3.1
-- 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.
Notice that the path is not printed, the variable is empty! Probably the
problem is not with reading the header but with the variable being
changed somewhere else.
Yes, this is how it looks like. But Then it seems to have found mpi.h
anyway, in the next line -- wasn't the original problem that it didn't
find the file?
It's still possible that everything links correctly. What happens if
you run
cmake and then compile? Does it work?
I have not tried compiling the source because there are some other
things also that I wanted to figure out.
As I mentioned before, I don't think that the failed detection of the
MPI version has any practical effect as long as compiling and linking
succeeds and unless you want to run on many thousands of nodes.
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: [email protected]
www: http://www.math.colostate.edu/~bangerth/
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/83a67558-3b1e-d20d-e011-ab47b5447ce9%40colostate.edu.