# Question about best cmake versions to use with ParaView 5.7.0-RC1

**URL:** https://discourse.paraview.org/t/question-about-best-cmake-versions-to-use-with-paraview-5-7-0-rc1/2194
**Category:** Development
**Created:** [July 10, 2019, 11:23pm UTC](https://discourse.paraview.org/t/question-about-best-cmake-versions-to-use-with-paraview-5-7-0-rc1/2194 "2019-07-10T23:23:19Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![joeh](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/ce7236/32.png) [@joeh](https://discourse.paraview.org/u/joeh)
#### Post date: [July 10, 2019, 11:23pm UTC](https://discourse.paraview.org/t/question-about-best-cmake-versions-to-use-with-paraview-5-7-0-rc1/2194/1 "2019-07-10T23:23:19Z")

</div>

When building ParaView 5.7.0-RC1 with cmake 3.11.4,  
I have found that the FindMPI module is not properly  
finding the MPI version on our Centennial super-computer.  
Is there a recommended version of cmake to use  
with ParaView 5.7.0-RC1? ParaView 5.6.1 did not have  
an issue with FindMPI and cmake 3.11.4.

Thanks,

Joe Hennessey

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [July 11, 2019, 9:06am UTC](https://discourse.paraview.org/t/question-about-best-cmake-versions-to-use-with-paraview-5-7-0-rc1/2194/2 "2019-07-11T09:06:25Z")

</div>

Could you share the error you are having, as well as your version of OpenMPI ?

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [July 11, 2019, 12:09pm UTC](https://discourse.paraview.org/t/question-about-best-cmake-versions-to-use-with-paraview-5-7-0-rc1/2194/3 "2019-07-11T12:09:12Z")

</div>

Yes, the error message would be very helpful. @Dave_DeMarle

---

<div class="post-metadata">

### Author: ![joeh](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/ce7236/32.png) [@joeh](https://discourse.paraview.org/u/joeh)
#### Post date: [July 11, 2019, 3:11pm UTC](https://discourse.paraview.org/t/question-about-best-cmake-versions-to-use-with-paraview-5-7-0-rc1/2194/4 "2019-07-11T15:11:04Z")

</div>

The MPI module I am using on Centennial is mpi/sgimpt/2.15  
The gcc compiler module I am using is compiler/gcc/6.1.0

and the error’s that the superbuild is returning are (when  
the superbuild attempts to configure ParaView 5.7.0-RC1 itself)  
– Could NOT find MPI\_C (missing: MPI\_C\_WORKS)  
– Could NOT find MPI (missing: MPI\_C\_FOUND C)  
CMake Error at VTK/CMake/vtkModule.cmake:3640 (message):  
Could not find the MPI external dependency.  
Call Stack (most recent call first):  
VTK/Cmake/vktModule.cmake:4095 (vtk\_module\_find\_package)  
VTK/Utilities/MPI/CMakeLists.txt:1 (vtk\_module\_third\_party\_external)

– Configure incomplete, errors occured!  
See also “/usr/cta/DAAC/build/PV/Build\_5.7.0-RC1\_osmesa\_test/superbuild/paraview/build/CMakeFiles/CMakeOutput.log”.  
See also “/usr/cta/DAAC/build/PV/Build\_5.7.0-RC1\_osmesa\_test/superbuild/paraview/build/CMakeFiles/CMakeError.log”.  
CMake Error at /usr/cta/DAAC/build/PV/Build\_5.7.0-RC1\_osmesa\_test/superbuild/sb-paraview-configure.cmake:47 (message):  
Failed with exit code 1

Please let me know if you need any additional info.

Thanks,

Joe Hennessey

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [July 11, 2019, 3:21pm UTC](https://discourse.paraview.org/t/question-about-best-cmake-versions-to-use-with-paraview-5-7-0-rc1/2194/5 "2019-07-11T15:21:46Z")

</div>

@Andy_Bauer Has SGI MPI worked with `master` for you?

---

<div class="post-metadata">

### Author: ![joeh](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/ce7236/32.png) [@joeh](https://discourse.paraview.org/u/joeh)
#### Post date: [July 11, 2019, 3:27pm UTC](https://discourse.paraview.org/t/question-about-best-cmake-versions-to-use-with-paraview-5-7-0-rc1/2194/6 "2019-07-11T15:27:53Z")

</div>

It was working with ParaView 5.6.1 but is not with the 5.7.0-RC1 tag.  
I have not tried anything beyond the 5.7.0-RC1 tag.

Thanks,

Joe Hennessey

---

<div class="post-metadata">

### Author: ![Andy\_Bauer](https://discourse.paraview.org/user_avatar/discourse.paraview.org/andy_bauer/32/5442_2.png) [@Andy\_Bauer](https://discourse.paraview.org/u/Andy_Bauer)
#### Post date: [July 11, 2019, 3:40pm UTC](https://discourse.paraview.org/t/question-about-best-cmake-versions-to-use-with-paraview-5-7-0-rc1/2194/7 "2019-07-11T15:40:06Z")

</div>

I haven’t tried it in a long time.

---

<div class="post-metadata">

### Author: ![joeh](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/ce7236/32.png) [@joeh](https://discourse.paraview.org/u/joeh)
#### Post date: [July 11, 2019, 3:46pm UTC](https://discourse.paraview.org/t/question-about-best-cmake-versions-to-use-with-paraview-5-7-0-rc1/2194/8 "2019-07-11T15:46:22Z")

</div>

I have found that I can modify the FindMPI.cmake module  
to manually set all necessary values and hardcode the paths  
to the appopriate compilers, include files and libraries, but that  
is not a preferred solution as it is system and version specific,  
and not a robust solution.

Thanks,

Joe Hennessey

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [July 11, 2019, 7:41pm UTC](https://discourse.paraview.org/t/question-about-best-cmake-versions-to-use-with-paraview-5-7-0-rc1/2194/9 "2019-07-11T19:41:22Z")

</div>

Agreed. Does a standalone project with `find_package(MPI)` work? VTK does have its own copy, so maybe it needs updated to what a newer CMake provides? If not, do we have access to this machine at all to debug/iterate on fixing it?

---

<div class="post-metadata">

### Author: ![joeh](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/ce7236/32.png) [@joeh](https://discourse.paraview.org/u/joeh)
#### Post date: [July 11, 2019, 7:47pm UTC](https://discourse.paraview.org/t/question-about-best-cmake-versions-to-use-with-paraview-5-7-0-rc1/2194/10 "2019-07-11T19:47:01Z")

</div>

I think David DeMarle may have access to Centennial.  
Other Kitware people may have access as well.

I do not have any standalone projects that use find\_package(MPI) to test with.

Thanks,

Joe Hennessey

---

<div class="post-metadata">

### Author: ![sharon](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/67e7ee/32.png) [@sharon](https://discourse.paraview.org/u/sharon)
#### Post date: [March 17, 2020, 12:47pm UTC](https://discourse.paraview.org/t/question-about-best-cmake-versions-to-use-with-paraview-5-7-0-rc1/2194/11 "2020-03-17T12:47:36Z")

</div>

Any update about this issues?  
Seems it is still on current branch Master…

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [March 18, 2020, 1:11am UTC](https://discourse.paraview.org/t/question-about-best-cmake-versions-to-use-with-paraview-5-7-0-rc1/2194/12 "2020-03-18T01:11:52Z")

</div>

The first thing to do to get it fixed would be to open an issue here : [https://gitlab.kitware.com/paraview/paraview/issues](https://gitlab.kitware.com/paraview/paraview/issues)

---

<div class="post-metadata">

### Author: ![sharon](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/67e7ee/32.png) [@sharon](https://discourse.paraview.org/u/sharon)
#### Post date: [March 21, 2020, 6:24am UTC](https://discourse.paraview.org/t/question-about-best-cmake-versions-to-use-with-paraview-5-7-0-rc1/2194/13 "2020-03-21T06:24:49Z")

</div>

Hi Mathieu,  
This issue was already opened:  
[https://gitlab.kitware.com/paraview/paraview/issues/19118](https://gitlab.kitware.com/paraview/paraview/issues/19118)

There is must some logic inside, because it is on on windows, and even on Linux seems not many people faced this problem.

Thanks and Best Regards,  
Sharon
