No obvious way to select the MPI implementation
We can have two MPI implementations installed simultaneously on FreeBSD, mpich and openmpi. There should be a way to choose one.
These methods were attempted:
- setting cmake variable
MPIEXEC
to the path of mpiexec executable - setting MPICC and MPICXX to paths of MPI compilers
- setting MPI_C_COMPILER and MPI_CXX_COMPILER to paths of MPI compilers
It appears that the first way above worked in previous versions of VTK.
It is not clear why FindMPI.cmake
is needed because cmake is able to find MPI libraries and cmake makes it easy to select an MPI implementation with MPI_HOME
. Please consider removing FindMPI.cmake
.
Version: 9.2.2
Edited by yurivict