HP-MPI User's Guide (11th Edition)

Understanding HP-MPI
MPI options
Chapter 3 123
option is not allowed with -prun. Any arguments on
the mpirun command line that follow -prun are passed
down to the prun command.
Options for SLURM users
-srun Enables start-up on XC clusters. Some features like
mpirun -stdio processing are unavailable. The -np
option is not allowed with -srun. Any arguments on
the mpirun command line that follow -srun are passed
to the srun command. Start-up directly from the srun
command is not supported.
Remote shell launching
-f appfile Specifies the appfile that mpirun parses to get
program and process count information for the run.
Refer to “Creating an appfile” on page 78 for details
about setting up your appfile.
-hostfile <filename>
Launches the same executable across multiple hosts.
Filename is a text file with hostnames separated by
spaces or new lines. Can be used with the -np option.
-hostlist <list>
Launches the same executable across multiple hosts.
Can be used with the -np option. This hostlist may be
delimited with spaces or commas. Hosts can be
followed with an optional rank count, which is
delimited from the hostname with either a space or
colon. If spaces are used as delimiters anywhere in the
hostlist, it may be necessary to place the entire hostlist
inside quotes to prevent the command shell from
interpreting it as multiple options.
-h host Specifies a host on which to start the processes (default
is local_host). Only applicable when running in
single host mode (mpirun -np ...). Refer to the
-hostlist option which provides more flexibility.
-l user Specifies the username on the target host (default is
local username).
-l is not available on HP-MPI for Windows.