Running MPI Jobs
The Message Passing Interface (MPI) is a library specification for message-passing. It is a standard API (Application Programming Interface) that can be used to create parallel applications. A MPI job can considered as a cross-node and multi-process job.
Sample Slurm MPI job skeleton:
module load openmpi-gcc
This script tells Slurm this is a multi-processing job. It has 32 MPI processes. Launch 16 MPI processess on each node (implicitly request 2 nodes). For each MPI process, it needs 1 cpu core to handle.
On MASSIVE, the sample slurm submission scripts have been prepared and can be found here: