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
<# of processes>
or -np
<# of
processes>
Use this option to set the number of MPI processes to run with the current argument
set.
-env
<ENVVAR>
<value>
Use this option to set the environment variable to the specified for all MPI processes in the current argument set.
<ENVVAR>
<value>
-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
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 env var
names>
Use this option to suppress propagation of the listed environment variables to the
MPI processes in the current argument set.
-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>
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>
Use this option to specify the path to the file to be run in the current argument set.
<executable>
-wdir
<directory>
Use this option to specify the working directory in which the file runs in the current argument set.
<executable>