Skip to content

Commit 3eaf490

Browse files
committed
update per feedback
1 parent 0960aeb commit 3eaf490

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

articles/virtual-machines/workloads/hpc/enable-infiniband.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,13 @@ ms.author: amverma
1919

2020
The Azure NC, ND, and H-series of VMs are all backed by a dedicated InfiniBand network. All RDMA-enabled sizes are capable of leveraging that network using Intel MPI. Some VM series have expanded support for all MPI implementations and RDMA verbs through SR-IOV. RDMA capable VMs include [GPU optimized](https://docs.microsoft.com/azure/virtual-machines/linux/sizes-gpu) and [High-performance compute (HPC)](https://docs.microsoft.com/azure/virtual-machines/linux/sizes-hpc) VMs.
2121

22+
## Choose your installation path
2223

2324
To get started, the simplest option is to use a platform image pre-configured for InfiniBand, where available:
2425

25-
- HPC IaaS VMs – To get started with IaaS VMs for HPC, the simplest solution is to use the [CentOS-HPC 7.6 VM OS image](https://techcommunity.microsoft.com/t5/Azure-Compute/CentOS-HPC-VM-Image-for-SR-IOV-enabled-Azure-HPC-VMs/ba-p/665557), which is already configured with InfiniBand. Since this image is already configured with InfiniBand, you don't have to configure it manually.
26+
- **HPC IaaS VMs** – To get started with IaaS VMs for HPC, the simplest solution is to use the [CentOS-HPC 7.6 VM OS image](https://techcommunity.microsoft.com/t5/Azure-Compute/CentOS-HPC-VM-Image-for-SR-IOV-enabled-Azure-HPC-VMs/ba-p/665557), which is already configured with InfiniBand. Since this image is already configured with InfiniBand, you don't have to configure it manually. For compatible Windows versions, see [Windows RDMA-capable instances](https://docs.microsoft.com/azure/virtual-machines/windows/sizes-hpc#rdma-capable-instances).
2627

27-
- GPU IaaS VMs – No platform images are currently pre-configured for GPU optimized VMs. See [Manually install Mellanox OFED](#manually-install-mellanox-ofed) to learn how how to configure your image with InfiniBand.
28+
- **GPU IaaS VMs** – No platform images are currently pre-configured for GPU optimized VMs, except for [CentOS-HPC 7.6 VM OS image](https://techcommunity.microsoft.com/t5/Azure-Compute/CentOS-HPC-VM-Image-for-SR-IOV-enabled-Azure-HPC-VMs/ba-p/665557). To configure a custom image with InfiniBand, see [Manually install Mellanox OFED](#manually-install-mellanox-ofed).
2829

2930
If you're using a custom VM image or a [GPU optimized](https://docs.microsoft.com/azure/virtual-machines/linux/sizes-gpu) VM, you should configure it with InfiniBand by adding the InfiniBandDriverLinux or InfiniBandDriverWindows VM extension to your deployment. Learn how to use these VM extensions with [Linux](https://docs.microsoft.com/azure/virtual-machines/linux/sizes-hpc#rdma-capable-instances) and [Windows](https://docs.microsoft.com/azure/virtual-machines/windows/sizes-hpc#rdma-capable-instances).
3031

@@ -37,12 +38,15 @@ For more information on the supported distributions for the Mellanox driver, see
3738
See the following example for how to configure InfiniBand on Linux:
3839

3940
```bash
40-
sudo yum install -y kernel-devel python-devel
41-
sudo yum install -y redhat-rpm-config rpm-build gcc-gfortran gcc-c++
42-
sudo yum install -y gtk2 atk cairo tcl tk createrepo
43-
wget <Link to driver> #Example: https://www.mellanox.com/downloads/ofed/MLNX_OFED-4.7-1.0.0.1/MLNX_OFED_LINUX-4.7-1.0.0.1-rhel7.6-x86_64.tgz
44-
tar zxvf <.tgx file> #Example: MLNX_OFED_LINUX-4.7-1.0.0.1-rhel7.6-x86_64.tgz
45-
sudo <Script> --add-kernel-support #Example script: ./MLNX_OFED_LINUX-4.5-1.0.1.0-rhel7.6-x86_64/mlnxofedinstall
41+
# Modify the variable to desired Mellanox OFED version
42+
MOFED_VERSION=#4.7-1.0.0.1
43+
# Modify the variable to desired OS
44+
MOFED_OS=#rhel7.6
45+
pushd /tmp
46+
curl -fSsL https://www.mellanox.com/downloads/ofed/MLNX_OFED-${MOFED_VERSION}/MLNX_OFED_LINUX-${MOFED_VERSION}-${MOFED_OS}-x86_64.tgz | tar -zxpf -
47+
cd MLNX_OFED_LINUX-*
48+
sudo ./mlnxofedinstall
49+
popd
4650
```
4751

4852
For Windows, download and install the [Mellanox OFED for Windows drivers](https://www.mellanox.com/page/products_dyn?product_family=32&menu_section=34).

0 commit comments

Comments
 (0)