Skip to content

Mpi4py

Installed versions

Resource Version
Dardel/cpe23.12 3.1.6

General information

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. For more information see the mpi4py homepage.

For an introduction to parallel programming in Python, see the lesson Parallel programming in the course Python for Scientific Computing.

For mpi4py, see also the blog posts mpi4py (part 1) and mpi4py (part 2).

How to use

To load an mpi4py module

ml PDC/<version>
ml mpi4py/3.1.4-py39
To show info on what path and environment variables are set by the module
ml show mpi4py/3.1.4-py39