How to use mpi4py

Software
Version
Cluster
mpi4py
3.1.4
Dardel

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.

This is version 3.1.3 built with ggc11.2 and python3.8.

# To load the module
ml PDC/22.06
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

Disclaimer

PDC takes no responsibility for the correctness of results produced with the binaries. Always evaluate the binaries against known results for the systems and properties you are investigating before using the binaries for production jobs.