It will search standard locations (/usr/include & /usr/lib) for the headers and libs. Set MPI_LIBRARY and MPI_INCLUDE_PATH if it doesn't locate them for you automatically. The FindMPI module does interrogate the mpicc compiler for some of this information but I am not sure if that is the case on Windows.
On Tue, Nov 30, 2010 at 5:26 PM, Hicham Mouline <hic...@mouline.org> wrote: > Hi, > > I have built debug and release win32 and x64 openmpi libs for windows, and > I have them installed on linux x64. > > How does FindMPI work for auto detecting If I don't set any MPI_ variable > at all? > > Does it search for mpic++ in the %PATH% or $PATH? > > What MPI_ variables is the user required to define? > > > > regards, > > _______________________________________________ > 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://www.cmake.org/mailman/listinfo/cmake >
_______________________________________________ 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://www.cmake.org/mailman/listinfo/cmake