Attention

Following the recent operating system upgrade, software listings and module load commands now reflect the upgraded system. Some examples and notices are still being updated and may contain outdated guidance.

mpi4py

MPI for Python (mpi4py) provides bindings of the Message Passing Interface (MPI) standard for the Python programming language, allowing any Python program to exploit multiple processors.

Note

This is an autogenerated page, more detail including examples may be available for this package. Please see the first section of Software on Stanage

After connecting to Stanage (see Establishing a SSH connection), start an interactive session with the following command:

srun --pty bash -i

A version of mpi4py can then be made available with one of the following:

module load mpi4py/4.1.0-gompi-2025b
module load mpi4py/3.1.4-gompi-2023a

Notes

mpi4py was installed using Easybuild, build details can be found in $EBROOTMPI4PY/easybuild with a given module loaded.

Direct dependencies for latest version of mpi4py