View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014991 | CMake | CMake | public | 2014-06-25 18:03 | 2016-06-10 14:31 | ||||
Reporter | RolandSchulz | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake 3.0 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0014991: 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. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | 0001-FindMPI-Pass-CMAKE_-LANG-_FLAGS-to-mpi-front-end-for.patch [^] (1,344 bytes) 2014-12-05 13:12 [Show Content] | ||||||||
Relationships | ||||||
|
Relationships |
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. |
Notes |
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 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |