I have installed CMake version 126.96.36.199 and OpenMPI version 1.6.2 on a 64 bit Windows 7 computer.
OpenMPI is installed in “C:\program files\OpenMPI” and the path has been updated to include the bin subdirectory.
In the cmakelists.txt file, I have: find_package(MPI REQUIRED)
When I run cmake, I receive the following error:
C:\Users\steve\workspace\Dales\build>cmake ..\src -G "MinGW Makefiles"
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPack
Could NOT find MPI_C (missing: MPI_C_LIBRARIES)
Call Stack (most recent call first):
C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStan
C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindMPI.cmake:587 (fi
-- Configuring incomplete, errors occurred!
Any ideas as to what I am missing?