HP-MPI Version 2.0 for Windows Release Note

8 Submitting Jobs
8.1 General Information for Submitting Jobs
The section includes general information for submitting jobs either from the GUI or the command
line.
As part of the mpirun task submitted, the following flags are commonly used with mpirun:
-hpc
Automatically creates an appfile which matches the HPCS
job allocation. The number of ranks run will equal the
number of processors requested.
-np N
Indicates the number of ranks to execute.
-hpcblock
Uses block scheduling to place ranks on allocated nodes.
Nodes are processed in the order they were allocated by
the scheduler, with each node being fully populated up to
the total number of CPUs before moving on to the next
node. Only valid when the -hpc option is used. Cannot
be used with the -f, -hostfile, or -hostlist options.
Ranks are block scheduled by default. To use cyclic
scheduling, use the -hpccyclic option.
-hpccyclic
Uses cyclic scheduling to place ranks on allocated nodes.
Nodes are processed in the order they were allocated by
the scheduler, with one rank allocated per node on each
cycle through the node list. The node list will be traversed
as many times as is necessary to reach the total rank count
requested. Only valid when the -hpc option is used.
Cannot be used with the -f, -hostfile, or -hostlist
options.
-netaddr <ip-designations>
Specifies which IP addresses to use. The
ip-designations option is a comma-separated list:
rank:IP[/mask-IP] for rank-rank
mpirun:IP[/mask-IP for mpirun-*
IP[/mask-IP] for both
For example:
-netaddr 10.1.0.0/255.255.0.0 where 10.1.x.x is the private
network, with 255.255.0.0 netmask.
-TCP, -IBAL
Specifies the network protocol to use. To use WSD protocol,
specify -TCP and use -netaddr <ip-designations>
to select the IPoIB subnet.
-f <appfile> Specifies the application file that mpirun parses to get
program and process count information for the run.
-hostfile <filename>
Launches the same executable across multiple hosts. The
specified text file contains host names separated by spaces
or new lines.
-hostlist <quoted-host-list>
Indicates what nodes to use for the job. This host list can
be delimited with spaces or commas. If spaces are used as
delimiters anywhere in the hostlist, it might be necessary
to place the entire host list inside quotes to prevent the
command shell from interpreting it as multiple options.
8.1 General Information for Submitting Jobs 31