mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-03 05:34:23 +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:
parent
6cf98be656
commit
bdde90fb1d
4 changed files with 37 additions and 0 deletions
13
pages/common/mpic++.md
Normal file
13
pages/common/mpic++.md
Normal 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
7
pages/common/mpiexec.md
Normal 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
17
pages/common/mpirun.md
Normal 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}}`
|
Loading…
Add table
Reference in a new issue