mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
23 lines
531 B
Plaintext
23 lines
531 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# mpirun
|
|
|
|
> Execute serial and parallel jobs in Open MPI.
|
|
> See also: `mpic++`.
|
|
> More information: <https://docs.open-mpi.org/en/main/man-openmpi/man1/mpirun.1.html>.
|
|
|
|
- Execute an Open MPI program:
|
|
|
|
`mpirun {{path/to/executable}}`
|
|
|
|
- Execute an Open MPI program with `n` parallel processes:
|
|
|
|
`mpirun -n {{n}} {{path/to/executable}}`
|
|
|
|
- Allow more processes than available physical cores:
|
|
|
|
`mpirun -oversubscribe {{path/to/executable}}`
|