Loading...

Accelerated Networking with H-series VMs on Azure for older OS distributions

Accelerated Networking with H-series VMs on Azure for older OS distributions

The accelerated networking update for the HPC SKUs on Azure has caused problems for older OS distributions or any MPI versions that do not use the latest UCX. This is due to inconsistent naming for the IB devices. My recent patch to rdma-core can be used to provide consistent naming with udev rules. This following script can be used when building an image:

 

yum install -y cmake libnl3-devel
git clone https://github.com/linux-rdma/rdma-core.git
cd rdma-core
bash build.sh
cp build/bin/rdma_rename /usr/lib/udev/
cat <<EOF >/etc/udev/rules.d/60-ib.rules
# Accelnet board
ACTION=="add", ATTR{board_id}=="MSF0010110035", SUBSYSTEM=="infiniband", PROGRAM="rdma_rename %k NAME_FIXED mlx5_an0"
# HBv2 board
ACTION=="add", ATTR{board_id}=="MT_0000000223", SUBSYSTEM=="infiniband", PROGRAM="rdma_rename %k NAME_FIXED mlx5_ib0"
# HC board
ACTION=="add", ATTR{board_id}=="MT_0000000010", SUBSYSTEM=="infiniband", PROGRAM="rdma_rename %k NAME_FIXED mlx5_ib0"
EOF

This will name the accelerated networking mlx5_an0 and the infiniband to mlx5_ib0. Now, you can use the older MPI/UCX versions by setting:

 

export UCX_NET_DEVICES=mlx5_ib0:1

The script includes rules that will work for HB, HC, HBv2 and NDv2.

Published on:

Learn more
Azure Global articles
Azure Global articles

Azure Global articles

Share post:

Related posts

Large-scale docking for drug design on Azure

“Only 10 total drugs in 46 years have been intentionally developed for childhood cancer and have reached FDA approval (reference).  Childhood ...

2 years ago

Migrating iSeries (AS/400) Legacy Applications to Azure with Infinite

The platform was first introduced as the AS/400 (Application System/400) on June 21, 1988 and later renamed to the eServer iSeries in 2000. Th...

6 years ago

Migrating iSeries (AS/400) Legacy Applications to Azure

The platform was first introduced as the AS/400 (Application System/400) on June 21, 1988 and later renamed to the eServer iSeries in 2000. Th...

6 years ago

Azure Machine Learning: Building Recommendation Systems

The Recommenders solution is being maintained by AzureCAT AI, the Azure Global Customer Engineering team. The key ongoing contributors/maintai...

6 years ago

Deploying NTT Data UniKix in Azure, Part 2 - Configure TPE and compile the ACCT Application

OverviewThis post continues the steps to deploy NTT Data UniKix on Azure. In Part 1, you deployed the preconfigured VM from Azure Marketplace....

6 years ago

Migrating AIX Workloads to Azure: Approaches and Best Practices

IntroductionMany customers would like to migrate their AIX (Advanced Interactive eXecutive) workloads to Linux in Azure to take advantage of t...

6 years ago

NEW WHITEPAPER: Best Practices for Running Applications on Azure Stack

This new whitepaper is written by AzureCAT Mahesh Kshirsagar of the Azure Global Customer Engineering (AGCE) team.     This highly ...

6 years ago

NEW WHITEPAPER: Stromasys legacy server emulation on Azure

Check out this new Whitepaper: Stromasys legacy server emulation on Azure: Running applications designed for SPARC, Alpha, VAX, PDP-11, and H...

6 years ago

NEW WHITEPAPER: Build Serverless Apps with Event Grid and Azure Functions

Check out our new whitepaper: Create event-driven serverless apps with Azure Event Grid and Azure Functions You can build and run serverless...

6 years ago

Micro Focus Enterprise Server 5.0 Quick Start Template on Azure

One of the largest mainframe rehosting platforms is now available in the Azure Marketplace with an easy-to-deploy quick start template. Micro ...

6 years ago
Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!
* Yes, I agree to the privacy policy