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 Messaging<br />

Virtual Fabric Support<br />

Virtual Fabric Support<br />

Virtual Fabric (vFabric) in PSM is supported with the <strong>QLogic</strong> Fabric Manager. The<br />

latest version of the <strong>QLogic</strong> Fabric Manager contains a sample qlogic_fm.xml<br />

file with pre-configured vFabrics for PSM. Sixteen unique Service IDs have been<br />

allocated for PSM enabled MPI vFabrics to ease their testing however any<br />

Service ID can be used. Refer to the <strong>QLogic</strong> Fabric Manager <strong>User</strong> <strong>Guide</strong> on how<br />

to configure vFabrics.<br />

There are two ways to use vFabric with PSM. The “legacy” method requires the<br />

user to specify the appropriate SL and Pkey for the vFabric in question. For<br />

complete integration with vFabrics, users can now specify a Service ID (SID) that<br />

identifies the vFabric to be used. PSM will automatically obtain the SL and Pkey to<br />

use for the vFabric from the <strong>QLogic</strong> Fabric Manager via path record queries.<br />

Using SL and PKeys<br />

SL and Pkeys can be specified natively for OpenMPI and <strong>QLogic</strong> MPI. For other<br />

MPIs use the following list of environment variables to specify the SL and Pkey.<br />

The environment variables need to be propagated across all processes for correct<br />

operation.<br />

NOTE:<br />

This is available with OpenMPI v1.3.4rc4 and above only!<br />

• OpenMPI: Use mca parameters (mtl_psm_ib_service_level and<br />

mtl_psm_ib_pkey) to specify the pkey on the mpirun command line.<br />

Example:<br />

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

mtl_psm_ib_service_level SL -mca mtl_psm_ib_pkey Pkey prog<br />

prog_args.<br />

• <strong>QLogic</strong> MPI: Requires use of IPATH_SL environment variable to specify<br />

the SL and the –p switch to mpirun for the Pkey.<br />

Example:<br />

IPATH_SL=SL mpirun –np 2 –m machinefile -p Pkey prog prog_args<br />

• Other MPIs can use the following environment variables that are propagated<br />

across all processes. This process is MPI library specific but samples on<br />

how to do this for OpenMPI and MVAPICH2 are listed in the “Introduction”<br />

on page 6-1.<br />

IPATH_SL=SL # Service Level to Use 0-15<br />

<br />

PSM_PKEY=Pkey # Pkey to use<br />

6-2 D000046-005 B

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

Saved successfully!

Ooh no, something went wrong!