HP-MPI Version 2.2.5 for Linux Release Note

HP-MPI V2.2.5 for Linux Release Note
What’s in This Version
32
5. Interconnect Selection Examples
Example 1 Interconnect Selection
% echo MPI_IC_ORDER
elan:TCP
% export MPIRUN_SYSTEM_OPTIONS="-netaddr 192.168.1.1"
% export MPIRUN_OPTIONS="-prot"
% $MPI_ROOT/bin/mpirun -prun -n4 ./a.out
The command line for the above will appear to mpirun as $MPI_ROOT/bin/mpirun
-netaddr 192.168.1.1 -prot -prun -n4 ./a.out and the interconnect decision will
look for the presence of Elan and use it if found. Otherwise, TCP/IP will be used and the
communication path will be on the same subnet as the 192.168.1.* host.
Example 2 TCP/IP over GigE
The following is an example using TCP/IP over GigE, assuming GigE is installed and
192.168.1.1 corresponds to the ethernet interface with GigE. Note the implicit use of
-netaddr 192.168.1.1 is required to effectively get TCP/IP over the proper subnet, if eth0
is not the gigabit interface.
% echo MPI_IC_ORDER
elan:TCP
% export MPIRUN_SYSTEM_OPTIONS="-netaddr 192.168.1.1"
% $MPI_ROOT/bin/mpirun -prot -TCP -prun -n4 ./a.out
Example 3 TCP/IP over Elan4
The following is an example using TCP/IP over Elan4, assuming Elan4 is installed and
configured. The subnet information is omitted, Elan4 is installed and configured, and
TCP/IP via -TCP is explicitly requested.
% echo MPI_IC_ORDER
elan:TCP
% export MPIRUN_SYSTEM_OPTIONS=" "
% $MPI_ROOT/bin/mpirun -prot -TCP -prun -n4 ./a.out
Example 4 Protocol Maps
This runs on Elan