View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014322 | CMake | Modules | public | 2013-07-30 11:08 | 2016-06-10 14:31 | ||||
Reporter | higgins | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | Linux | OS Version | 3.2.0-49-generic | |||||
Product Version | CMake 2.8.11.1 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0014322: FindMPI.cmake does not produce a complete list of compile and link flags (-pthread missing) | ||||||||
Description | Openmpi produces the following mpic++ --showme:compile -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -pthread mpic++ --showme:link -pthread -L/usr/lib/openmpi/lib -lmpi_cxx -lmpi -lopen-rte -lopen-pal -ldl -Wl,--export-dynamic -lnsl -lutil -lm -ldl However, the regex code in FindMPI.cmake fails to pick-up flags that start with p. | ||||||||
Additional Information | To pick up flags starting with p I changed the following lines in FindMPI.cmake. # Extract include paths from compile command line #ORIGINAL string(REGEX MATCHALL "(^| )-[Df]([^\" ]+|\"[^\"]+\")" MPI_ALL_COMPILE_FLAGS "${MPI_COMPILE_CMDLINE}") string(REGEX MATCHALL "(^| )-[Dfp]([^\" ]+|\"[^\"]+\")" MPI_ALL_COMPILE_FLAGS "${MPI_COMPILE_CMDLINE}") # Extract linker flags from the link command line #ORIGINAL string(REGEX MATCHALL "(^| )-Wl,([^\" ]+|\"[^\"]+\")" MPI_ALL_LINK_FLAGS "${MPI_LINK_CMDLINE}") string(REGEX MATCHALL "(^| )-[pWl]([^\" ]+|\"[^\"]+\")" MPI_ALL_LINK_FLAGS "${MPI_LINK_CMDLINE}") | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0042332) 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 |
2013-07-30 11:08 | higgins | New Issue | |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042332 | |
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 |