8.8 The mpirun Command Options
HP-MPI on the HP XC system provides the following addition al mpirun command line
options:
-srun
The -srun option i s r equired in mpirun com m a nd in the HP XC environm ent.
The preferred method for startup for HP X C is:
mpirun mpirun options -srun srun options
Starting up directly from srun is not supported. In th is context, mpirun sets
a few environment variables and invokes /opt/hptc/bin/srun.Any
arguments o n the mpirun command line that f ollow -srun arepasseddownto
the srun command.
-subnet
This release supports the -subnet option that allows you to select which
default system interconnect should be used for communication for TCP/IP. T he
system interconnect is chosen by u s ing the subnet associated with the hostname
or IP address specified with the -subnet option.
mpirun -subnethostname-or-IP-address
The hostname-or-IP-address operand i s a hostname o r IP address that
resolves to a real IP address.
-elan,
-ELAN,
-gm, -GM,
-itapi,
-ITAPI
These options are provided for ex plicit command line system interconnect
selection. The lower case o ption is taken as advisory and m eans use the system
interconnect if it is available. The upper case option is taken as m andatory and
instructs MPI to abort if the system interconnect is unavailable. The interaction
between these options and the related MPI_IC_ORDER variable is that any
command line system interconnect selection here is implicitly prepended to
MPI_IC_ORDER.
-TCP
If both Quadrics and G igabit Ethernet are installed, Elan4 is the defau lt. In or der
to use Gigabit Ethern et, add -TCP and verify that hostname -ip returns t he
subnet of t he Gigabit Ethernet private network. Fo r example:
$ mpirun -TCP -srun -N8 ./a.out
-dd
Use deferred deregistration when registering and deregistering memory for
RDMA message transfers. The default is to use deferred deregistration.
However, using this op tion also pr odu ces a statistical summary of the deferr ed
deregistration activity when MPI_Finalize is called. The option is ignored if
the und erlyin g system interconnect does not use and RDMA transfer mechanism,
or if the deferred deregistration is managed directly by the system interconnect
library.
-ndd
Do not u se deferred deregistration when registering memory for RDMA message
transfers. To enable deferred deregistration, the HP-MPI libra ry must intercept
calls allocated by libc memory allocation r outines. In the rare case that these
changes are incompatible with a particular application, this option can be used to
disallow the use of deferred deregistration.
-T
This option prints user and system times for each MPI rank.
-prot
This option p rints the communication protocol between each host (for example,
TCP/IP, Elan, or shared memory).
Using HP-MPI 8-9
Commentaires sur ces manuels