[cmake-developers] [CMake 0014991]: FindMPI doesn't pass compiler flags to $MPICC -show. Finds wrong libraries for Xeon Phi native mode.

Mantis Bug Tracker mantis at public.kitware.com
Wed Jun 25 18:03:06 EDT 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14991 
====================================================================== 
Reported By:                RolandSchulz
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14991
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-06-25 18:03 EDT
Last Modified:              2014-06-25 18:03 EDT
====================================================================== 
Summary:                    FindMPI doesn't pass compiler flags to $MPICC -show.
Finds wrong libraries for Xeon Phi native mode.
Description: 
The output of mpiicc -show is different if "-mmic" (Xeon Phi native mode) is
added. FindMPI doesn't pass CMAKE_C_FLAGS to the showme command and thus the
library discovered by FindMPI is the host CPU library and not the native mode
Xeon Phi library. 
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-06-25 18:03 RolandSchulz   New Issue                                    
======================================================================



More information about the cmake-developers mailing list