Writing
Practical notes on MPI, HPC clusters and cloud HPC, based on the courses I have taught and the systems I have run.
MPIThe MPI exchange that works on a small mesh and hangs on a large oneWhy a symmetric MPI_Send/MPI_Recv exchange depends on the eager limit, how to measure where it breaks, and three ways to write it safely.Read the articleMPIStop computing neighbour ranks by hand: MPI Cartesian topologiesUse MPI_Dims_create, MPI_Cart_create, MPI_Cart_shift and MPI_Cart_sub to build a process grid, exchange halos safely and get row communicators for free.Read the articleMPIFrom one file per process to one shared file: a practical path to MPI-IOFour ways to write output from an MPI program, why funnelling through rank 0 and file-per-process both stop scaling, and how to write and re-read a single shared file with collective MPI-IO.Read the article