mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-23 04:55:24 +02:00
17 lines
438 B
Markdown
17 lines
438 B
Markdown
# 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}}`
|