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

fix at-everywhere using in Distributed stdlib #30804

Merged
merged 1 commit into from
Jan 23, 2019
Merged

Conversation

JeffBezanson
Copy link
Sponsor Member

Distributed does a transformation of @everywhere using X to try to do the importing locally first, to avoid precompilation races. However this has been broken since 0.7 due to a changed AST representation. This should fix it.

@JeffBezanson JeffBezanson added domain:parallelism Parallel or distributed computation kind:bugfix This change fixes an existing bug stdlib Julia's standard library backport pending 1.0 labels Jan 22, 2019
@Keno
Copy link
Member

Keno commented Jan 22, 2019

However this has been broken since 0.7 due to a changed AST representation.

Why didn't the tests catch this?

@JeffBezanson
Copy link
Sponsor Member Author

We don't have a test that this feature works as intended. I suppose it's tricky to test --- we need to somehow check that no precompilation was attempted on processors other than 1.

@JeffBezanson JeffBezanson merged commit 17c4b02 into master Jan 23, 2019
@JeffBezanson JeffBezanson deleted the jb/extractimports branch January 23, 2019 21:38
@StefanKarpinski StefanKarpinski added status:triage This should be discussed on a triage call backport 1.1 and removed backport 1.0 labels Jan 31, 2019
@JeffBezanson JeffBezanson removed status:triage This should be discussed on a triage call triage backport pending 1.0 labels Jan 31, 2019
KristofferC pushed a commit that referenced this pull request Feb 4, 2019
@KristofferC KristofferC mentioned this pull request Feb 4, 2019
39 tasks
KristofferC pushed a commit that referenced this pull request Feb 11, 2019
KristofferC pushed a commit that referenced this pull request Feb 11, 2019
@KristofferC KristofferC mentioned this pull request Feb 11, 2019
39 tasks
KristofferC pushed a commit that referenced this pull request Apr 20, 2019
KristofferC pushed a commit that referenced this pull request Feb 20, 2020
vchuravy pushed a commit to JuliaLang/Distributed.jl that referenced this pull request Oct 6, 2023
Keno pushed a commit that referenced this pull request Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:parallelism Parallel or distributed computation kind:bugfix This change fixes an existing bug stdlib Julia's standard library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants