It will search standard locations (/usr/include &amp; /usr/lib) for the headers and libs. Set MPI_LIBRARY and MPI_INCLUDE_PATH if it doesn&#39;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.<br>

<br><div class="gmail_quote">On Tue, Nov 30, 2010 at 5:26 PM, Hicham Mouline <span dir="ltr">&lt;<a href="mailto:hicham@mouline.org">hicham@mouline.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">










<div lang="EN-GB" link="blue" vlink="purple">

<div>

<p class="MsoNormal">Hi,</p>

<p class="MsoNormal">I have built debug and release win32 and x64 openmpi libs
for windows, and I have them installed on linux x64.</p>

<p class="MsoNormal">How does FindMPI work for auto detecting If I don&#39;t set any
MPI_ variable at all?</p>

<p class="MsoNormal">Does it search for mpic++ in the %PATH% or $PATH?</p>

<p class="MsoNormal">What MPI_ variables is the user required to define?</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">regards,</p>

</div>

</div>


<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br>