Skip to content

Commit 77b935c

Browse files
Keluaagiordano
andauthored
Detect MVAPICH 3 (#810)
* Detect MVAPICH 3 * [CI] Run tests with MVAPICH 3.0b * [CI] Set `MVP_ENABLE_AFFINITY` for MVAPICH v3 job * [CI] Fix version of MVAPICH v3 job --------- Co-authored-by: Mosè Giordano <[email protected]> Co-authored-by: Mosè Giordano <[email protected]>
1 parent 4ae3df3 commit 77b935c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/UnitTests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,8 @@ jobs:
523523
include:
524524
- container: ghcr.io/juliaparallel/github-actions-buildcache:mvapich2-jq
525525
name: "MVAPICH 2.3.7"
526+
- container: ghcr.io/juliaparallel/github-actions-buildcache:mvapich3-jq
527+
name: "MVAPICH 3.0"
526528

527529
fail-fast: false
528530

@@ -534,6 +536,9 @@ jobs:
534536
JULIA_MPI_TEST_BINARY: system
535537
JULIA_MPI_TEST_EXCLUDE: test_spawn.jl
536538
MV2_SMP_USE_CMA: 0
539+
# Work around issue with affinity not set. Ref:
540+
# https://github.com/JuliaParallel/MPI.jl/pull/810#issuecomment-1920255386
541+
MVP_ENABLE_AFFINITY: 0
537542

538543
steps:
539544
- name: Checkout

lib/MPIPreferences/src/MPIPreferences.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ function identify_implementation_version_abi(version_string::AbstractString)
297297
end
298298
end
299299

300-
elseif startswith(version_string, "MVAPICH2")
300+
elseif startswith(version_string, "MVAPICH")
301301
impl = "MVAPICH"
302302
# "MVAPICH2 Version :\t%s\n")
303303
if (m = match(r"^MVAPICH2? Version\s*:\t(\S*)\n", version_string)) !== nothing

0 commit comments

Comments
 (0)