Intel MPI Benchmarks (IMB) Keyboard Shortcuts

Complete Intel MPI Benchmarks (IMB) keyboard shortcuts and commands reference — 12 shortcuts across 3 categories. Quick reference cheat sheet for Windows & Mac.

The Intel MPI Benchmarks are the other standard set beside OSU for measuring an MPI library and its network, and IMB-MPI1 covers point-to-point and collective patterns in one binary selected by argument. The table lists the common invocations; the notes explain what each pattern isolates and the flags that keep a run focused.

Single Transfer (IMB-MPI1) (4)

ShortcutActionDescription
mpirun -np 2 IMB-MPI1 PingPongPingPong testMeasure point-to-point latency and bandwidth between two ranks.
mpirun -np 2 IMB-MPI1 PingPingPingPing testMeasure bidirectional latency with both ranks sending simultaneously.
mpirun -np 4 IMB-MPI1 SendrecvSendrecv testMeasure bandwidth in a periodic ring communication pattern.
mpirun -np 4 IMB-MPI1 ExchangeExchange testMeasure bandwidth when each rank exchanges data with both neighbors.

Collective Benchmarks (5)

ShortcutActionDescription
mpirun -np 8 IMB-MPI1 AllreduceAllreduce testBenchmark the MPI_Allreduce collective operation.
mpirun -np 8 IMB-MPI1 AllgatherAllgather testBenchmark the MPI_Allgather collective operation.
mpirun -np 8 IMB-MPI1 AlltoallAlltoall testBenchmark the MPI_Alltoall collective operation.
mpirun -np 8 IMB-MPI1 BcastBroadcast testBenchmark the MPI_Bcast collective operation.
mpirun -np 8 IMB-MPI1 BarrierBarrier testBenchmark MPI_Barrier synchronization overhead.

Control Flags (3)

ShortcutActionDescription
-msglog min:maxSet message size rangeSet transfer sizes as powers of two, e.g. 2:16 for 4 bytes up to 64KB.
-include nameInclude benchmarkAdd a specific benchmark to the run alongside the defaults.
-npmin nMinimum process countSet the minimum number of active processes for a benchmark.
📜 Source: Intel — Intel MPI Benchmarks user guide. Benchmarks and flags from the Intel MPI Benchmarks documentation for the current release. Checked 2026-09-06. How we verify ›
📄 View Printable Cheat Sheet — Download as PDF or print · 🧩 Combine with other tools

Frequently Asked Questions

What are the most useful Intel MPI Benchmarks (IMB) keyboard shortcuts?

The most essential Intel MPI Benchmarks (IMB) shortcuts are: mpirun -np 2 IMB-MPI1 PingPong (PingPong test), mpirun -np 2 IMB-MPI1 PingPing (PingPing test), mpirun -np 4 IMB-MPI1 Sendrecv (Sendrecv test).

How do I use Intel MPI Benchmarks (IMB) 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 Intel MPI Benchmarks (IMB) shortcut for pingpong test?

The Intel MPI Benchmarks (IMB) shortcut for pingpong test is mpirun -np 2 IMB-MPI1 PingPong. Measure point-to-point latency and bandwidth between two ranks.

What Single Transfer (IMB-MPI1) shortcuts does Intel MPI Benchmarks (IMB) have?

Intel MPI Benchmarks (IMB) includes 4 Single Transfer (IMB-MPI1) shortcuts, including mpirun -np 2 IMB-MPI1 PingPong (PingPong test) and mpirun -np 2 IMB-MPI1 PingPing (PingPing test). See the full list in the Single Transfer (IMB-MPI1) section above.

Can I combine Intel MPI Benchmarks (IMB) shortcuts with other tools?

Yes — use My Stack to combine Intel MPI Benchmarks (IMB) 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

OpenMPI (mpirun) OSU Micro-Benchmarks Mellanox / InfiniBand NCCL Tests Slurm

Search 18,500+ shortcuts across 268 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.

Point to point

mpirun -np 2 IMB-MPI1 PingPong is the classic latency and bandwidth test between two ranks — place them on different nodes to measure the network, on the same node to measure shared memory — and its small-message time is the fabric's latency. mpirun -np 2 IMB-MPI1 PingPing sends both ways at once, and mpirun -np 4 IMB-MPI1 Sendrecv and mpirun -np 4 IMB-MPI1 Exchange run ring patterns that show how bandwidth holds up under bidirectional load.

Collectives

mpirun -np 8 IMB-MPI1 Allreduce is the pattern behind gradient synchronisation and the one to watch for training clusters; mpirun -np 8 IMB-MPI1 Allgather, mpirun -np 8 IMB-MPI1 Alltoall and mpirun -np 8 IMB-MPI1 Bcast cover the rest, and mpirun -np 8 IMB-MPI1 Barrier measures pure synchronisation cost. Each benchmark prints a table per message size with min, max and average time; the gap between min and max at large process counts reveals stragglers.

Control flags

-msglog min:max restricts message sizes to powers of two in that range, so a run can focus on the small-message regime or the bandwidth regime. -include name adds benchmarks to the default list and -npmin n sets the smallest process count to test; by default IMB runs each collective at several process counts up to the launch size, which is how scaling curves are produced in one job. Placement and binding flags on mpirun apply as they would to any job.

🤖 Ask AI about Intel MPI Benchmarks (IMB) 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