MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0013478 | CMake | CMake | public | 2012-08-16 15:23 | 2016-06-10 14:31 |
Reporter | Max Klimov | ||||
Assigned To | Kitware Robot | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | OS | Windows | OS Version | 7 | |
Product Version | CMake 2.8.9 | ||||
Target Version | Fixed in Version | ||||
Summary | 0013478: FindMPI doesn't find openMPI properly | ||||
Description | find_package(MPI ...) doesn't define all necessary variables correctly with openMPI-1.6 and older on windows7: - MPI_{LANG}_INCLUDE_PATH contains ';' instead of ' '(spaces), for example: "C:\Program;Files;(x86)\OpenMPI_v1.6-x64/include". But this isn't all, to fix this variable i must add ';' to the front and to the back of string (for this working result: ;"C:\Program Files (x86)\OpenMPI_v1.6-x64/include"; ) . - MPI_LIBRARY and MPI_EXTRA_LIBRARY aren't found automatically. OpenMPI bin directory was added to environment. Command "mpicxx --showme" has output: "cl.exe /I"C:\Program Files (x86)\OpenMPI_v1.6-x64/include" /TP /EHsc /DOMPI_IMPORTS /DOPAL_IMPORTS /DORTE_IMPORTS /link /LIBPATH:"C:\Program Files (x86)\OpenMPI_v1.6-x64/lib" libmpi_cxx.lib libmpi.lib libopen-pal.lib libopen-rte.lib advapi32.lib Ws2_32.lib shlwapi.lib" Other commands such as "mpicxx --showme:incdirs" have correct output too. | ||||
Steps To Reproduce | 1. Install OpenMPI-1.6 (x86 or x64) 2. add find_package(MPI REQUIRED) to CMakeLists.txt 3. check MPI block of variables in cache | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | update_openmpi_win_find.patch (4,324) 2013-06-17 01:59 https://public.kitware.com/Bug/file/4794/update_openmpi_win_find.patch | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-08-16 15:23 | Max Klimov | New Issue | |||
2012-08-17 08:54 | Brad King | Note Added: 0030689 | |||
2012-08-17 08:54 | Brad King | Status | new => backlog | ||
2013-06-17 01:59 | Max Klimov | File Added: update_openmpi_win_find.patch | |||
2016-06-10 14:28 | Kitware Robot | Note Added: 0042106 | |||
2016-06-10 14:28 | Kitware Robot | Status | backlog => resolved | ||
2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | ||
2016-06-10 14:28 | Kitware Robot | Assigned To | => Kitware Robot | ||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|