| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0009325 | CMake | Modules | public | 2009-07-28 14:13 | 2016-06-10 14:30 | ||||
| Reporter | Francois-Michel De Rainville | ||||||||
| Assigned To | David Partyka | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||
| Status | closed | Resolution | moved | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | CMake-2-6 | ||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0009325: Under Os X, FindMPI.cmake use regex that Os X don't seem to recognize | ||||||||
| Description | # Extract linker flags from the link command line string(REGEX MATCHALL "-Wl,([^\" ]+|\"[^\"]+\")" MPI_ALL_LINK_FLAGS "${MPI_LINK_CMDLINE}") when adding those two lines message("${MPI_LINK_CMDLINE}") message("${MPI_ALL_LINK_FLAGS}") MPI_LINK_CMDLINE = -fexceptions -lmpi_cxx -lmpi -lopen-rte -lopen-pal -lutil but MPI_ALL_LINK_FLAGS is empty, it leads to an error when adding dependancies to a project set_target_properties(project PROPERTIES LINK_FLAGS ${MPI_LINK_FLAGS}) | ||||||||
| Additional Information | Every other regex in FindMPI seems to work fine. | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0019720) Francois-Michel De Rainville (reporter) 2010-03-05 00:50 edited on: 2010-03-05 01:03 |
Here is a hack to get around this problem, First : On Mac OS X, OpenMPI is preinstalled in /usr/include and /usr/lib so mpiCC -showme:compile does not contain any include directory and the include files are accessible throught the PATH. So in order to have a valid MPI_INCLUDE_PATH simply add at line 151 : list(APPEND MPI_INCLUDE_PATH_WORK " ") The last line is realy a hack and may produce strange behavior. Second modify the regular expression at line 193 : string(REGEX MATCHALL "-Wl|-l,([^\" ]+|\"[^\"]+\")" MPI_ALL_LINK_FLAGS "${MPI_LINK_CMDLINE}") |
|
(0041582) Kitware Robot (administrator) 2016-06-10 14:27 |
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 |
| 2009-07-28 14:13 | Francois-Michel De Rainville | New Issue | |
| 2009-09-14 13:12 | Bill Hoffman | Status | new => assigned |
| 2009-09-14 13:12 | Bill Hoffman | Assigned To | => Douglas Gregor |
| 2010-03-05 00:50 | Francois-Michel De Rainville | Note Added: 0019720 | |
| 2010-03-05 01:03 | Francois-Michel De Rainville | Note Edited: 0019720 | |
| 2010-12-08 10:34 | David Cole | Assigned To | Douglas Gregor => |
| 2010-12-08 10:34 | David Cole | Status | assigned => new |
| 2010-12-08 10:45 | David Cole | Status | new => assigned |
| 2010-12-08 10:45 | David Cole | Assigned To | => David Partyka |
| 2016-06-10 14:27 | Kitware Robot | Note Added: 0041582 | |
| 2016-06-10 14:27 | Kitware Robot | Status | assigned => resolved |
| 2016-06-10 14:27 | Kitware Robot | Resolution | open => moved |
| 2016-06-10 14:30 | Kitware Robot | Status | resolved => closed |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |