HPC Lab 1 – Run an MPI Program with mpiexec

Message passing is an integral technique for parallel programs that run on a cluster computer. The Message Passing Interface (MPI) is a standardized and portable specification that is available in many HPC environments.

In this post I explain how to start one or more instances of the same program on one ore more compute nodes using the MPI command mpiexec. See my HPC Lab for more MPI examples.

Note: In my examples mpiexec generates the output ‘mpiexec@m1’. Unfortunately my WordPress environment obfuscates this to ‘[email protected]’. I have not yet found the knob to fix this. To see the output 100% accurate, open my example with Jupyter notebook or see it online here.

Share this article

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.