[cmake-developers] [CMake 0011954]: FindMPI fails with OpenMPI_v1.5.1-win32.exe installation

Mantis Bug Tracker mantis at public.kitware.com
Wed Mar 9 13:48:38 EST 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=11954 
====================================================================== 
Reported By:                ChristianG
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   11954
Category:                   Modules
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-03-09 13:48 EST
Last Modified:              2011-03-09 13:48 EST
====================================================================== 
Summary:                    FindMPI fails with OpenMPI_v1.5.1-win32.exe
installation
Description: 
The FindMPI script doesn't work with an installation of OpenMPI_v1.5.1-win32.exe
.
The output of the various "--showme:" calls is assumed to be GCC (or similar)
syntax, but the Microsoft compilers use a slightly different syntax for include
dirs etc.

The attached patch tries to fix the problem (and it works for me), but it isn't
really nice ;) . The biggest problem is that I couldn't get find_library to find
"standard" windows libraries like Ws2_32.lib .
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-03-09 13:48 ChristianG     New Issue                                    
2011-03-09 13:48 ChristianG     File Added: cmake_findmpi.patch                 
  
======================================================================




More information about the cmake-developers mailing list