View Issue Details [ Jump to Notes ] | [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0013612 | CMake | Modules | public | 2012-10-27 15:33 | 2016-06-10 14:31 |
|
Reporter | Utkarsh Ayachit | |
Assigned To | Kitware Robot | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | moved | |
Platform | | OS | | OS Version | |
Product Version | CMake 2.8.9 | |
Target Version | | Fixed in Version | | |
|
Summary | 0013612: FindMPI doesn't work correctly on Windows with OpenMPI 1.6.2 |
Description | The problem exists with older versions of OpenMPI as well. FindMPI.cmake raises errors and fails to set includes paths and query mpi arguments correctly on Windows. |
Steps To Reproduce | * Build and install OpenMPI 1.6.2 (with shared libs). My configuration for OpenMPI was: -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_BUILD_TYPE:STRING=Release -DOMPI_RELEASE_BUILD:BOOL=ON
* In a simple cmake program include FindMPI.cmake. Point the MPIEXEC cmake variable to the installed mpiexec.exe. Cmake will not be able to determine the other MPI parameters correctly e.g. include paths are setup as quoted strings, doesn't find mpicc, mpicxx, and mpi libs or MPI_C_COMPILE_FLAGS etc.
|
Tags | No tags attached. |
|
Attached Files | |
|