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

Tuning
Multiple network interfaces
Chapter 5 187
Multiple network interfaces
You can use multiple network interfaces for interhost communication
while still having intrahost exchanges. In this case, the intrahost
exchanges use shared memory between processes mapped to different
same-host IP addresses.
To use multiple network interfaces, you must specify which MPI
processes are associated with each IP address in your appfile.
For example, when you have two hosts, host0 and host1, each
communicating using two ethernet cards, ethernet0 and ethernet1, you
have four host names as follows:
host0-ethernet0
host0-ethernet1
host1-ethernet0
host1-ethernet1
If your executable is called work.exe and uses 64 processes, your appfile
should contain the following entries:
-h host0-ethernet0 -np 16 work.exe
-h host0-ethernet1 -np 16 work.exe
-h host1-ethernet0 -np 16 work.exe
-h host1-ethernet1 -np 16 work.exe