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
文件列表
PRozp-main.zip
(预估有个9文件)
PRozp-main
lab01
main.c
310B
CMakeLists.txt
215B
mpi-wsl-toolchain.png
37KB
lab02
nums
88KB
main.c
2KB
mpi-compile-run.png
1.61MB
README.md
1KB
暂无评论