Skip main navigation

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

Reach your personal and professional goals

Unlock access to hundreds of expert online courses and degrees from top universities and educators to gain accredited qualifications and professional CV-building certificates.

Join over 18 million learners to launch, switch or build upon your career, all at your own pace, across a wide range of topic areas.

Start Learning now