MPI
Running an MPI program across nodes on the vendor’s MPI, with conda or Spack, and checking that it really spans them.
This section is about running an MPI program across nodes on the MPI the vendor installed, which is the one that knows the cluster’s network and its scheduler. It starts with what MPI is and why the vendor’s MPI matters, then a check for the most common way an MPI job goes wrong without telling you, and then how to compose an environment around the vendor’s MPI, with conda and with Spack.
| Title | Description |
|---|---|
| MPI and the vendor’s MPI | What MPI is, why the MPI the vendor installed is the one that knows the network and the scheduler, why you launch with srun, and the MPICH ABI, which lets software from conda run on the vendor’s MPI. |
| Does your MPI span the nodes? | The symptom of an MPI that is not wired up to the cluster, a job that runs but does not scale, and a short mpi4py program that checks whether all the ranks form one world across the nodes. |
| Conda and the vendor’s MPI | Three ways to run a conda environment’s MPI programs across nodes: conda-forge’s external MPICH bound to the vendor’s MPI, mpi4py built from source against it, and, last, conda-forge’s Open MPI with its own mpirun. |
| Spack and the vendor’s MPI | Composing a Spack environment with the vendor’s MPI: libfabric as an external at the very least, the vendor’s MPI and PMI as externals preferably, why not to build Open MPI on an MPICH system, and how to check which network an MPICH uses. |
No matching items