paraview 5.8 on windows + msmpi 10


I am trying to build paraview 5.8 with MSMPI 10.12 , but cmake throws the errors:

Could NOT find MPI_C (missing: MPI_C_LIB_NAMES MPI_C_WORKS)
Could NOT find MPI (missing: MPI_C_FOUND C)
CMake Error at VTK/CMake/vtkModule.cmake:4111 (message):
Could not find the MPI external dependency.
Call Stack (most recent call first):
VTK/CMake/vtkModule.cmake:4634 (vtk_module_find_package)
VTK/Utilities/MPI/CMakeLists.txt:1 (vtk_module_third_party_external)

I followed this guide and set the The MPI_C_* to:

MPI_C_COMPILER : C:\Program Files (x86)\Microsoft SDKs\MPI\Lib\x64\msmpi.lib
MPI_C_HEADER_DIR: C:\Program Files (x86)\Microsoft SDKs\MPI\Include

but still getting the error.

Any thoughts ?

Thank you in advance.

Here is the updated guide :


I was digging into the cmake code and then I found my problem is related to the this post:

Do you know if this has been updated?

Thank you

This issue has already been fixed

Ok, solved it.
the variable MPI_C_LIB_NAMES has to be assigned with the value (in windows) : msmip