Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MPIPreferences subpackage to select binary #541

Merged
merged 54 commits into from
Apr 13, 2022
Merged

Conversation

simonbyrne
Copy link
Member

Based on #528 and #529.

@simonbyrne
Copy link
Member Author

Note that the spurious tests are passing due to JuliaLang/Pkg.jl#2920

@simonbyrne
Copy link
Member Author

@vchuravy @staticfloat: until JuliaLang/Pkg.jl#2920 makes it into a new release, is there a way to work around the problem for testing purposes?

@simonbyrne simonbyrne closed this Feb 18, 2022
@simonbyrne simonbyrne reopened this Feb 18, 2022
@simonbyrne simonbyrne marked this pull request as ready for review February 21, 2022 06:08
Copy link
Member

@giordano giordano left a comment

Choose a reason for hiding this comment

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

I think I missed how the constants have been generated. It'd be good to have a reproducible way to update them, if needed.

Also, the documentation should also be updated, right?

.gitignore Outdated Show resolved Hide resolved
src/MPI.jl Outdated Show resolved Hide resolved
src/consts/consts.jl Outdated Show resolved Hide resolved
if (m = match(r"CRAY MPICH version (\d+.\d+.\d+)", version_string)) !== nothing
version = VersionNumber(m.captures[1])
end
elseif startswith(version_string, "FUJITSU MPI")
Copy link
Member

Choose a reason for hiding this comment

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

Ok, this breaks the idea of #542 😄

lib/MPIPreferences/src/MPIPreferences.jl Outdated Show resolved Hide resolved
@vchuravy
Copy link
Member

makes it into a new release, is there a way to work around the problem for testing purposes?

Is
https://github.com/EnzymeAD/Enzyme.jl/blob/d774adc69a5c724246f9854b380761cdaba9d80c/test/runtests.jl#L1-L7 what you need?

@vchuravy
Copy link
Member

vchuravy commented Mar 4, 2022

@JuliaRegistrator register subdir=lib/MPIPreferences

@JuliaRegistrator
Copy link

Comments on pull requests will not trigger Registrator, as it is disabled. Please try commenting on a commit or issue.

src/MPI.jl Outdated Show resolved Hide resolved
src/consts/microsoftmpi.jl Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants