FindMPI.cmake 429 B

1234567891011121314
  1. #
  2. # this module look sfor MPI (Message Passing Interface) support
  3. # it will define the following values
  4. #
  5. # MPI_INCLUDE_PATH = where mpi.h can be found
  6. # MPI_LIBRARY = the library to link against (mpi mpich etc)
  7. #
  8. FIND_PATH(MPI_INCLUDE_PATH mpi.h /usr/local/include /usr/include /usr/local/mpi/include)
  9. FIND_LIBRARY(MPI_LIBRARY
  10. NAMES mpi mpich
  11. PATHS /usr/lib /usr/local/lib /usr/local/mpi/lib)