Visible to Intel only — GUID: GUID-143E0ECB-A8B8-49B9-8809-30E975B2865A
Visible to Intel only — GUID: GUID-143E0ECB-A8B8-49B9-8809-30E975B2865A
mpirun
Launches an MPI job and provides integration with job schedulers.
Syntax
mpirun <options>
Arguments
<options> | mpiexec.hydra options as described in the mpiexec.hydra 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.