Skip to content

Commit

Permalink
Detect MVAPICH 3 (#810)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
3 people authored Apr 23, 2024
1 parent 4ae3df3 commit 77b935c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/UnitTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,8 @@ jobs:
include:
- container: ghcr.io/juliaparallel/github-actions-buildcache:mvapich2-jq
name: "MVAPICH 2.3.7"
- container: ghcr.io/juliaparallel/github-actions-buildcache:mvapich3-jq
name: "MVAPICH 3.0"

fail-fast: false

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

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion lib/MPIPreferences/src/MPIPreferences.jl
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ function identify_implementation_version_abi(version_string::AbstractString)
end
end

elseif startswith(version_string, "MVAPICH2")
elseif startswith(version_string, "MVAPICH")
impl = "MVAPICH"
# "MVAPICH2 Version :\t%s\n")
if (m = match(r"^MVAPICH2? Version\s*:\t(\S*)\n", version_string)) !== nothing
Expand Down

0 comments on commit 77b935c

Please sign in to comment.