1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-21 16:35:27 +02:00
tldr/pages/common/mpirun.md
Dylan bdde90fb1d
mpic++, mpiexec, mpirun: add pages; mpicc: move to common/ (#17137)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
2025-07-09 22:43:49 +05:30

438 B

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}}