Alin Elena wrote:

> In addition to that I have noticed that in the interrogate
> function we never check that we can actually generate a binary
> with the findings, shall we have a try_mpi_compile at the end 
> of interrogate function?

In general, I think this is a good idea because I have encountered situation 
were the cmake compiler was a different flavor (intel, gnu, pgi, etc) than the 
selected mpi compiler wrapper.  However, if the chosen mpi compiler wrapper is 
the same as CMAKE_<LANG>_COMPILER, we don't need the try_compile because cmake 
will have already verified that the CMAKE_<LANG>_COMPILER works.

-kt

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to