openmpi (pgi)
- Version:
1.10.7 (pgi), 1.10.1 (open64), 4.1.4 (nvhpc), 4.1.5 (intel), 4.0.5 (intel), 1.10.7 (intel), 4.1.5 (gcc), 4.1.4 (gcc), 4.0.5 (gcc), 3.1.6 (gcc), 1.10.7 (gcc)
- Category:
mpi
- Cluster:
Loki
Description
Open MPI for Gig Ethernet and infiniBand using GCC compilers for C/C++, Fortran, and VampirTrace
Documentation
$ mpirun --help
Usage: mpirun [options] [program] [args]
Common options:
-n, -np <num> Number of processes
--host <hostlist> Comma-separated list of hosts
--mca <param> <val> Set a specific MCA parameter
--map-by <type> Control process mapping (e.g., core, socket)
--bind-to <type> Bind processes to resource (e.g., core)
Compiler wrappers:
mpicc - C compiler
mpicxx - C++ compiler
mpifort - Fortran compiler
Full documentation:
https://www.open-mpi.org/doc/v4.1/
Examples/Usage
List available modules:
$ module avail openmpi
Load the Open MPI module:
$ module load mpi/OpenMPI/4.1.4-GCC-12.2.0
Check the loaded modules:
$ module list
Unload the Open MPI module:
$ module unload mpi/OpenMPI/4.1.4-GCC-12.2.0
Access the help information for Open MPI C++ wrapper compiler:
$ mpic++ --help
Access the help information for the Open MPI information display:
$ ompi_info --help
Installation
Source code is obtained from Open MPI