[CMake] FindMPI prefer mpirun over mpiexec

Jack Stalnaker omnijack at gmail.com
Fri Feb 12 09:00:52 EST 2016


Hi,

Is there a way to make FindMPI prefer the name 'mpirun' over 'mpiexec'?
They have different meanings to Intel's MPI. By default, FindMPI locates
mpiexec, which runs the MPD based MPI. I'd rather use mpirun. FindMPI knows
mpirun, but in FindMPI.cmake, it looks like mpirun is searched after
mpiexec. Is there a simple solution for this?

--Jack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160212/80c2a205/attachment.html>


More information about the CMake mailing list