Scalable Process Management System (Hydra) Commands

mpiexec.hydra

The mpiexec.hydra is a more scalable alternative to the MPD* process manager.

Syntax

mpiexec.hydra <g-options> <l-options> <executable>

or

mpiexec.hydra <g-options> <l-options> <executable1> : \

<l-options> <executable2>

Arguments

<g-options>

Global options that apply to all MPI processes

<l-options>

Local options that apply to a single arg-set

<executable>

./a.out or path/name of the executable file

Description

Use the mpiexec.hydra utility to run MPI applications without the MPD ring.

Use the first short command-line syntax to start all MPI processes of the <executable> with the single set of arguments. For example, the following command executes a.out over the specified processes and hosts :

$ mpiexec.hydra -f <hostsfile> -n <# of processes> ./a.out

where:

Use the second long command-line syntax to set different argument sets for different MPI program runs. For example, the following command executes two different binaries with different argument sets:

$ mpiexec.hydra -f <hostsfile> -env <VAR1> <VAL1> -n 2 ./a.out : \

-env <VAR2> <VAL2> -n 2 ./b.out

Note

If there is no "." in the PATH environment variable on all nodes of the cluster, specify <executable> as ./a.out instead of a.out.

Note

You need to distinguish global options from local options. In a command-line syntax, place the local options after the global options.