OpenMPI (mpirun) Keyboard Shortcuts

Complete OpenMPI (mpirun) keyboard shortcuts and commands reference — 12 shortcuts across 2 categories. Quick reference cheat sheet for Windows & Mac.

Launching (6)

ShortcutActionDescription
mpirun -n 4 ./progRun N processesLaunch 4 copies of the program across the allocated resources.
--hostfile hosts.txtHost fileSpecify a file listing hosts and slot counts to run on.
-H host1,host2Host listComma-delimited list of hosts to launch processes on directly.
-N 4Processes per nodeLaunch 4 processes on each allocated node (synonym: --npernode).
--map-by nodeMapping policyDistribute processes round-robin across nodes instead of filling one node first.
--bind-to coreCPU bindingBind each process to a specific CPU core for consistent performance.

Environment & Debugging (6)

ShortcutActionDescription
-x VARExport env variableExport an environment variable from the launching shell to every process.
--mca key valueSet MCA parameterPass a Modular Component Architecture parameter to tune Open MPI's behavior.
--allow-run-as-rootAllow rootPermit mpirun to launch as the root user; discouraged outside containers.
--display-mapShow process mapPrint the mapped location of every process before launch, useful for debugging placement.
--oversubscribeOversubscribeAllow launching more processes than available CPU slots.
-VVersionPrint the Open MPI version and exit.
📄 View Printable Cheat Sheet — Download as PDF or print · 🧩 Combine with other tools

Frequently Asked Questions

What are the most useful OpenMPI (mpirun) keyboard shortcuts?

The most essential OpenMPI (mpirun) shortcuts are: mpirun -n 4 ./prog (Run N processes), --hostfile hosts.txt (Host file), -H host1,host2 (Host list). These cover the most frequent actions and can significantly speed up your workflow.

How many keyboard shortcuts does OpenMPI (mpirun) have?

OpenMPI (mpirun) has 12 keyboard shortcuts across 2 categories on shortcut-tools.com.

How do I use OpenMPI (mpirun) commands?

These are command-line commands — type them in your terminal or console. Combine them with shell history search (Ctrl + R) and aliases to work even faster.

What is the OpenMPI (mpirun) shortcut for run n processes?

The OpenMPI (mpirun) shortcut for run n processes is mpirun -n 4 ./prog. Launch 4 copies of the program across the allocated resources.

What Launching shortcuts does OpenMPI (mpirun) have?

OpenMPI (mpirun) includes 6 Launching shortcuts, including mpirun -n 4 ./prog (Run N processes) and --hostfile hosts.txt (Host file). See the full list in the Launching section above.

What Environment & Debugging shortcuts does OpenMPI (mpirun) have?

OpenMPI (mpirun) includes 6 Environment & Debugging shortcuts, including -x VAR (Export env variable) and --mca key value (Set MCA parameter). See the full list in the Environment & Debugging section above.

Can I combine OpenMPI (mpirun) shortcuts with other tools?

Yes — use My Stack to combine OpenMPI (mpirun) shortcuts with any other platform on this site into one printable reference, which is useful if your daily workflow spans several tools.

Related Shortcut Pages

NCCL Tests OSU Micro-Benchmarks Intel MPI Benchmarks (IMB) HPL (Linpack) Slurm torchrun Mellanox / InfiniBand NVIDIA DCGM nvidia-smi (GPU)

Search 13,500+ shortcuts across 269 platforms

Explore All Platforms Practice Shortcuts
🔧 Spotted an error or a missing shortcut? Suggest an edit on GitHub — every accepted fix goes live on this page, the API and the CLI.

🤖 Ask AI about OpenMPI (mpirun) shortcuts

Open your assistant with this page preloaded as the source — great for follow-up questions like "which of these work in other apps?"

ChatGPT Claude Perplexity Gemini Grok