Skip to content

Commit cac503e

Browse files
committed
CI: Avoid unsupported UCX transport on GitHub runners
Force NVHPC's HPC-X Open MPI to use the ob1 PML because UCX cannot reliably initialise the Azure MANA device used by GitHub-hosted runners.
1 parent 91f74bb commit cac503e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,11 @@ jobs:
223223
# Add mpirun to path for testing
224224
[ -z ${MPI_HOME+x} ] || echo "${MPI_HOME}/bin" >> $GITHUB_PATH
225225
226+
# HPC-X UCX cannot initialise the Azure MANA device on some GitHub runners.
227+
if [[ "${{ matrix.compiler }}" == nvhpc-* ]]; then
228+
echo "OMPI_MCA_pml=ob1" >> $GITHUB_ENV
229+
fi
230+
226231
- name: Install HDF5
227232
if: contains( matrix.compiler, 'intel' ) || contains(matrix.compiler, 'nvhpc') || contains(matrix.compiler, 'flang')
228233
run: |

0 commit comments

Comments
 (0)