HPMC User Guide v 1.00
© 2026 Bassem W. Jamaleddine


5-1

   Configuring Infiniband for RDMA


The QLogic switch, shown in Figure 5.1.1, is combined with HCA communication adapters to connect HPMCs as compute nodes in high-performance parallel architectures. That is, when the HPMC is equipped with an HCA, it can be interconnected to other HPMCs over the switch to participate as a computing node to run programs in parallel.
Previously, we used OpenMP to run programs in parallel withinone single HPMC node, sharing memory while multi-threading via the HPMC's CPU cores or its MIC's cores. OpenMP is limited to one single node, whether we run the program locally on the HPMC or on its MIC, sharing the memory on either device.
To run programs in parallel on the HPMC and on its MIC in parallel, we need to use MPI (Message Passing Interface). To run programs in parallel on multiple HPMC nodes connected by a network, we need to use MPI.

To add the InfiniBand verbs to the HPMC, you need to install and configure the folowing packages. The OFED packages required are:
ofed-scripts 
rdma-core 
rdma-core-devel 
libibverbs 
libibverbs-utils 
librdmacm 
librdmacm-utils 
libibumad 
ibacm 
iwpmd 
srp_daemon 
mstflint 
ofed-docs 
compat-rdma 



full view

Image File

 Fig. 5.1.1   [The switch]
HPMC 2026 by Bassem Jamaleddine


full view

Image File

 Fig. 5.1.2   [Connecting hpmc7 to the switch via its HCA]
HPMC 2026 by Bassem Jamaleddine






■ Probe The Infiniband HCA Cards


# lspci -nn | grep HCA

03:03 root@HPMC9: /mm03fs/MPI #  lspci -nn %%%pipe grep HCA
5e:00.0 InfiniBand [0c06]: QLogic Corp. IBA7322 QDR InfiniBand HCA [1077:7322] (rev 02)
5f:00.0 InfiniBand [0c06]: QLogic Corp. IBA7322 QDR InfiniBand HCA [1077:7322] (rev 02)
This section is not included in the SAMPLE PREVIEW.

 

■ Adding the Infiniband to the Network Services


Edit the ifcfg-ib0

#  vi /etc/sysconfig/network-scripts/ifcfg-ib0

This section is not included in the SAMPLE PREVIEW.


 

■ Check Infiniband Modules and Services

Check the Infiniband related modules:

#  lsmod | grep ib

This section is not included in the SAMPLE PREVIEW.



 

■ Query the Infiniband Connectivity


The command ibnodes displays all InfiniBand nodes (Channel Adapters/CAs and switches) in a fabric topology.

#  ibnodes

03:14 root@HPMC9: /mm03fs/MPI #  ibnodes
Ca      : 0x00117500006ef940 ports 1 "HPMC7 qib0"
Ca      : 0x0011750000794fd8 ports 1 "HPMC9 qib1"
Ca      : 0x00117500006eef26 ports 1 "HPMC9 qib0"
Switch  : 0x00066a00e3004e75 ports 36 "QLogic 12200-18 GUID=0x00066a00e3004e75" base port 0 lid 4 lmc 0


The command ibv_devices lists all Remote Direct Memory Access (RDMA) and InfiniBand devices available for use from userspace. It queries and prints local RDMA/InfiniBand device names and their node GUIDs (Globally Unique Identifiers).
This section is not included in the SAMPLE PREVIEW.

 

■ Query the Infiniband Devices Info


Query the RDMA devices available on device qib0.

#  ibv_devinfo -d qib0 -v

This section is not included in the SAMPLE PREVIEW.

 

■ Display the Network Interface Parameter


Your HPMC network interface reflects the settings of the bridge, the MIC, and the infiniband.
This section is not included in the SAMPLE PREVIEW.