View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
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 | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0040363) Jens Henrik Goebbert (reporter) 2016-01-29 12:14 |
configure MPI to use -fp-model=source or -fp-model "source" seems to work with the Intel Compiler Suite 15.0, but it is not the offical syntax: https://software.intel.com/en-us/node/525039 [^] |
(0042927) 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 |
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 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |