Local Hydra Options
This section describes the local options of the Intel® MPI Library's Hydra process manager. Local options are applied only to the argument set they are specified in. Argument sets are separated by a colon '
:
'.
-n
<number-of-processes> or
-np
<number-of-processes>
-n
or
<number-of-processes>
-np
<number-of-processes>
Use this option to set the number of MPI processes to run with the current argument set.
-env
<envar> <value>
-env
<envar> <value>
Use this option to set the
environment variable to the specified
for all MPI processes in the current argument set.
<envar>
<value>
-envall
-envall
Use this option to propagate all environment variables in the current argument set. See the
I_MPI_HYDRA_ENV
environment variable for more details.
-envnone
-envnone
Use this option to suppress propagation of any environment variables to the MPI processes in the current argument set.
The option does not work for localhost.
-envexcl
<list-of-envvar-names>
-envexcl
<list-of-envvar-names>
Use this option to suppress propagation of the listed environment variables to the MPI processes in the current argument set.
-envlist
<list>
-envlist
<list>
Use this option to pass a list of environment variables with their current values.
is a comma separated list of environment variables to be sent to the MPI processes.
<list>
-host
<nodename>
-host
<nodename>
Use this option to specify a particular
on which the MPI processes are to be run. For example, the following command executes
on hosts
<nodename>
a.out
host1
and
host2
:
$ mpiexec.hydra -n 2 -host host1 ./a.out : -n 2 -host host2 ./a.out
-path
<directory>
-path
<directory>
Use this option to specify the path to the
file to be run in the current argument set.
<executable>
-wdir
<directory>
-wdir
<directory>
Use this option to specify the working directory in which the
file runs in the current argument set.
<executable>