Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

About this example

This example shows how to run a MPI program on cluster.

Requirements

  • OpenMPI

Run

Open a terminal and type:

sh run.sh

Output

A typical output should look like this one.

[javier@c5n00 05-hello-MPI-cluster]$ sh run.sh 
Hello from process 1 of 8
Hello from process 6 of 8
Hello from process 0 of 8
Hello from process 3 of 8
Hello from process 5 of 8
Hello from process 7 of 8
Hello from process 2 of 8
Hello from process 4 of 8
[javier@c5n00 05-hello-MPI-cluster]$