PRozp:Programowanie Rozproszone Laby 2021 源码
1.在wsl中安装mpi > sudo apt install -y libopenmpi-dev 2.现在您应该可以访问mpicc和mpirun 2.1检查您是否可以访问mpicc > which mpicc /usr/bin/mpicc 2.2检查是否可以访问mpirun > which mpirun /usr/bin/mpirun 3.查找mpi.h文件 > find /usr/lib | grep mpi \\ .h /usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h 4.将目录添加到CMakeLists.txt文件以启用代码洞察功能 cmake_minimum_required(VERSION 3.16) project(mpi_test C) set(CMAKE_C_STANDARD 11) include_dire
用户评论