[CMake] FindMPI

Nico Schlömer nico.schloemer at gmail.com
Fri Sep 11 04:53:59 EDT 2015


Hi everyone,

I see from the CMake docs [1] that the recommended way for using MPI is to
call `find_package(MPI)` and set the linker and include flags
appropriately. On the other hand, I see from the OpenMPI specs [2] that

>

The Open MPI team *strongly* recommends that you simply use Open MPI's

> "wrapper" compilers to compile your MPI applications.

Is there a way to reconcile these two approaches?

Cheers,
Nico


[1] http://www.cmake.org/cmake/help/v3.0/module/FindMPI.html
[2] https://www.open-mpi.org/faq/?category=mpi-apps#general-build
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150911/a83df971/attachment.html>


More information about the CMake mailing list