27.12.2014 Views

QLogic OFED+ Host Software User Guide, Rev. B

QLogic OFED+ Host Software User Guide, Rev. B

QLogic OFED+ Host Software User Guide, Rev. B

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6 Performance Scaled<br />

Messaging<br />

Introduction<br />

Performance Scaled Messaging (PSM) provides support for full Virtual Fabric<br />

(vFabric) integration, allowing users to specify InfiniBand Service Level (SL) and<br />

Partition Key (PKey), or to provide a configured Service ID (SID) to target a<br />

vFabric. Support for using InfiniBand path record queries to the <strong>QLogic</strong> Fabric<br />

Manager during connection setup is also available, enabling alternative switch<br />

topologies such as Mesh/Torus. Note that this relies on the Distributed SA cache<br />

from FastFabric.<br />

All PSM enabled MPIs can leverage these capabilities transparently, but only two<br />

MPIs (<strong>QLogic</strong> MPI and OpenMPI) are configured to support it natively. Native<br />

support here means that MPI specific mpirun switches are available to<br />

activate/deactivate these features. Other MPIs will require use of environment<br />

variables to leverage these capabilities. With MPI applications, the environment<br />

variables need to be propagated across all nodes/processes and not just the node<br />

from where the job is submitted/run. The mechanisms to do this are MPI specific,<br />

but for two common MPIs the following may be helpful:<br />

• OpenMPI: Use –x ENV_VAR=ENV_VAL in the mpirun command line.<br />

Example:<br />

mpirun –np 2 –machinefile machinefile -x<br />

PSM_ENV_VAR=PSM_ENV_VAL prog prog_args<br />

• MVAPICH2: Use mpirun_rsh to perform job launch. Do not use mpiexec<br />

or mpirun. Specify the environment variable and value in the mpirun<br />

command line before the program argument.<br />

Example:<br />

mpirun_rsh –np 2 –hostfile machinefile PSM_ENV_VAR=PSM_ENV_VAL<br />

prog prog_args<br />

Some of the features available require appropriate versions of associated<br />

software and firmware for correct operation. These requirements are listed in the<br />

relevant sections.<br />

D000046-005 B 6-1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!