Skip to content
NAISS Logo
Allocations Support Training Software naiss.se

Mpi4py

Support tier: 3

Read information about support tiers.

Installed versions

Resource Version
Dardel/cpe23.12 3.1.6

Read information about how to load this software in your environment by searching for Lmod module.

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