View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014991CMakeCMakepublic2014-06-25 18:032016-06-10 14:31
ReporterRolandSchulz 
Assigned ToKitware Robot 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake 3.0 
Target VersionFixed in Version 
Summary0014991: FindMPI doesn't pass compiler flags to $MPICC -show. Finds wrong libraries for Xeon Phi native mode.
DescriptionThe 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.
TagsNo tags attached.
Attached Filespatch file icon 0001-FindMPI-Pass-CMAKE_-LANG-_FLAGS-to-mpi-front-end-for.patch [^] (1,344 bytes) 2014-12-05 13:12 [Show Content]

 Relationships
related to 0015182closedChuck Atkins FindMPI.cmake fails to properly detect Intel MPI 5.0.1 

  Notes
(0037397)
RolandSchulz (reporter)
2014-12-05 12:54

A patch is available at https://software.intel.com/en-us/articles/cross-compilation-for-intel-xeon-phi-coprocessor-with-cmake [^]
(0037398)
Brad King (manager)
2014-12-05 13:13

Re 0014991:0037397: Thanks. I've constructed a patch from that information. See "0001-FindMPI-Pass-CMAKE_-LANG-_FLAGS-to-mpi-front-end-for.patch". I think it still needs more work because there are lots of other calls to $MPICC that are not updated by the patch.
(0037399)
Brad King (manager)
2014-12-05 13:14

In cases where the ${CMAKE_C_COMPILER} does not match that wrapped by $MPICC passing the flags like this may not work. MPICC is really more of its own language in a sense. Perhaps there should be a separate place for users to specify mpi compiler flags.
(0037401)
Brad King (manager)
2014-12-05 13:18

The issues mentioned in 0015182:0037383 and 0015182:0037391 are also related to how mpi flags are detected.
(0042572)
Kitware Robot (administrator)
2016-06-10 14:29

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.

 Issue History
Date Modified Username Field Change
2014-06-25 18:03 RolandSchulz New Issue
2014-12-05 12:54 RolandSchulz Note Added: 0037397
2014-12-05 13:12 Brad King File Added: 0001-FindMPI-Pass-CMAKE_-LANG-_FLAGS-to-mpi-front-end-for.patch
2014-12-05 13:13 Brad King Note Added: 0037398
2014-12-05 13:14 Brad King Note Added: 0037399
2014-12-05 13:18 Brad King Note Added: 0037401
2014-12-05 13:18 Brad King Relationship added related to 0015182
2016-06-10 14:29 Kitware Robot Note Added: 0042572
2016-06-10 14:29 Kitware Robot Status new => resolved
2016-06-10 14:29 Kitware Robot Resolution open => moved
2016-06-10 14:29 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team