Skip to content

Commit

Permalink
Rename ABI from MPIwrapper to MPItrampoline (#549)
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy authored Apr 14, 2022
1 parent 890ee6e commit 3b8963c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/UnitTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ jobs:
runs-on: ${{ matrix.os }}
env:
JULIA_MPI_TEST_BINARY: MPItrampoline_jll
JULIA_MPI_TEST_ABI: MPIwrapper
JULIA_MPI_TEST_ABI: MPItrampoline

steps:
- name: Checkout
Expand Down Expand Up @@ -407,7 +407,7 @@ jobs:

env:
JULIA_MPI_TEST_BINARY: MPItrampoline_jll
JULIA_MPI_TEST_ABI: MPIwrapper
JULIA_MPI_TEST_ABI: MPItrampoline
MPITRAMPOLINE_LIB: /usr/local/lib/libmpiwrapper.so
MPITRAMPOLINE_MPIEXEC: /usr/bin/mpiexec
OMPI_MCA_btl_base_warn_component_unused: 0
Expand Down
4 changes: 2 additions & 2 deletions lib/MPIPreferences/src/MPIPreferences.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ elseif binary == "MPICH_jll"
elseif binary == "OpenMPI_jll"
"OpenMPI"
elseif binary == "MPItrampoline_jll"
"MPIwrapper"
"MPItrampoline"
else
error("Unknown binary: $binary")
end
Expand Down Expand Up @@ -168,7 +168,7 @@ function identify_abi(libmpi)
elseif impl == "MicrosoftMPI"
abi = "MicrosoftMPI"
elseif impl == "MPIwrapper"
abi = "MPIwrapper"
abi = "MPItrampoline"
else
abi = "unknown"
end
Expand Down
4 changes: 2 additions & 2 deletions src/consts/consts.jl
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ elseif MPIPreferences.abi == "OpenMPI"
include("openmpi.jl")
elseif MPIPreferences.abi == "MicrosoftMPI"
include("microsoftmpi.jl")
elseif MPIPreferences.abi == "MPIwrapper"
include("mpiwrapper.jl")
elseif MPIPreferences.abi == "MPItrampoline"
include("mpitrampoline.jl")
else
error("Unknown MPI ABI $(MPIPreferences.abi)")
end
Expand Down
File renamed without changes.

2 comments on commit 3b8963c

@vchuravy
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register subdir="lib/MPIPreferences"

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request updated: JuliaRegistries/General/57964

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a MPIPreferences-v0.1.0 -m "<description of version>" 3b8963c7fe9a04c12aaf1725aca8cb46730d3c5c
git push origin MPIPreferences-v0.1.0

Please sign in to comment.