Skip to content

Commit 5eb7cc0

Browse files
author
Thierry RAMORASOAVINA
committed
Use the OpenMPI 5+ specific env variables for oversubscribing
1 parent a3f47fc commit 5eb7cc0

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/pip.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,10 @@ jobs:
103103
KHIOPS_PROC_NUMBER: 4
104104
# Oversubscribe for MPI 4.x
105105
rmaps_base_oversubscribe: true
106-
# Oversubscribe for MPI > 4.x
106+
# Oversubscribe for MPI < 5
107107
OMPI_MCA_rmaps_base_oversubscribe: true
108+
# Oversubscribe for MPI >= 5
109+
PRTE_MCA_rmaps_default_mapping_policy: :oversubscribe
108110
run: |-
109111
# Make sure MPI support is not loaded through env modules
110112
# Note: As the Docker container's shell is non-interactive, environment

.github/workflows/tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,8 +377,10 @@ jobs:
377377
KHIOPS_SAMPLES_DIR: ${{ github.workspace }}/khiops-samples
378378
# Oversubscribe for MPI 4.x
379379
rmaps_base_oversubscribe: true
380-
# Oversubscribe for MPI > 4.x
380+
# Oversubscribe for MPI < 5
381381
OMPI_MCA_rmaps_base_oversubscribe: true
382+
# Oversubscribe for MPI >= 5
383+
PRTE_MCA_rmaps_default_mapping_policy: :oversubscribe
382384
run: |-
383385
# Reset the default 'exit-on-error' mode of the bash shell in Github actions
384386
# so that the return code can be evaluated if needed

0 commit comments

Comments
 (0)