The following issue has been SUBMITTED. ====================================================================== http://cmake.org/Bug/view.php?id=13612 ====================================================================== Reported By: Utkarsh Ayachit Assigned To: ====================================================================== Project: CMake Issue ID: 13612 Category: Modules Reproducibility: have not tried Severity: major Priority: normal Status: new ====================================================================== Date Submitted: 2012-10-27 15:33 EDT Last Modified: 2012-10-27 15:33 EDT ====================================================================== Summary: 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. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2012-10-27 15:33 Utkarsh AyachitNew Issue ====================================================================== -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers