macro_optional_find_package (MPI OFF) macro_log_feature (MPI_C_FOUND "mpi" "MPI Distributed Parallel Programming" "http://gmplib.org") if (MPI_C_FOUND) # This module will set the following variables per language in your # project, where is one of C, CXX, or Fortran: # # :: # # MPI__FOUND TRUE if FindMPI found MPI flags for # MPI__COMPILER MPI Compiler wrapper for # MPI__COMPILE_FLAGS Compilation flags for MPI programs # MPI__INCLUDE_PATH Include path(s) for MPI header # MPI__LINK_FLAGS Linking flags for MPI programs # MPI__LIBRARIES All libraries to link MPI programs against # # Additionally, FindMPI sets the following variables for running MPI # programs from the command line: # # :: # # MPIEXEC Executable for running MPI programs # MPIEXEC_NUMPROC_FLAG Flag to pass to MPIEXEC before giving # it the number of processors to run on # MPIEXEC_PREFLAGS Flags to pass to MPIEXEC directly # before the executable to run. # MPIEXEC_POSTFLAGS Flags to pass to MPIEXEC after other flags # endif (MPI_C_FOUND)