Cannot configure to use MPI
In CMake, if I select the MAiNGO_use_mpi option and then click the Configure button, CMake reports that it cannot find MPI. Specifically:
CMake Error at C:/Program Files/CMake/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find MPI (missing: MPI_CXX_FOUND)
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
C:/Program Files/CMake/share/cmake-3.29/Modules/FindMPI.cmake:1837 (find_package_handle_standard_args)
CMakeLists.txt:117 (find_package)
If the MAiNGO_use_mpi option is not selected, then the project compiles successfully. I can then call a MAiNGO model using MPI. The model is run n times, where n is the specified number of processors. However, that is just the MPI application running the code n times. In the model, HAVE_MAiNGO_MPI() returns False, so MAiNGO isn't using MPI at all.
OS: Windows 11 Python: 3.11.8 MPI: MS-MPI v10.1.3