OpenMPI is a widely-used implementation of the Message Passing Interface (MPI) that allows for parallel processing across distributed systems. It is available on SeaWulf for Skylake and Milan nodes with varying versions and compiler support.

Loading OpenMPI

  • moduleopenmpi/gcc12.1/4.1.4
  • moduleopenmpi/aocc4.0/4.1.5
  • moduleopenmpi/gcc13.2/4.1.6
  • moduleopenmpi/gcc13.2/5.0.2
  • moduleopenmpi/1.10.1
  • moduleopenmpi/3.1.5
  • moduleopenmpi/aocc3.2/4.1.1
  • moduleopenmpi/openmpi-opal
  • moduleopenmpi/1.10.1-test
  • moduleopenmpi/4.0.1
  • moduleopenmpi/gcc11.2/4.1.1
  • moduleopenmpi/3.0.0
  • moduleopenmpi/4.0.5
Tip: load modules inside your SLURM job script, not just on the login node, so compute nodes see the same environment. Verify with which after loading.

Example usage

Load OpenMPI

module load openmpi/gcc13.2/5.0.2

Compile an MPI program

mpicc -o my_mpi_program my_mpi_program.c

Run an MPI job

mpirun -np 4 ./my_mpi_program

Availability

OpenMPI is available on: SeaWulf, NVwulf, ClinWulf.