Developer Reference

  • 2020
  • 09/11/2020
  • Public Content

mpirun

Launches an MPI job and provides integration with job schedulers.
Syntax
mpirun
<options>
Arguments
<options>
mpiexec.hydra
options as described in the section. This is the default operation mode.
Description
Use this command to launch an MPI job. The
mpirun
command uses Hydra as the underlying process manager.
The
mpirun
command detects if the MPI job is submitted from within a session allocated using a job scheduler like Torque*, PBS Pro*, LSF*, Parallelnavi* NQS*, Slurm*, Univa* Grid Engine*, or LoadLeveler*. The
mpirun
command extracts the host list from the respective environment and uses these nodes automatically according to the above scheme.
In this case, you do not need to create a host file. Allocate the session using a job scheduler installed on your system, and use the
mpirun
command inside this session to run your MPI job.
Example
$ mpirun -n <# of processes> ./myprog
This command invokes the
mpiexec.hydra
command (Hydra process manager), which launches the
myprog
executable.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804