# Could NOT find MPI

**URL:** https://discourse.paraview.org/t/could-not-find-mpi/1285
**Category:** ParaView Support
**Created:** [February 14, 2019, 10:42am UTC](https://discourse.paraview.org/t/could-not-find-mpi/1285 "2019-02-14T10:42:57Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Niklas](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/n/34f0e0/32.png) [@Niklas](https://discourse.paraview.org/u/Niklas)
#### Post date: [February 14, 2019, 10:42am UTC](https://discourse.paraview.org/t/could-not-find-mpi/1285/1 "2019-02-14T10:42:57Z")

</div>

Hi,  
sorry for posting and asking so much, but does anybody also have problems finding MPI, as is described here: [https://gitlab.kitware.com/cmake/cmake/issues/18570](https://gitlab.kitware.com/cmake/cmake/issues/18570)  
We have a CentOS system with custom gcc and Intel compilers. It seems that everything is found correctly, but I still get this error message when configuring with cmake 3.11 or 3.13:  
Could NOT find MPI (missing: MPI\_Fortran\_FOUND) (found version “3.1”)

Cheers,  
Niklas

---

<div class="post-metadata">

### Author: ![Niklas](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/n/34f0e0/32.png) [@Niklas](https://discourse.paraview.org/u/Niklas)
#### Post date: [March 7, 2019, 1:34pm UTC](https://discourse.paraview.org/t/could-not-find-mpi/1285/2 "2019-03-07T13:34:15Z")

</div>

Addendum: I also posted this issue on the cmake mailing list, but no response either. As it appeared that all entries, i.e. compiler, libs etc., where found correctly and only the flag MPI\_Fortran\_FOUND was not set to true, I manually set it to true, and the configuration and generation went alright. I could compile two versions, one with OpenGL, one with osmesa for use with catalyst. I can use ParaView in parallel with many servers and one client, as well as for in situ with FORTRAN simulation code. So there must be something wrong with cmake, but at least – with this workaround – it works again.  
Cheers, Niklas

---

<div class="post-metadata">

### Author: ![Angelo](https://discourse.paraview.org/user_avatar/discourse.paraview.org/angelo/32/1584_2.png) [@Angelo](https://discourse.paraview.org/u/Angelo)
#### Post date: [June 13, 2019, 2:26pm UTC](https://discourse.paraview.org/t/could-not-find-mpi/1285/3 "2019-06-13T14:26:41Z")

</div>

I am having the same issue. How do you know that all compilers and libs were found correctly? Also, how did you manually set MPI\_Fortran\_FOUND to true?

---

<div class="post-metadata">

### Author: ![Niklas](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/n/34f0e0/32.png) [@Niklas](https://discourse.paraview.org/u/Niklas)
#### Post date: [June 14, 2019, 3:02pm UTC](https://discourse.paraview.org/t/could-not-find-mpi/1285/4 "2019-06-14T15:02:25Z")

</div>

I saw their correct location in the CMakeCache.txt file. That looked all normal. The Cmake configuration also tells you were the error occurred. I looked into that file, and manually set MPI\_Fortran\_FOUND to true, hard coded. Not nice, but after that it configured, generated, and everything compiled, and I can use ParaView as client/server, as well as for in-situ visualization. As our system is on maintenance at the moment, I can not send you the actual file. Drop me a line at [roeber@dkrz.de](mailto:roeber@dkrz.de) next week, and I can send it to you, if you’re not getting it working.  
Cheers,  
Niklas
