1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-19 05:35:25 +02:00

mpic++, mpiexec, mpirun: add pages; mpicc: move to common/ (#17137)

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
This commit is contained in:
Dylan 2025-07-09 17:13:49 +00:00 committed by GitHub
parent 6cf98be656
commit bdde90fb1d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 37 additions and 0 deletions

13
pages/common/mpic++.md Normal file
View file

@ -0,0 +1,13 @@
# mpic++
> Open MPI wrapper compiler for C++.
> See also: `mpirun`.
> More information: <https://www.open-mpi.org/doc/v3.0/man1/mpic++.1.php>.
- Compile an Open MPI program:
`mpic++ {{path/to/source_file}}`
- Show all the wrapper-supplied flags:
`mpic++ --showme`

7
pages/common/mpiexec.md Normal file
View file

@ -0,0 +1,7 @@
# mpiexec
> This command is an alias of `mpirun`.
- View documentation for the original command:
`tldr mpirun`

17
pages/common/mpirun.md Normal file
View file

@ -0,0 +1,17 @@
# 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}}`