Skip to main content

MPI Launchers

Jobs that scale massively parallel and split into independent tasks rely on MPI modules and launchers to orchestrate.

The most common MPI module is Intel MPI, available through oneapi modules. Besides oneapi, OpenMPI, MPICH and others exist.

Usage of each of the module/launchers are split into each supercomputer, then by module.

Sol MPI

module load intel/intel-oneapi-2022.1.0

mpiexec.hydra -genvall -np $SLURM_NTASKS "./my-simulation"

Phoenix MPI

module load intel/oneapi

mpiexec.hydra -genvall -np $SLURM_NTASKS "./my-simulation"

Example script available at: /packages/public/phx-sbatch-templates/templates/example-mpi-with-intel-job/main.sh

info

Note: There have been seen a few cases where users have needed to add the following to their job scripts: export HYDRA_LAUNCHER_EXTRA_ARGS="--export=ALL" export FI_PROVIDER=verbs #Multi-node jobs only export FI_PROVIDER=shm #Single-node jobs only