The Open MPI Project is an open source Message Passing Interface implementation.

Documentation

openMPI home
openMPI documentation home
Slurm MPI guide

Usage

$ module load openmpi
$ mpicc -o hello hello.c
$ srun -N 4 --mpi=pmix_v2 ./hello

Build instructions for those who are curious

module load gcc/12.4.0
module load cuda
./configure --prefix=/mnt/nasapps/production/openmpi/5.0.5 \
    --without-ofi --with-cuda=$CUDABASE --with-slurm &&
make -j 8 && make install