Programming Roadmap

HPC 学习指南

从集群环境和并行思维出发,逐步学习 OpenMP、MPI 与性能分析。

0

HPC Environment

cluster、SSH、scheduler、Slurm、modules、job submission。

1

Parallel Thinking

memory model、partitioning、dependency、communication、load balance、speedup、Amdahl。

2

OpenMP

单节点 shared-memory:thread、data scope、race、reduction、schedule。

3

MPI

distributed-memory:blocking point-to-point → collective → non-blocking。

4

Performance

CSAPP Ch.5/6:cache、locality、bandwidth、profiling、strong scaling。

5

Later

完成前面后再进 MPI+OpenMP、GPU/CUDA、Berkeley CS267。

教程 vs 标准

用途材料怎么用
OpenMP 入门LLNL OpenMP学基本模型和常用 construct。
OpenMP 当前查阅OpenMP Reference Guide查 directive / clause / runtime API。
OpenMP 完整规范OpenMP Specifications确认版本与高级语义。
MPI 入门LLNL MPIEnvironment → P2P → Collective → Non-blocking。
MPI 标准MPI 4.1查语义,不作为第一本教程。

HPC 阶段性产出