# Discover the HPC fabric partition key instead of copying an MPI example value

> Which partition key should an MPI job use after deployment into a different Azure HPC tenant boundary?

- Canonical URL: https://update.dsesecurity.com/updates/dse-20260909-083-discover-the-hpc-fabric-partition-key-instead-of-copying-an-mpi-example-value/
- Publisher: Detection Systems & Engineering (DSE Security)
- Author: DSE Security Editorial Team
- Published: 2026-09-10T00:30:33+00:00
- Modified: 2026-09-10T00:35:08+00:00
- Last reviewed by DSE: 2026-09-09
- Resource type: Guide
- DSE priority: Information
- Topics: IT, Networks & Infrastructure
- Reading time: 2 minutes

## What you need to know

Which partition key should an MPI job use after deployment into a different Azure HPC tenant boundary?

## Potentially affected

Azure SR-IOV-enabled HPC deployments using an MPI library that requires an explicit InfiniBand partition key.

## DSE recommendation

Discover the deployed tenant's partition key and record its source instead of retaining the sample constant.

## Article

## Source facts

Microsoft notes that some MPI libraries on SR-IOV-enabled VMs require partition-key configuration. Its discovery procedure reads two fabric port key entries and selects the larger value as the tenant key. That value remains stable while the availability set or scale set exists, including node additions and removals; a new tenant receives different keys. The documented snippets are examples, not current-version mandates. [Microsoft Learn](https://learn.microsoft.com/en-us/azure/virtual-machines/setup-mpi).

## Applicability

Use this review when the selected MPI library needs a partition key. Confirm the runtime, fabric interface name, and actual deployment boundary before adapting the discovery procedure. Keep this investigation separate from whether the nodes were placed together and have supported InfiniBand drivers.

## DSE recommendation

Discover the deployed tenant’s partition key and record its source instead of retaining the sample constant. Ask the HPC owner to distinguish a node replacement within the same boundary from rebuilding the workload in a new one. Include rediscovery in the latter handoff and review the runtime’s specific way of accepting the value. Do not apply unrelated historical package or SSH settings merely because they share the example page.

## Verification

Compare the configured runtime value with the discovered entries on approved test nodes. Execute a bounded communication test using the intended library, retaining runtime and deployment identifiers with the outcome. Recheck the value after a deployment-boundary replacement, while avoiding unnecessary changes for an ordinary node addition. Preserve enough evidence to separate an incorrect partition selection from placement, driver, or application failures.

## Official references

[Microsoft Learn: Set up MPI for HPC](https://learn.microsoft.com/en-us/azure/virtual-machines/setup-mpi). Source reviewed September 9, 2026.

## Primary reference

- Name: Set up Message Passing Interface (MPI) for HPC - Azure Virtual Machines - Azure Virtual Machines | Microsoft Learn
- Authority: Microsoft Learn
- URL: https://learn.microsoft.com/en-us/azure/virtual-machines/setup-mpi
- Source publication date: Not stated by the source

## Citation and use

Preferred citation: “Discover the HPC fabric partition key instead of copying an MPI example value,” DSE Security, https://update.dsesecurity.com/updates/dse-20260909-083-discover-the-hpc-fabric-partition-key-instead-of-copying-an-mpi-example-value/
Publishing principles: https://update.dsesecurity.com/updates/dse-updates-editorial-methodology/
Usage and citation policy: https://update.dsesecurity.com/usage/
Copyright © 2026 Detection Systems & Engineering. All rights reserved.
