diff --git a/pages/common/mpic++.md b/pages/common/mpic++.md new file mode 100644 index 0000000000..744e2252e6 --- /dev/null +++ b/pages/common/mpic++.md @@ -0,0 +1,13 @@ +# mpic++ + +> Open MPI wrapper compiler for C++. +> See also: `mpirun`. +> More information: . + +- Compile an Open MPI program: + +`mpic++ {{path/to/source_file}}` + +- Show all the wrapper-supplied flags: + +`mpic++ --showme` diff --git a/pages/linux/mpicc.md b/pages/common/mpicc.md similarity index 100% rename from pages/linux/mpicc.md rename to pages/common/mpicc.md diff --git a/pages/common/mpiexec.md b/pages/common/mpiexec.md new file mode 100644 index 0000000000..79c67e8678 --- /dev/null +++ b/pages/common/mpiexec.md @@ -0,0 +1,7 @@ +# mpiexec + +> This command is an alias of `mpirun`. + +- View documentation for the original command: + +`tldr mpirun` diff --git a/pages/common/mpirun.md b/pages/common/mpirun.md new file mode 100644 index 0000000000..20e03bc680 --- /dev/null +++ b/pages/common/mpirun.md @@ -0,0 +1,17 @@ +# mpirun + +> Execute serial and parallel jobs in Open MPI. +> See also: `mpic++`. +> More information: . + +- 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}}`