Vachan,

I saw on the other thread that you were using CMake 3.5. I would advise to 
download a newer version of CMake. deal.II uses FindMPI from CMake and this 
was rewritten in CMake 3.10 to fix problems with Cray supercomputers. 

Best,

Bruno

On Saturday, February 8, 2020 at 1:43:59 AM UTC-5, vachan potluri wrote:
>
> Dear Prof. Bangerth,
>
> Can you attach it to a reply? It would be interesting to see why the 
>> version 
>> detection didn't work. (Although I see that cmake complains that it can't 
>> find 
>> the file, so that is probably the issue. I don't know why it can't find 
>> the 
>> file...)
>
> 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.
>
> 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. I have started a new thread for this 
> purpose here https://groups.google.com/forum/#!topic/dealii/MCYyPrZNyjg. 
> I request you to have a look at this one too.
>
> Thank you
>

-- 
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/255f3d22-67b0-4fb6-875c-778737e885ab%40googlegroups.com.

Reply via email to