Hp XC System 2.x Software Manuel d'utilisateur Page 120

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 154
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 119
8.9 Environment Variables
HP-MPI on HP XC provides the followin g additional environment variables:
8.9.1 MPIRUN_OPTIONS
MPIRUN_OPTIONS is a mechanism for specifying additional command line
arguments to
mpirun. If this environment variable is set, then any mpirun comm and wi
ll behave as if the
arguments in MPIRUN_OPTIONS had been specified on the mpirun comman
dline.For
example:
% export MPIRUN_OPTIONS="-v -prot"
% $MPI_ROOT/bin/mpirun -np 2 /path/to/program.x
The above commands are equivalent to the follo wing:
% $MPI_ROO
T/bin/mpirun -v -prot -np 2 /path/to/program.x
8.9.2 MPIRUN_SYSTEM_OPTIONS
The MPIRUN_SYSTEM_OPTIONS environment variable allows a system administrator
to preset options which will be inserted b efore MPIRUN_OPTIONS and any explicit
mpirun options on the command line. This is most useful for establishing a preferred IP
address/hostname for TCP communications in the situation where a user explicitly requests
TCP via the -TCP option, or when default system interconnection selection chooses TCP.
This environment variable can be overridden.
8.9.3 MPI_IC_ORDER
The MPI_IC _ORDER environment variable, whose default contents are
"elan:gm:itapi:TCP", instructs HP-M PI to search in a specific order for the presence of a
system interconnect. Lowercase selections imply use if detected, otherwise keep searching.
An uppercase option demands that the system interconnect option be used, and if it cannot be
selected the application will terminate wi th an err or. For example:
% export MPI_IC_ORDER="elan:TCP:gm:itapi"
% export MPIRUN_SYSTEM_OPTIONS="-subnet 192.168.1.1"
% export MPIRUN_OPTIONS="-prot"
% $MPI_ROOT/bin/mpirun -srun -n4 ./a.out
The command line for the above will appear to mpirun as:
$ MPI_ROOT/bin/mpirun -subnet 192.168.1.1 -prot -srun -n4
./a.out
The system interconnect decision will look for the presence of Elan and use it if found.
Otherwise, TCP will be used and the communication path will be on the subnet
192.168.1.1.
The following is an exam ple of using TCP over Gigab it Ethernet, assum in g Gigabit Ethernet
is installed and 192.168.1.1 corresponds to the E th ern et interface with Gigabit Ethernet.
Note the implicit use of -subnet 192.168.1.1 is required to effectively get TCP over the
proper subnet.
% export MPI_IC_ORDER="elan:TCP:gm:itapi"
% export MPIRUN_SYSTEM_OPTIONS="-subnet 192.168.1.1"
% $MPI_ROOT/bin/mpirun -prot -TCP -srun -n4 ./a.out
8.9.4 MPI_PHYSICAL_MEMORY
MPI_PHYSICAL_MEMORY allows you to specify th e amount of physical memory in kiloby tes
available on the system . MPI normally attempts to determine the amount of physical memory
8-10 Using HP-MPI
Vue de la page 119
1 2 ... 115 116 117 118 119 120 121 122 123 124 125 ... 153 154

Commentaires sur ces manuels

Pas de commentaire