主要参考:
基础教程:https://mpitutorial.com/tutorials
进阶教程:https://enccs.github.io/intermediate-mpi
基础教程
安装运行:
- open mpi安装
- run mpi program over a cluster 在集群上跑mpi程序
- mpi overall
- 这篇必看,摘自
man mpirun
mpirun
point-to-point:
- mpi block send and receive
- mpi dynamic receive (dynamic means buffer size)
- mpi Point-to-Point Communication example: random walk
collective:
- MPI Broadcast and Collective Communication
- MPI Scatter, Gather, and Allgather
- collective call example: Performing Parallel Rank with MPI
- MPI Reduce and Allreduce