Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] OpenMPI with cMake on Windows
From: Stephen Conley (conleysa_at_[hidden])
Date: 2012-12-18 17:04:31



I have installed CMake version 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

ageHandleStandardArgs.cmake:97 (message):

  Could NOT find MPI_C (missing: MPI_C_LIBRARIES)

Call Stack (most recent call first):

  C:/Program Files (x86)/CMake

dardArgs.cmake:291 (_FPHSA_FAILURE_MESSAGE)

  C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindMPI.cmake:587


  CMakeLists.txt:9 (find_package)



-- Configuring incomplete, errors occurred!


Any ideas as to what I am missing?