OpenMPI
An MPI Implementation for Parallel Computing
OpenMPI requires an environment module
In order to use OpenMPI, you must first load the appropriate environment module:
module load gnu/intel/nvhpc openmpi
OpenMPI is one of several implementations of the Message Passing Interface (MPI) model of parallel computing for distributed systems. OpenMPI is an open-source implementation of this model with a wide range of powerful features.
Using OpenMPI on RCC resources#
Notice
OpenMPI 4.1.6 will only work with GNU GCC 8.5.0, and Intel 21 compilers.
There are three different implementations of OpenMPI available on the HPC: Intel, GNU GCC, and NVHPC:
Intel:
GNU GCC:
NVHPC:
Running OpenMPI programs#
Regardless of which platform compiler your MPI program executes on, the syntax is the same:
This would typically go in a Slurm submit script.