MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0015942 | CMake | CMake | public | 2016-01-29 10:34 | 2016-06-10 14:31 |
Reporter | Jens Henrik Goebbert | ||||
Assigned To | Kitware Robot | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0015942: regexpr in FindMPI.cmake filtering MPI_COMPILE_FLAGS fails for Intel-flag "-fp-model" | ||||
Description | FindMPI.cmake fails to filter the keyword required for Intel“s compile flags "-fp-model". example: icpc -O2 -xHost -ftz -fp-speculation=safe -fp-model source -Wl,-rpath-link=/usr/local/software/jureca/Stage1/software/Core/pscom/5.0.45-1/lib returns -ftz -fp-speculation=safe -fp-model instead of -ftz -fp-speculation=safe -fp-model source reason: any word not starting with -D or -f is skipped by regexpression in line 294 string(REGEX MATCHALL "(^| )-[Df]([^\" ]+|\"[^\"]+\")" MPI_ALL_COMPILE_FLAGS "${MPI_COMPILE_CMDLINE}") | ||||
Steps To Reproduce | configure mpi, that mpicxx -showme:compile (for openmpi and openmpi derivatives) or mpi -compile-info (for mpich and mpich derivatives) includes the flag "-fp-model source" include find_package(MPI) and check MPI_CXX_COMPILE_FLAGS | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2016-01-29 10:34 | Jens Henrik Goebbert | New Issue | |||
2016-01-29 12:14 | Jens Henrik Goebbert | Note Added: 0040363 | |||
2016-06-10 14:29 | Kitware Robot | Note Added: 0042927 | |||
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 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|