Skip main navigation

Get 30% off one whole year of Unlimited learning. Subscribe for just £249.99 £174.99. T&Cs apply

Hands-on: Hello world

Parallel hello world
In this exercise you learn how to write the simplest possible MPI program.

Source code for this exercise is located in mpi/hello-world/

Write a parallel Python program using MPI that prints out the number of processes and the MPI rank of each process.

© CSC - IT Center for Science Ltd.
This article is from the free online

Python in High Performance Computing

Created by
FutureLearn - Learning For Life