协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
hpc-mpi【开发与工程】Build, review, debug, and launch MPI-based applications across Open MPI, MPICH-family, Intel MPI, MVAPICH2, and scheduler-integrated runtimes. Use when working with `mpirun` or `mpiexec` or `srun`, wrapper compilers such as `mpicc`, rank or thread geometry, process binding, PMI or PMIx integration, or MPI build and runtime failures.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
mpirun or mpiexec or srun, wrapper compilers such as mpicc, rank or thread geometry, process binding, PMI or PMIx integration, or MPI build and runtime failures.Treat MPI as a three-layer surface: implementation choice, build or wrapper semantics, and launcher behavior inside the target scheduler.
references/mpi-implementation-matrix.md before choosing or repairing an MPI stack.references/launcher-semantics.md when deciding between srun, mpirun, mpiexec, Hydra, or a site wrapper.references/wrapper-compilers-and-build.md when compiling with mpicc or mpicxx or mpifort, linking dependencies, or mixing MPI and non-MPI toolchains.references/rank-thread-binding-matrix.md when selecting MPI rank counts, OpenMP threads, affinity, or NUMA placement.references/pmi-pmix-and-environment-propagation.md when PMI or PMIx integration, environment forwarding, or batch-shell drift is in doubt.references/scheduler-integration-playbook.md when launching under Slurm, PBS, or LSF.references/runtime-debugging-and-observability.md when ranks hang, crash, oversubscribe, or report inconsistent environment state.references/error-pattern-dictionary.md when an MPI build or runtime failure needs a fast pattern match.OMP_NUM_THREADS, and binding policy mutually consistent.mpicc from one MPI stack with mpirun from another.mpirun and srun are interchangeable on a managed cluster.Load these on demand:
references/mpi-implementation-matrix.md for family selection and compatibility boundariesreferences/launcher-semantics.md for launcher-specific expectations and scheduler handoffreferences/wrapper-compilers-and-build.md for compiler-wrapper usage and link hygienereferences/rank-thread-binding-matrix.md for affinity and hybrid MPI plus OpenMP choicesreferences/pmi-pmix-and-environment-propagation.md for scheduler handoff, PMI or PMIx expectations, and batch-shell environment propagationreferences/scheduler-integration-playbook.md for Slurm or PBS or LSF integration detailreferences/runtime-debugging-and-observability.md for hang triage, rank-local logging, and environment inspectionreferences/error-pattern-dictionary.md for common MPI failure signaturesUse assets/templates/ when a concrete starting point is faster than rebuilding the MPI workflow from scratch, especially:
mpi_hello_world.cmpi_compile_example.shmpi_hello_slurm.shmpi_hybrid_slurm.shSummarize: