Example
Example 8-1: Performing System Interconnect Selection
%export MPI_IC_ORDER="elan:TCP:gm:itapi"
%export
%export
%mpirun
The command line for the above will appear to mpirun as:
$ 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/IP will be used and the communication path will be on the subnet
192.168.1.*.
Example
Example 8-2: Using TCP/IP over Gigabit Ethernet
%export MPI_IC_ORDER="elan:TCP:gm:itapi"
%export
%mpirun
Example
Example 8-3: Using TCP/IP over Elan4
%export MPI_IC_ORDER="elan:TCP:gm:itapi"
%export MPIRUN_SYSTEM_OPTIONS=" "
%$MPI_ROOT/bin/mpirun
This shows in the "protocol map" that TCP is being used, but it is TCP over Elan4.
8.3.4 Using LSF and HP-MPI
A full description of using LSF with HP XC is provided in Chapter 7. In addition, for your convenience, the HP XC documentation CD contains HP XC LSF manuals from Platform Computing.
In Example
Example 8-4: Allocating and Attaching Processors
$ bsub
In Example