[cmake-developers] [CMake 0013612]: FindMPI doesn't work correctly on Windows with OpenMPI 1.6.2

Mantis Bug Tracker mantis at public.kitware.com
Sat Oct 27 15:33:03 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://cmake.org/Bug/view.php?id=13612 
====================================================================== 
Reported By:                Utkarsh Ayachit
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13612
Category:                   Modules
Reproducibility:            have not tried
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-10-27 15:33 EDT
Last Modified:              2012-10-27 15:33 EDT
====================================================================== 
Summary:                    FindMPI doesn't work correctly on Windows with
OpenMPI 1.6.2
Description: 
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.

Steps to Reproduce: 
* 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.


====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-10-27 15:33 Utkarsh AyachitNew Issue                                    
======================================================================




More information about the cmake-developers mailing list