MantisBT - CMake
View Issue Details
0013612CMakeModulespublic2012-10-27 15:332016-06-10 14:31
Utkarsh Ayachit 
Kitware Robot 
normalmajorhave not tried
closedmoved 
CMake 2.8.9 
 
0013612: FindMPI doesn't work correctly on Windows with OpenMPI 1.6.2
The problem exists with older versions of OpenMPI as well. FindMPI.cmake raises errors and fails to set includes paths and query mpi arguments correctly on Windows.
* Build and install OpenMPI 1.6.2 (with shared libs). My configuration for OpenMPI was: -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_BUILD_TYPE:STRING=Release -DOMPI_RELEASE_BUILD:BOOL=ON

* In a simple cmake program include FindMPI.cmake. Point the MPIEXEC cmake variable to the installed mpiexec.exe. Cmake will not be able to determine the other MPI parameters correctly e.g. include paths are setup as quoted strings, doesn't find mpicc, mpicxx, and mpi libs or MPI_C_COMPILE_FLAGS etc.

No tags attached.
Issue History
2012-10-27 15:33Utkarsh AyachitNew Issue
2016-06-10 14:28Kitware RobotNote Added: 0042136
2016-06-10 14:28Kitware RobotStatusnew => resolved
2016-06-10 14:28Kitware RobotResolutionopen => moved
2016-06-10 14:28Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0042136)
Kitware Robot   
2016-06-10 14:28   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.