针对你遇到的“could not find mpi_c (missing: mpi_c_libraries mpi_c_include_path)”错误,以下是一些解决步骤和建议: 检查MPI库是否已安装: 确保你的系统上已经安装了MPI库。在Linux上,常见的MPI实现有OpenMPI和MPICH。你可以通过包管理器(如apt、yum等)来安装这些库。例如,在Ubuntu上,你可以使用以下命令安...
6 +2,16 @@ project(Julia-MPI Fortran C) include(InstallRequiredSystemLibraries) find_package(Git) + +set(MPI_ROOT "/opt/intel/impi/5.0.1.035/intel64") +set(MPI_C_COMPILER "${MPI_ROOT}/bin/mpiicc") +set(MPI_C_INCLUDE_PATH