4
–
Running MPI on QLogic Adapters
Open MPI
4-4
IB0054606-02 A
The first choice will use verbs by default, and any with the
_qlc
string will use
PSM by default. If you chose
openmpi_gcc_qlc-1.4.3
, for example, then the
following simple mpirun command would run using PSM:
$
mpirun -np 4 -machinefile mpihosts mpi_app_name
To run over IB Verbs instead of the default PSM transport in
openmpi_gcc_qlc-1.4.3
, use this
mpirun
command line:
$
mpirun -np 4 -machinefile mpihosts --mca btl sm --mca btl
openib,self --mca mtl ^psm mpi_app_name
The following command enables shared memory:
--mca btl sm
The following command enables openib transport and communication to self:
--mca btl openib, self
The following command disables PSM transport:
--mca mtl ^psm
In these commands,
btl
stands for
byte transport layer
and
mtl
for
matching
transport layer
.
PSM transport works in terms of MPI messages. OpenIB transport works in terms
of byte streams.
Alternatively, you can use Open MPI with a sockets transport running over IPoIB,
for example:
$
mpirun -np 4 -machinefile mpihosts --mca btl sm --mca btl
tcp,self --mca btl_tcp_if_exclude eth0 --mca
btl_tcp_if_include ib0 --mca mtl ^psm mpi_app_name
Note that
eth0
and
psm
are excluded, while
ib0
is included. These instructions
may need to be adjusted for your interface names.
Note that in Open MPI,
machinefile
is also known as the
hostfile
.
Further Information on Open MPI
For more information about Open MPI, see:
Summary of Contents for OFED+ Host
Page 1: ...IB0054606 02 A OFED Host Software Release 1 5 4 User Guide...
Page 14: ...xiv IB0054606 02 A OFED Host Software Release 1 5 4 User Guide...
Page 22: ...1 Introduction Interoperability 1 4 IB0054606 02 A...
Page 96: ...4 Running MPI on QLogic Adapters Debugging MPI Programs 4 24 IB0054606 02 A...
Page 140: ...6 SHMEM Description and Configuration SHMEM Benchmark Programs 6 32 IB0054606 02 A...
Page 148: ...8 Dispersive Routing 8 4 IB0054606 02 A...
Page 164: ...9 gPXE HTTP Boot Setup 9 16 IB0054606 02 A...
Page 176: ...A Benchmark Programs Benchmark 3 Messaging Rate Microbenchmarks A 12 IB0054606 02 A...
Page 202: ...B SRP Configuration OFED SRP Configuration B 26 IB0054606 02 A Notes...
Page 206: ...C Integration with a Batch Queuing System Clean up PSM Shared Memory Files C 4 IB0054606 02 A...
Page 238: ...E ULP Troubleshooting Troubleshooting SRP Issues E 20 IB0054606 02 A...
Page 242: ...F Write Combining Verify Write Combining is Working F 4 IB0054606 02 A Notes...
Page 280: ...G Commands and Files Summary of Configuration Files G 38 IB0054606 02 A...
Page 283: ......